将游戏服务器uid与sdk分离

This commit is contained in:
flswld committed 2023-08-10 18:59:43 +08:00
1 parent 6d7e4867f5
commit ddb55671b5
31 files changed
+457 -296

No files matched your search

+6
View File
@@ -32,6 +32,8 @@ service Discovery {
rpc GetWhiteList (NullMsg) returns (GetWhiteListRsp) {}
// 修改停服维护白名单
rpc SetWhiteList (SetWhiteListReq) returns (NullMsg) {}
// 获取下一个自增uid
rpc GetNextUid (NullMsg) returns (GetNextUidRsp) {}
}
message NullMsg {
@@ -118,3 +120,7 @@ message SetWhiteListReq {
bool is_add = 1;
string ip_addr = 2;
}
message GetNextUidRsp {
uint32 uid = 1;
}