Documentation ¶
Overview ¶
Package GxProto is a generated protocol buffer package.
It is generated from these files:
GxProto.proto
It has these top-level messages:
PlayerRaw GameSrvInfo LoginRspInfo RoleCommonInfo RequestInfo LoginServerReq LoginServerRsp GetRoleListReq GetRoleListRsp SelectRoleReq SelectRoleRsp CreateRoleReq CreateRoleRsp ServerConnectGateReq
Index ¶
- Variables
- type CreateRoleReq
- type CreateRoleRsp
- type GameRunType
- type GameSrvInfo
- type GetRoleListReq
- type GetRoleListRsp
- type LoginRspInfo
- func (m *LoginRspInfo) GetDownload() string
- func (m *LoginRspInfo) GetHost() string
- func (m *LoginRspInfo) GetPort() uint32
- func (m *LoginRspInfo) GetSrvs() []*GameSrvInfo
- func (m *LoginRspInfo) GetToken() string
- func (m *LoginRspInfo) GetVersion1() string
- func (m *LoginRspInfo) GetVersion2() string
- func (m *LoginRspInfo) GetVersion3() string
- func (*LoginRspInfo) ProtoMessage()
- func (m *LoginRspInfo) Reset()
- func (m *LoginRspInfo) String() string
- type LoginServerReq
- type LoginServerRsp
- type PlatformType
- type PlayerRaw
- type RequestInfo
- type RoleCommonInfo
- func (m *RoleCommonInfo) GetCrystal() uint64
- func (m *RoleCommonInfo) GetExpr() uint64
- func (m *RoleCommonInfo) GetGodValue() uint64
- func (m *RoleCommonInfo) GetGold() uint64
- func (m *RoleCommonInfo) GetId() uint32
- func (m *RoleCommonInfo) GetLevel() uint32
- func (m *RoleCommonInfo) GetName() string
- func (m *RoleCommonInfo) GetPrestige() uint64
- func (m *RoleCommonInfo) GetVocationId() uint32
- func (*RoleCommonInfo) ProtoMessage()
- func (m *RoleCommonInfo) Reset()
- func (m *RoleCommonInfo) String() string
- type SelectRoleReq
- type SelectRoleRsp
- type ServerConnectGateReq
- type Sex
- type TerminalType
Constants ¶
This section is empty.
Variables ¶
View Source
var GameRunType_name = map[int32]string{
0: "GC_GR_TEST",
1: "GC_GR_91",
2: "GC_GR_APPALE",
3: "GC_GR_CW",
4: "GC_GR_EXT1",
5: "GC_GR_EXT2",
6: "GC_GR_EXT3",
7: "GC_GR_EXT4",
8: "GC_GR_EXT5",
9: "GC_GR_EXT6",
}
View Source
var GameRunType_value = map[string]int32{
"GC_GR_TEST": 0,
"GC_GR_91": 1,
"GC_GR_APPALE": 2,
"GC_GR_CW": 3,
"GC_GR_EXT1": 4,
"GC_GR_EXT2": 5,
"GC_GR_EXT3": 6,
"GC_GR_EXT4": 7,
"GC_GR_EXT5": 8,
"GC_GR_EXT6": 9,
}
View Source
var PlatformType_name = map[int32]string{
0: "GC_PT_RAW_GAS",
1: "GC_PT_PP_ASSISTANT",
2: "GC_PT_KUAI_YONG",
3: "GC_PT_91_ASSISTANT",
4: "GC_PT_TONGBUTUI",
5: "GC_PT_ITOOLS",
6: "GC_PT_06",
7: "GC_PT_07",
8: "GC_PT_08",
9: "GC_PT_09",
10: "GC_PT_0A",
11: "GC_PT_0B",
12: "GC_PT_0C",
13: "GC_PT_0D",
14: "GC_PT_0E",
15: "GC_PT_0F",
16: "GC_PT_10",
17: "GC_PT_11",
18: "GC_PT_12",
19: "GC_PT_13",
20: "GC_PT_14",
21: "GC_PT_15",
22: "GC_PT_16",
23: "GC_PT_17",
24: "GC_PT_18",
25: "GC_PT_19",
26: "GC_PT_1A",
27: "GC_PT_1B",
28: "GC_PT_1C",
29: "GC_PT_1D",
30: "GC_PT_1E",
31: "GC_PT_1F",
32: "GC_PT_20",
33: "GC_PT_21",
34: "GC_PT_22",
35: "GC_PT_23",
36: "GC_PT_24",
37: "GC_PT_25",
38: "GC_PT_26",
39: "GC_PT_27",
40: "GC_PT_28",
41: "GC_PT_29",
42: "GC_PT_2A",
43: "GC_PT_2B",
44: "GC_PT_2C",
45: "GC_PT_2D",
46: "GC_PT_2E",
47: "GC_PT_2F",
}
View Source
var PlatformType_value = map[string]int32{
"GC_PT_RAW_GAS": 0,
"GC_PT_PP_ASSISTANT": 1,
"GC_PT_KUAI_YONG": 2,
"GC_PT_91_ASSISTANT": 3,
"GC_PT_TONGBUTUI": 4,
"GC_PT_ITOOLS": 5,
"GC_PT_06": 6,
"GC_PT_07": 7,
"GC_PT_08": 8,
"GC_PT_09": 9,
"GC_PT_0A": 10,
"GC_PT_0B": 11,
"GC_PT_0C": 12,
"GC_PT_0D": 13,
"GC_PT_0E": 14,
"GC_PT_0F": 15,
"GC_PT_10": 16,
"GC_PT_11": 17,
"GC_PT_12": 18,
"GC_PT_13": 19,
"GC_PT_14": 20,
"GC_PT_15": 21,
"GC_PT_16": 22,
"GC_PT_17": 23,
"GC_PT_18": 24,
"GC_PT_19": 25,
"GC_PT_1A": 26,
"GC_PT_1B": 27,
"GC_PT_1C": 28,
"GC_PT_1D": 29,
"GC_PT_1E": 30,
"GC_PT_1F": 31,
"GC_PT_20": 32,
"GC_PT_21": 33,
"GC_PT_22": 34,
"GC_PT_23": 35,
"GC_PT_24": 36,
"GC_PT_25": 37,
"GC_PT_26": 38,
"GC_PT_27": 39,
"GC_PT_28": 40,
"GC_PT_29": 41,
"GC_PT_2A": 42,
"GC_PT_2B": 43,
"GC_PT_2C": 44,
"GC_PT_2D": 45,
"GC_PT_2E": 46,
"GC_PT_2F": 47,
}
View Source
var Sex_name = map[int32]string{
0: "GC_SEX_BOY",
1: "GC_SEX_GIRL",
}
View Source
var Sex_value = map[string]int32{
"GC_SEX_BOY": 0,
"GC_SEX_GIRL": 1,
}
View Source
var TerminalType_name = map[int32]string{
0: "GC_TT_IPHONE",
1: "GC_TT_IPAD",
2: "GC_TT_ANDROID",
3: "GC_TT_WP",
4: "GC_TT_PC",
}
View Source
var TerminalType_value = map[string]int32{
"GC_TT_IPHONE": 0,
"GC_TT_IPAD": 1,
"GC_TT_ANDROID": 2,
"GC_TT_WP": 3,
"GC_TT_PC": 4,
}
Functions ¶
This section is empty.
Types ¶
type CreateRoleReq ¶
type CreateRoleReq struct { Info *RequestInfo `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` VocationId *uint32 `protobuf:"varint,3,opt" json:"VocationId,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CreateRoleReq) GetInfo ¶
func (m *CreateRoleReq) GetInfo() *RequestInfo
func (*CreateRoleReq) GetName ¶
func (m *CreateRoleReq) GetName() string
func (*CreateRoleReq) GetVocationId ¶
func (m *CreateRoleReq) GetVocationId() uint32
func (*CreateRoleReq) ProtoMessage ¶
func (*CreateRoleReq) ProtoMessage()
func (*CreateRoleReq) Reset ¶
func (m *CreateRoleReq) Reset()
func (*CreateRoleReq) String ¶
func (m *CreateRoleReq) String() string
type CreateRoleRsp ¶
type CreateRoleRsp struct { Role *RoleCommonInfo `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CreateRoleRsp) GetRole ¶
func (m *CreateRoleRsp) GetRole() *RoleCommonInfo
func (*CreateRoleRsp) ProtoMessage ¶
func (*CreateRoleRsp) ProtoMessage()
func (*CreateRoleRsp) Reset ¶
func (m *CreateRoleRsp) Reset()
func (*CreateRoleRsp) String ¶
func (m *CreateRoleRsp) String() string
type GameRunType ¶
type GameRunType int32
运营版本.
const ( GameRunType_GC_GR_TEST GameRunType = 0 GameRunType_GC_GR_91 GameRunType = 1 GameRunType_GC_GR_APPALE GameRunType = 2 GameRunType_GC_GR_CW GameRunType = 3 GameRunType_GC_GR_EXT1 GameRunType = 4 GameRunType_GC_GR_EXT2 GameRunType = 5 GameRunType_GC_GR_EXT3 GameRunType = 6 GameRunType_GC_GR_EXT4 GameRunType = 7 GameRunType_GC_GR_EXT5 GameRunType = 8 GameRunType_GC_GR_EXT6 GameRunType = 9 )
func (GameRunType) Enum ¶
func (x GameRunType) Enum() *GameRunType
func (GameRunType) String ¶
func (x GameRunType) String() string
func (*GameRunType) UnmarshalJSON ¶
func (x *GameRunType) UnmarshalJSON(data []byte) error
type GameSrvInfo ¶
type GameSrvInfo struct { Index *uint32 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Status *uint32 `protobuf:"varint,3,opt,name=status" json:"status,omitempty"` Lastts *uint32 `protobuf:"varint,4,opt,name=lastts" json:"lastts,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GameSrvInfo) GetIndex ¶
func (m *GameSrvInfo) GetIndex() uint32
func (*GameSrvInfo) GetLastts ¶
func (m *GameSrvInfo) GetLastts() uint32
func (*GameSrvInfo) GetName ¶
func (m *GameSrvInfo) GetName() string
func (*GameSrvInfo) GetStatus ¶
func (m *GameSrvInfo) GetStatus() uint32
func (*GameSrvInfo) ProtoMessage ¶
func (*GameSrvInfo) ProtoMessage()
func (*GameSrvInfo) Reset ¶
func (m *GameSrvInfo) Reset()
func (*GameSrvInfo) String ¶
func (m *GameSrvInfo) String() string
type GetRoleListReq ¶
type GetRoleListReq struct { Info *RequestInfo `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"` ServerId *uint32 `protobuf:"varint,2,opt,name=serverId" json:"serverId,omitempty"` XXX_unrecognized []byte `json:"-"` }
gate
func (*GetRoleListReq) GetInfo ¶
func (m *GetRoleListReq) GetInfo() *RequestInfo
func (*GetRoleListReq) GetServerId ¶
func (m *GetRoleListReq) GetServerId() uint32
func (*GetRoleListReq) ProtoMessage ¶
func (*GetRoleListReq) ProtoMessage()
func (*GetRoleListReq) Reset ¶
func (m *GetRoleListReq) Reset()
func (*GetRoleListReq) String ¶
func (m *GetRoleListReq) String() string
type GetRoleListRsp ¶
type GetRoleListRsp struct { Roles []*RoleCommonInfo `protobuf:"bytes,1,rep,name=roles" json:"roles,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetRoleListRsp) GetRoles ¶
func (m *GetRoleListRsp) GetRoles() []*RoleCommonInfo
func (*GetRoleListRsp) ProtoMessage ¶
func (*GetRoleListRsp) ProtoMessage()
func (*GetRoleListRsp) Reset ¶
func (m *GetRoleListRsp) Reset()
func (*GetRoleListRsp) String ¶
func (m *GetRoleListRsp) String() string
type LoginRspInfo ¶
type LoginRspInfo struct { Token *string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` Host *string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"` Port *uint32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"` Srvs []*GameSrvInfo `protobuf:"bytes,4,rep,name=srvs" json:"srvs,omitempty"` Version1 *string `protobuf:"bytes,5,opt,name=version1" json:"version1,omitempty"` Version2 *string `protobuf:"bytes,6,opt,name=version2" json:"version2,omitempty"` Version3 *string `protobuf:"bytes,7,opt,name=version3" json:"version3,omitempty"` Download *string `protobuf:"bytes,8,opt,name=download" json:"download,omitempty"` XXX_unrecognized []byte `json:"-"` }
登录游戏相关数据.
func (*LoginRspInfo) GetDownload ¶
func (m *LoginRspInfo) GetDownload() string
func (*LoginRspInfo) GetHost ¶
func (m *LoginRspInfo) GetHost() string
func (*LoginRspInfo) GetPort ¶
func (m *LoginRspInfo) GetPort() uint32
func (*LoginRspInfo) GetSrvs ¶
func (m *LoginRspInfo) GetSrvs() []*GameSrvInfo
func (*LoginRspInfo) GetToken ¶
func (m *LoginRspInfo) GetToken() string
func (*LoginRspInfo) GetVersion1 ¶
func (m *LoginRspInfo) GetVersion1() string
func (*LoginRspInfo) GetVersion2 ¶
func (m *LoginRspInfo) GetVersion2() string
func (*LoginRspInfo) GetVersion3 ¶
func (m *LoginRspInfo) GetVersion3() string
func (*LoginRspInfo) ProtoMessage ¶
func (*LoginRspInfo) ProtoMessage()
func (*LoginRspInfo) Reset ¶
func (m *LoginRspInfo) Reset()
func (*LoginRspInfo) String ¶
func (m *LoginRspInfo) String() string
type LoginServerReq ¶
type LoginServerReq struct { Tt *TerminalType `protobuf:"varint,1,opt,name=tt,enum=TerminalType" json:"tt,omitempty"` Pt *PlatformType `protobuf:"varint,2,opt,name=pt,enum=PlatformType" json:"pt,omitempty"` Gr *GameRunType `protobuf:"varint,3,opt,name=gr,enum=GameRunType" json:"gr,omitempty"` Raw *PlayerRaw `protobuf:"bytes,4,opt,name=raw" json:"raw,omitempty"` XXX_unrecognized []byte `json:"-"` }
login 登陆帐号请求.
func (*LoginServerReq) GetGr ¶
func (m *LoginServerReq) GetGr() GameRunType
func (*LoginServerReq) GetPt ¶
func (m *LoginServerReq) GetPt() PlatformType
func (*LoginServerReq) GetRaw ¶
func (m *LoginServerReq) GetRaw() *PlayerRaw
func (*LoginServerReq) GetTt ¶
func (m *LoginServerReq) GetTt() TerminalType
func (*LoginServerReq) ProtoMessage ¶
func (*LoginServerReq) ProtoMessage()
func (*LoginServerReq) Reset ¶
func (m *LoginServerReq) Reset()
func (*LoginServerReq) String ¶
func (m *LoginServerReq) String() string
type LoginServerRsp ¶
type LoginServerRsp struct { Info *LoginRspInfo `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"` XXX_unrecognized []byte `json:"-"` }
登陆帐号响应
func (*LoginServerRsp) GetInfo ¶
func (m *LoginServerRsp) GetInfo() *LoginRspInfo
func (*LoginServerRsp) ProtoMessage ¶
func (*LoginServerRsp) ProtoMessage()
func (*LoginServerRsp) Reset ¶
func (m *LoginServerRsp) Reset()
func (*LoginServerRsp) String ¶
func (m *LoginServerRsp) String() string
type PlatformType ¶
type PlatformType int32
支持的接入平台类型
const ( PlatformType_GC_PT_RAW_GAS PlatformType = 0 PlatformType_GC_PT_PP_ASSISTANT PlatformType = 1 PlatformType_GC_PT_KUAI_YONG PlatformType = 2 PlatformType_GC_PT_91_ASSISTANT PlatformType = 3 PlatformType_GC_PT_TONGBUTUI PlatformType = 4 PlatformType_GC_PT_ITOOLS PlatformType = 5 PlatformType_GC_PT_06 PlatformType = 6 PlatformType_GC_PT_07 PlatformType = 7 PlatformType_GC_PT_08 PlatformType = 8 PlatformType_GC_PT_09 PlatformType = 9 PlatformType_GC_PT_0A PlatformType = 10 PlatformType_GC_PT_0B PlatformType = 11 PlatformType_GC_PT_0C PlatformType = 12 PlatformType_GC_PT_0D PlatformType = 13 PlatformType_GC_PT_0E PlatformType = 14 PlatformType_GC_PT_0F PlatformType = 15 PlatformType_GC_PT_10 PlatformType = 16 PlatformType_GC_PT_11 PlatformType = 17 PlatformType_GC_PT_12 PlatformType = 18 PlatformType_GC_PT_13 PlatformType = 19 PlatformType_GC_PT_14 PlatformType = 20 PlatformType_GC_PT_15 PlatformType = 21 PlatformType_GC_PT_16 PlatformType = 22 PlatformType_GC_PT_17 PlatformType = 23 PlatformType_GC_PT_18 PlatformType = 24 PlatformType_GC_PT_19 PlatformType = 25 PlatformType_GC_PT_1A PlatformType = 26 PlatformType_GC_PT_1B PlatformType = 27 PlatformType_GC_PT_1C PlatformType = 28 PlatformType_GC_PT_1D PlatformType = 29 PlatformType_GC_PT_1E PlatformType = 30 PlatformType_GC_PT_1F PlatformType = 31 PlatformType_GC_PT_20 PlatformType = 32 PlatformType_GC_PT_21 PlatformType = 33 PlatformType_GC_PT_22 PlatformType = 34 PlatformType_GC_PT_23 PlatformType = 35 PlatformType_GC_PT_24 PlatformType = 36 PlatformType_GC_PT_25 PlatformType = 37 PlatformType_GC_PT_26 PlatformType = 38 PlatformType_GC_PT_27 PlatformType = 39 PlatformType_GC_PT_28 PlatformType = 40 PlatformType_GC_PT_29 PlatformType = 41 PlatformType_GC_PT_2A PlatformType = 42 PlatformType_GC_PT_2B PlatformType = 43 PlatformType_GC_PT_2C PlatformType = 44 PlatformType_GC_PT_2D PlatformType = 45 PlatformType_GC_PT_2E PlatformType = 46 PlatformType_GC_PT_2F PlatformType = 47 )
func (PlatformType) Enum ¶
func (x PlatformType) Enum() *PlatformType
func (PlatformType) String ¶
func (x PlatformType) String() string
func (*PlatformType) UnmarshalJSON ¶
func (x *PlatformType) UnmarshalJSON(data []byte) error
type PlayerRaw ¶
type PlayerRaw struct { Username *string `protobuf:"bytes,1,opt,name=username" json:"username,omitempty"` Pwd *string `protobuf:"bytes,2,opt,name=pwd" json:"pwd,omitempty"` Email *string `protobuf:"bytes,3,opt,name=email" json:"email,omitempty"` XXX_unrecognized []byte `json:"-"` }
common
func (*PlayerRaw) GetUsername ¶
func (*PlayerRaw) ProtoMessage ¶
func (*PlayerRaw) ProtoMessage()
type RequestInfo ¶
type RequestInfo struct { Token *string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` XXX_unrecognized []byte `json:"-"` }
请求附带信息 掉线重连后可以设置token继续操作,token保存一个小时
func (*RequestInfo) GetToken ¶
func (m *RequestInfo) GetToken() string
func (*RequestInfo) ProtoMessage ¶
func (*RequestInfo) ProtoMessage()
func (*RequestInfo) Reset ¶
func (m *RequestInfo) Reset()
func (*RequestInfo) String ¶
func (m *RequestInfo) String() string
type RoleCommonInfo ¶
type RoleCommonInfo struct { Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` VocationId *uint32 `protobuf:"varint,3,opt,name=vocationId" json:"vocationId,omitempty"` Level *uint32 `protobuf:"varint,4,opt,name=level" json:"level,omitempty"` Expr *uint64 `protobuf:"varint,5,opt,name=expr" json:"expr,omitempty"` GodValue *uint64 `protobuf:"varint,6,opt,name=godValue" json:"godValue,omitempty"` Prestige *uint64 `protobuf:"varint,7,opt,name=prestige" json:"prestige,omitempty"` Gold *uint64 `protobuf:"varint,8,opt,name=gold" json:"gold,omitempty"` Crystal *uint64 `protobuf:"varint,9,opt,name=crystal" json:"crystal,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RoleCommonInfo) GetCrystal ¶
func (m *RoleCommonInfo) GetCrystal() uint64
func (*RoleCommonInfo) GetExpr ¶
func (m *RoleCommonInfo) GetExpr() uint64
func (*RoleCommonInfo) GetGodValue ¶
func (m *RoleCommonInfo) GetGodValue() uint64
func (*RoleCommonInfo) GetGold ¶
func (m *RoleCommonInfo) GetGold() uint64
func (*RoleCommonInfo) GetId ¶
func (m *RoleCommonInfo) GetId() uint32
func (*RoleCommonInfo) GetLevel ¶
func (m *RoleCommonInfo) GetLevel() uint32
func (*RoleCommonInfo) GetName ¶
func (m *RoleCommonInfo) GetName() string
func (*RoleCommonInfo) GetPrestige ¶
func (m *RoleCommonInfo) GetPrestige() uint64
func (*RoleCommonInfo) GetVocationId ¶
func (m *RoleCommonInfo) GetVocationId() uint32
func (*RoleCommonInfo) ProtoMessage ¶
func (*RoleCommonInfo) ProtoMessage()
func (*RoleCommonInfo) Reset ¶
func (m *RoleCommonInfo) Reset()
func (*RoleCommonInfo) String ¶
func (m *RoleCommonInfo) String() string
type SelectRoleReq ¶
type SelectRoleReq struct { Info *RequestInfo `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"` RoleId *uint32 `protobuf:"varint,2,opt,name=roleId" json:"roleId,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SelectRoleReq) GetInfo ¶
func (m *SelectRoleReq) GetInfo() *RequestInfo
func (*SelectRoleReq) GetRoleId ¶
func (m *SelectRoleReq) GetRoleId() uint32
func (*SelectRoleReq) ProtoMessage ¶
func (*SelectRoleReq) ProtoMessage()
func (*SelectRoleReq) Reset ¶
func (m *SelectRoleReq) Reset()
func (*SelectRoleReq) String ¶
func (m *SelectRoleReq) String() string
type SelectRoleRsp ¶
type SelectRoleRsp struct { Role *RoleCommonInfo `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SelectRoleRsp) GetRole ¶
func (m *SelectRoleRsp) GetRole() *RoleCommonInfo
func (*SelectRoleRsp) ProtoMessage ¶
func (*SelectRoleRsp) ProtoMessage()
func (*SelectRoleRsp) Reset ¶
func (m *SelectRoleRsp) Reset()
func (*SelectRoleRsp) String ¶
func (m *SelectRoleRsp) String() string
type ServerConnectGateReq ¶
type ServerConnectGateReq struct { Id *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Cmds []uint32 `protobuf:"varint,2,rep,name=cmds" json:"cmds,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ServerConnectGateReq) GetCmds ¶
func (m *ServerConnectGateReq) GetCmds() []uint32
func (*ServerConnectGateReq) GetId ¶
func (m *ServerConnectGateReq) GetId() uint32
func (*ServerConnectGateReq) ProtoMessage ¶
func (*ServerConnectGateReq) ProtoMessage()
func (*ServerConnectGateReq) Reset ¶
func (m *ServerConnectGateReq) Reset()
func (*ServerConnectGateReq) String ¶
func (m *ServerConnectGateReq) String() string
type TerminalType ¶
type TerminalType int32
可能的终端类型.
const ( TerminalType_GC_TT_IPHONE TerminalType = 0 TerminalType_GC_TT_IPAD TerminalType = 1 TerminalType_GC_TT_ANDROID TerminalType = 2 TerminalType_GC_TT_WP TerminalType = 3 TerminalType_GC_TT_PC TerminalType = 4 )
func (TerminalType) Enum ¶
func (x TerminalType) Enum() *TerminalType
func (TerminalType) String ¶
func (x TerminalType) String() string
func (*TerminalType) UnmarshalJSON ¶
func (x *TerminalType) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.