Skip to content

Commit 69aea54

Browse files
committed
feat(Utility): 添加游戏服务相关的常量名称
添加Game、Im、Friend和Room服务名称常量,用于服务发现中心识别
1 parent 5870fb0 commit 69aea54

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

GameFrameX.Utility/Setting/GlobalConst.cs

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,31 @@ public static class GlobalConst
171171
#endregion
172172

173173
/// <summary>
174-
/// 服务发现中心服务名称
174+
/// 服务发现中心 服务名称
175175
/// </summary>
176176
public const string DiscoveryCenterName = "DiscoveryCenter";
177177

178+
/// <summary>
179+
/// 游戏 服务名称
180+
/// </summary>
181+
public const string GameName = "Game";
182+
183+
184+
/// <summary>
185+
/// 聊天 服务名称
186+
/// </summary>
187+
public const string ImName = "Im";
188+
189+
/// <summary>
190+
/// 好友 服务名称
191+
/// </summary>
192+
public const string FriendName = "Friend";
193+
194+
/// <summary>
195+
/// 房间 服务名称
196+
/// </summary>
197+
public const string RoomName = "Room";
198+
178199
#region HTTP
179200

180201
/// <summary>

0 commit comments

Comments
 (0)