Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MmoPacketID_name = map[int32]string{
1000: "PACKET_GB_CUR_LOAD",
1001: "PACKET_GB_STATE_SWITCH",
1002: "PACKET_SC_GATEINFO",
}
View Source
var MmoPacketID_value = map[string]int32{
"PACKET_GB_CUR_LOAD": 1000,
"PACKET_GB_STATE_SWITCH": 1001,
"PACKET_SC_GATEINFO": 1002,
}
Functions ¶
This section is empty.
Types ¶
type MmoPacketID ¶
type MmoPacketID int32
const ( MmoPacketID_PACKET_GB_CUR_LOAD MmoPacketID = 1000 MmoPacketID_PACKET_GB_STATE_SWITCH MmoPacketID = 1001 MmoPacketID_PACKET_SC_GATEINFO MmoPacketID = 1002 )
func (MmoPacketID) Enum ¶
func (x MmoPacketID) Enum() *MmoPacketID
func (MmoPacketID) MarshalJSON ¶
func (x MmoPacketID) MarshalJSON() ([]byte, error)
func (MmoPacketID) String ¶
func (x MmoPacketID) String() string
func (*MmoPacketID) UnmarshalJSON ¶
func (x *MmoPacketID) UnmarshalJSON(data []byte) error
type SCGateInfo ¶
type SCGateInfo struct { SrvType *int32 `protobuf:"varint,1,opt" json:"SrvType,omitempty"` SrvId *int32 `protobuf:"varint,2,opt" json:"SrvId,omitempty"` AuthKey *string `protobuf:"bytes,3,opt" json:"AuthKey,omitempty"` Ip *string `protobuf:"bytes,4,opt" json:"Ip,omitempty"` Port *int32 `protobuf:"varint,5,opt" json:"Port,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SCGateInfo) GetAuthKey ¶
func (m *SCGateInfo) GetAuthKey() string
func (*SCGateInfo) GetIp ¶
func (m *SCGateInfo) GetIp() string
func (*SCGateInfo) GetPort ¶
func (m *SCGateInfo) GetPort() int32
func (*SCGateInfo) GetSrvId ¶
func (m *SCGateInfo) GetSrvId() int32
func (*SCGateInfo) GetSrvType ¶
func (m *SCGateInfo) GetSrvType() int32
func (*SCGateInfo) ProtoMessage ¶
func (*SCGateInfo) ProtoMessage()
func (*SCGateInfo) Reset ¶
func (m *SCGateInfo) Reset()
func (*SCGateInfo) String ¶
func (m *SCGateInfo) String() string
type ServerLoad ¶
type ServerLoad struct { SrvType *int32 `protobuf:"varint,1,req" json:"SrvType,omitempty"` SrvId *int32 `protobuf:"varint,2,req" json:"SrvId,omitempty"` CurLoad *int32 `protobuf:"varint,3,req" json:"CurLoad,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ServerLoad) GetCurLoad ¶
func (m *ServerLoad) GetCurLoad() int32
func (*ServerLoad) GetSrvId ¶
func (m *ServerLoad) GetSrvId() int32
func (*ServerLoad) GetSrvType ¶
func (m *ServerLoad) GetSrvType() int32
func (*ServerLoad) ProtoMessage ¶
func (*ServerLoad) ProtoMessage()
func (*ServerLoad) Reset ¶
func (m *ServerLoad) Reset()
func (*ServerLoad) String ¶
func (m *ServerLoad) String() string
type ServerStateSwitch ¶
type ServerStateSwitch struct { SrvType *int32 `protobuf:"varint,1,req" json:"SrvType,omitempty"` SrvId *int32 `protobuf:"varint,2,req" json:"SrvId,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ServerStateSwitch) GetSrvId ¶
func (m *ServerStateSwitch) GetSrvId() int32
func (*ServerStateSwitch) GetSrvType ¶
func (m *ServerStateSwitch) GetSrvType() int32
func (*ServerStateSwitch) ProtoMessage ¶
func (*ServerStateSwitch) ProtoMessage()
func (*ServerStateSwitch) Reset ¶
func (m *ServerStateSwitch) Reset()
func (*ServerStateSwitch) String ¶
func (m *ServerStateSwitch) String() string
Click to show internal directories.
Click to hide internal directories.