23 lines
336 B
Protocol Buffer
23 lines
336 B
Protocol Buffer
|
package 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;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|