Documentation ¶
Index ¶
- Constants
- Variables
- type CSPacketPing
- func (*CSPacketPing) Descriptor() ([]byte, []int)deprecated
- func (x *CSPacketPing) GetMessage() []byte
- func (x *CSPacketPing) GetTimeStamb() int64
- func (*CSPacketPing) ProtoMessage()
- func (x *CSPacketPing) ProtoReflect() protoreflect.Message
- func (x *CSPacketPing) Reset()
- func (x *CSPacketPing) String() string
- type PacketID
- type SCPacketPong
- func (*SCPacketPong) Descriptor() ([]byte, []int)deprecated
- func (x *SCPacketPong) GetMessage() []byte
- func (x *SCPacketPong) GetTimeStamb() int64
- func (*SCPacketPong) ProtoMessage()
- func (x *SCPacketPong) ProtoReflect() protoreflect.Message
- func (x *SCPacketPong) Reset()
- func (x *SCPacketPong) String() string
- type StructA
Constants ¶
View Source
const (
TxTrace transact.TransType = 1000
)
Variables ¶
View Source
var ( PacketID_name = map[int32]string{ 0: "PACKET_UNKNOW", 1000: "PACKET_CS_PING", 1001: "PACKET_SC_PONG", } PacketID_value = map[string]int32{ "PACKET_UNKNOW": 0, "PACKET_CS_PING": 1000, "PACKET_SC_PONG": 1001, } )
Enum value maps for PacketID.
View Source
var File_packetid_proto protoreflect.FileDescriptor
View Source
var File_pingpong_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CSPacketPing ¶
type CSPacketPing struct { TimeStamb int64 `protobuf:"varint,1,opt,name=TimeStamb,proto3" json:"TimeStamb,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*CSPacketPing) Descriptor
deprecated
func (*CSPacketPing) Descriptor() ([]byte, []int)
Deprecated: Use CSPacketPing.ProtoReflect.Descriptor instead.
func (*CSPacketPing) GetMessage ¶
func (x *CSPacketPing) GetMessage() []byte
func (*CSPacketPing) GetTimeStamb ¶
func (x *CSPacketPing) GetTimeStamb() int64
func (*CSPacketPing) ProtoMessage ¶
func (*CSPacketPing) ProtoMessage()
func (*CSPacketPing) ProtoReflect ¶
func (x *CSPacketPing) ProtoReflect() protoreflect.Message
func (*CSPacketPing) Reset ¶
func (x *CSPacketPing) Reset()
func (*CSPacketPing) String ¶
func (x *CSPacketPing) String() string
type PacketID ¶
type PacketID int32
func (PacketID) Descriptor ¶
func (PacketID) Descriptor() protoreflect.EnumDescriptor
func (PacketID) EnumDescriptor
deprecated
func (PacketID) Number ¶
func (x PacketID) Number() protoreflect.EnumNumber
func (PacketID) Type ¶
func (PacketID) Type() protoreflect.EnumType
type SCPacketPong ¶
type SCPacketPong struct { TimeStamb int64 `protobuf:"varint,1,opt,name=TimeStamb,proto3" json:"TimeStamb,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` // contains filtered or unexported fields }
func (*SCPacketPong) Descriptor
deprecated
func (*SCPacketPong) Descriptor() ([]byte, []int)
Deprecated: Use SCPacketPong.ProtoReflect.Descriptor instead.
func (*SCPacketPong) GetMessage ¶
func (x *SCPacketPong) GetMessage() []byte
func (*SCPacketPong) GetTimeStamb ¶
func (x *SCPacketPong) GetTimeStamb() int64
func (*SCPacketPong) ProtoMessage ¶
func (*SCPacketPong) ProtoMessage()
func (*SCPacketPong) ProtoReflect ¶
func (x *SCPacketPong) ProtoReflect() protoreflect.Message
func (*SCPacketPong) Reset ¶
func (x *SCPacketPong) Reset()
func (*SCPacketPong) String ¶
func (x *SCPacketPong) String() string
Click to show internal directories.
Click to hide internal directories.