ProtoTools/proto/external-common.proto
2020-10-22 15:52:53 +08:00

20 lines
783 B
Protocol Buffer
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.junyou.common.protocol;
import "as3options.proto";
option (as3.f_package) = "huaqiangu.login";
message ServerInfoVO{
option (as3.m_package) = "huaqiangu.login";
required int64 serverOpenTime=1;//服务器开服时间
optional int64 serverTime=2;//服务器当前时间
optional string serverVersion=3;//服务器版本
repeated int64 serverMergeTime=4;//服务器合服时间
repeated int32 serverOffsetTime=5;//服务器时区偏移量(单位:分钟)
}
message ChooseRoleVO{
option (as3.m_package) = "huaqiangu.login";
required int32 configId=1;//配置id
required int64 guid=2;//唯一标识
required string name=3;//名字
required int32 level=4;//等级
required int32 roleType=5;//角色类型0普通用户,1是GM2新手指导员,3是VIP专员
}