diff --git a/gtGprotos/GlobalProto.proto b/gtGprotos/GlobalProto.proto new file mode 100644 index 0000000..b94d3e9 --- /dev/null +++ b/gtGprotos/GlobalProto.proto @@ -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; + } + + + + + + \ No newline at end of file