mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 15:52:27 +08:00
服务器玩家在线信息同步
This commit is contained in:
@@ -21,6 +21,8 @@ service Discovery {
|
||||
rpc GetAllGateServerInfoList (NullMsg) returns (GateServerInfoList) {}
|
||||
// 获取主游戏服务器的appid
|
||||
rpc GetMainGameServerAppId (NullMsg) returns (GetMainGameServerAppIdRsp) {}
|
||||
// 获取全服玩家GS在线列表
|
||||
rpc GetGlobalGsOnlineMap (NullMsg) returns (GetGlobalGsOnlineMapRsp) {}
|
||||
}
|
||||
|
||||
message NullMsg {
|
||||
@@ -84,3 +86,7 @@ message GateServerInfo {
|
||||
message GateServerInfoList {
|
||||
repeated GateServerInfo gate_server_info_list = 1;
|
||||
}
|
||||
|
||||
message GetGlobalGsOnlineMapRsp {
|
||||
map<uint32, string> GlobalGsOnlineMap = 1;
|
||||
}
|
||||
|
||||
@@ -5,4 +5,5 @@ const (
|
||||
GS = "GS"
|
||||
ANTICHEAT = "ANTICHEAT"
|
||||
PATHFINDING = "PATHFINDING"
|
||||
NODE = "NODE"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user