sk-client/proto/protos/gtGprotos/GlobalProto.proto

24 lines
449 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 com.ljsd.jieling.protocols.global;
option optimize_for = SPEED;
// request 编号需要小于 response 编号
message GetWorldServerRequest{
optional int32 serverID = 1;
optional int32 worldTypeID = 2; //跨服类型Id,1=跨服竞技场2=跨服公会战
}
message GetWorldServerResponse{
optional string ip = 1;
optional string port = 2;
optional int32 group =3;//分组 全服唯一worldId*10000+index
}