跨服服务器通信初版完成
parent
a18412872a
commit
e691ce2f87
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue