miduo_client/Assets/ManagedResources/~Lua/Message/gtGprotos/GlobalProto.proto

23 lines
336 B
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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
}