Documentation ¶
Index ¶
- Variables
- type CSSessionAck
- type CSSessionBundle
- func (*CSSessionBundle) Descriptor() ([]byte, []int)deprecated
- func (x *CSSessionBundle) GetKey() string
- func (x *CSSessionBundle) GetTs() int64
- func (*CSSessionBundle) ProtoMessage()
- func (x *CSSessionBundle) ProtoReflect() protoreflect.Message
- func (x *CSSessionBundle) Reset()
- func (x *CSSessionBundle) String() string
- type MmoPacketID
- func (MmoPacketID) Descriptor() protoreflect.EnumDescriptor
- func (x MmoPacketID) Enum() *MmoPacketID
- func (MmoPacketID) EnumDescriptor() ([]byte, []int)deprecated
- func (x MmoPacketID) Number() protoreflect.EnumNumber
- func (x MmoPacketID) String() string
- func (MmoPacketID) Type() protoreflect.EnumType
- type SCGateInfo
- func (*SCGateInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SCGateInfo) GetAuthKey() string
- func (x *SCGateInfo) GetIp() string
- func (x *SCGateInfo) GetPort() int32
- func (x *SCGateInfo) GetSrvId() int32
- func (x *SCGateInfo) GetSrvType() int32
- func (*SCGateInfo) ProtoMessage()
- func (x *SCGateInfo) ProtoReflect() protoreflect.Message
- func (x *SCGateInfo) Reset()
- func (x *SCGateInfo) String() string
- type ServerLoad
- func (*ServerLoad) Descriptor() ([]byte, []int)deprecated
- func (x *ServerLoad) GetCurLoad() int32
- func (x *ServerLoad) GetSrvId() int32
- func (x *ServerLoad) GetSrvType() int32
- func (*ServerLoad) ProtoMessage()
- func (x *ServerLoad) ProtoReflect() protoreflect.Message
- func (x *ServerLoad) Reset()
- func (x *ServerLoad) String() string
- type ServerStateSwitch
- func (*ServerStateSwitch) Descriptor() ([]byte, []int)deprecated
- func (x *ServerStateSwitch) GetSrvId() int32
- func (x *ServerStateSwitch) GetSrvType() int32
- func (*ServerStateSwitch) ProtoMessage()
- func (x *ServerStateSwitch) ProtoReflect() protoreflect.Message
- func (x *ServerStateSwitch) Reset()
- func (x *ServerStateSwitch) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MmoPacketID_name = map[int32]string{ 0: "PACKET_GB_UNKNOW", 1000: "PACKET_GB_CUR_LOAD", 1001: "PACKET_GB_STATE_SWITCH", 1002: "PACKET_SC_GATEINFO", 1003: "PACKET_CS_SESSIONBUNDLE", 1004: "PACKET_CS_SESSIONACK", } MmoPacketID_value = map[string]int32{ "PACKET_GB_UNKNOW": 0, "PACKET_GB_CUR_LOAD": 1000, "PACKET_GB_STATE_SWITCH": 1001, "PACKET_SC_GATEINFO": 1002, "PACKET_CS_SESSIONBUNDLE": 1003, "PACKET_CS_SESSIONACK": 1004, } )
Enum value maps for MmoPacketID.
View Source
var File_gateinfo_proto protoreflect.FileDescriptor
View Source
var File_packetid_proto protoreflect.FileDescriptor
View Source
var File_serverload_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CSSessionAck ¶
type CSSessionAck struct { LogicNo uint32 `protobuf:"varint,1,opt,name=LogicNo,proto3" json:"LogicNo,omitempty"` // contains filtered or unexported fields }
func (*CSSessionAck) Descriptor
deprecated
func (*CSSessionAck) Descriptor() ([]byte, []int)
Deprecated: Use CSSessionAck.ProtoReflect.Descriptor instead.
func (*CSSessionAck) GetLogicNo ¶
func (x *CSSessionAck) GetLogicNo() uint32
func (*CSSessionAck) ProtoMessage ¶
func (*CSSessionAck) ProtoMessage()
func (*CSSessionAck) ProtoReflect ¶
func (x *CSSessionAck) ProtoReflect() protoreflect.Message
func (*CSSessionAck) Reset ¶
func (x *CSSessionAck) Reset()
func (*CSSessionAck) String ¶
func (x *CSSessionAck) String() string
type CSSessionBundle ¶
type CSSessionBundle struct { Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"` Ts int64 `protobuf:"varint,2,opt,name=Ts,proto3" json:"Ts,omitempty"` // contains filtered or unexported fields }
func (*CSSessionBundle) Descriptor
deprecated
func (*CSSessionBundle) Descriptor() ([]byte, []int)
Deprecated: Use CSSessionBundle.ProtoReflect.Descriptor instead.
func (*CSSessionBundle) GetKey ¶
func (x *CSSessionBundle) GetKey() string
func (*CSSessionBundle) GetTs ¶
func (x *CSSessionBundle) GetTs() int64
func (*CSSessionBundle) ProtoMessage ¶
func (*CSSessionBundle) ProtoMessage()
func (*CSSessionBundle) ProtoReflect ¶
func (x *CSSessionBundle) ProtoReflect() protoreflect.Message
func (*CSSessionBundle) Reset ¶
func (x *CSSessionBundle) Reset()
func (*CSSessionBundle) String ¶
func (x *CSSessionBundle) String() string
type MmoPacketID ¶
type MmoPacketID int32
const ( MmoPacketID_PACKET_GB_UNKNOW MmoPacketID = 0 MmoPacketID_PACKET_GB_CUR_LOAD MmoPacketID = 1000 MmoPacketID_PACKET_GB_STATE_SWITCH MmoPacketID = 1001 MmoPacketID_PACKET_SC_GATEINFO MmoPacketID = 1002 MmoPacketID_PACKET_CS_SESSIONBUNDLE MmoPacketID = 1003 MmoPacketID_PACKET_CS_SESSIONACK MmoPacketID = 1004 )
func (MmoPacketID) Descriptor ¶
func (MmoPacketID) Descriptor() protoreflect.EnumDescriptor
func (MmoPacketID) Enum ¶
func (x MmoPacketID) Enum() *MmoPacketID
func (MmoPacketID) EnumDescriptor
deprecated
func (MmoPacketID) EnumDescriptor() ([]byte, []int)
Deprecated: Use MmoPacketID.Descriptor instead.
func (MmoPacketID) Number ¶
func (x MmoPacketID) Number() protoreflect.EnumNumber
func (MmoPacketID) String ¶
func (x MmoPacketID) String() string
func (MmoPacketID) Type ¶
func (MmoPacketID) Type() protoreflect.EnumType
type SCGateInfo ¶
type SCGateInfo struct { SrvType int32 `protobuf:"varint,1,opt,name=SrvType,proto3" json:"SrvType,omitempty"` SrvId int32 `protobuf:"varint,2,opt,name=SrvId,proto3" json:"SrvId,omitempty"` AuthKey string `protobuf:"bytes,3,opt,name=AuthKey,proto3" json:"AuthKey,omitempty"` Ip string `protobuf:"bytes,4,opt,name=Ip,proto3" json:"Ip,omitempty"` Port int32 `protobuf:"varint,5,opt,name=Port,proto3" json:"Port,omitempty"` // contains filtered or unexported fields }
func (*SCGateInfo) Descriptor
deprecated
func (*SCGateInfo) Descriptor() ([]byte, []int)
Deprecated: Use SCGateInfo.ProtoReflect.Descriptor instead.
func (*SCGateInfo) GetAuthKey ¶
func (x *SCGateInfo) GetAuthKey() string
func (*SCGateInfo) GetIp ¶
func (x *SCGateInfo) GetIp() string
func (*SCGateInfo) GetPort ¶
func (x *SCGateInfo) GetPort() int32
func (*SCGateInfo) GetSrvId ¶
func (x *SCGateInfo) GetSrvId() int32
func (*SCGateInfo) GetSrvType ¶
func (x *SCGateInfo) GetSrvType() int32
func (*SCGateInfo) ProtoMessage ¶
func (*SCGateInfo) ProtoMessage()
func (*SCGateInfo) ProtoReflect ¶
func (x *SCGateInfo) ProtoReflect() protoreflect.Message
func (*SCGateInfo) Reset ¶
func (x *SCGateInfo) Reset()
func (*SCGateInfo) String ¶
func (x *SCGateInfo) String() string
type ServerLoad ¶
type ServerLoad struct { SrvType int32 `protobuf:"varint,1,opt,name=SrvType,proto3" json:"SrvType,omitempty"` SrvId int32 `protobuf:"varint,2,opt,name=SrvId,proto3" json:"SrvId,omitempty"` CurLoad int32 `protobuf:"varint,3,opt,name=CurLoad,proto3" json:"CurLoad,omitempty"` // contains filtered or unexported fields }
func (*ServerLoad) Descriptor
deprecated
func (*ServerLoad) Descriptor() ([]byte, []int)
Deprecated: Use ServerLoad.ProtoReflect.Descriptor instead.
func (*ServerLoad) GetCurLoad ¶
func (x *ServerLoad) GetCurLoad() int32
func (*ServerLoad) GetSrvId ¶
func (x *ServerLoad) GetSrvId() int32
func (*ServerLoad) GetSrvType ¶
func (x *ServerLoad) GetSrvType() int32
func (*ServerLoad) ProtoMessage ¶
func (*ServerLoad) ProtoMessage()
func (*ServerLoad) ProtoReflect ¶
func (x *ServerLoad) ProtoReflect() protoreflect.Message
func (*ServerLoad) Reset ¶
func (x *ServerLoad) Reset()
func (*ServerLoad) String ¶
func (x *ServerLoad) String() string
type ServerStateSwitch ¶
type ServerStateSwitch struct { SrvType int32 `protobuf:"varint,1,opt,name=SrvType,proto3" json:"SrvType,omitempty"` SrvId int32 `protobuf:"varint,2,opt,name=SrvId,proto3" json:"SrvId,omitempty"` // contains filtered or unexported fields }
func (*ServerStateSwitch) Descriptor
deprecated
func (*ServerStateSwitch) Descriptor() ([]byte, []int)
Deprecated: Use ServerStateSwitch.ProtoReflect.Descriptor instead.
func (*ServerStateSwitch) GetSrvId ¶
func (x *ServerStateSwitch) GetSrvId() int32
func (*ServerStateSwitch) GetSrvType ¶
func (x *ServerStateSwitch) GetSrvType() int32
func (*ServerStateSwitch) ProtoMessage ¶
func (*ServerStateSwitch) ProtoMessage()
func (*ServerStateSwitch) ProtoReflect ¶
func (x *ServerStateSwitch) ProtoReflect() protoreflect.Message
func (*ServerStateSwitch) Reset ¶
func (x *ServerStateSwitch) Reset()
func (*ServerStateSwitch) String ¶
func (x *ServerStateSwitch) String() string
Click to show internal directories.
Click to hide internal directories.