将游戏服务器uid与sdk分离
This commit is contained in:
1 parent
6d7e4867f5
commit
ddb55671b5
31 files changed
+457
-296
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user