跨服服务器通信初版完成

master_huanxiang
zhangshanxue 2020-11-20 15:47:33 +08:00
parent a18412872a
commit e691ce2f87
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
package com.rpc.global;
option optimize_for = SPEED;
// request response
message getWorldServerRequest{
optional int32 serverID = 1;
}
message getWorldServerResponse{
optional string ip = 1;
optional string port = 2;
optional int32 group =3;// worldId*10000+index
}