msg

package
v0.0.0-...-83fd405 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMsg = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsg   = fmt.Errorf("proto: integer overflow")
)
View Source
var Protocol = codec.ProtoBuf(sizeofRecvBuff, sizeofSendBuff, nil, nil, nil)

Functions

func C2S_Ping_MessageID

func C2S_Ping_MessageID() v3.MessageID

func C2S_Ping_ResponseMessageID

func C2S_Ping_ResponseMessageID() v3.MessageID

func Put_C2S_Ping

func Put_C2S_Ping(i interface{})

func Put_S2C_Pong

func Put_S2C_Pong(i interface{})

func S2C_Pong_MessageID

func S2C_Pong_MessageID() v3.MessageID

func S2C_Pong_ResponseMessageID

func S2C_Pong_ResponseMessageID() v3.MessageID

Types

type C2S_Ping

type C2S_Ping struct {
	Content string `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"`
}

@msg=1 @response=S2C_Pong

func Clone_C2S_Ping_Slice

func Clone_C2S_Ping_Slice(dst []*C2S_Ping, src []*C2S_Ping) []*C2S_Ping

func Get_C2S_Ping

func Get_C2S_Ping() *C2S_Ping

func New_C2S_Ping

func New_C2S_Ping() *C2S_Ping

func (C2S_Ping) Clone

func (m C2S_Ping) Clone() *C2S_Ping

func (*C2S_Ping) Descriptor

func (*C2S_Ping) Descriptor() ([]byte, []int)

func (*C2S_Ping) GetContent

func (m *C2S_Ping) GetContent() string

func (C2S_Ping) JsonString

func (m C2S_Ping) JsonString() string

func (*C2S_Ping) Marshal

func (m *C2S_Ping) Marshal() (dAtA []byte, err error)

func (*C2S_Ping) MarshalTo

func (m *C2S_Ping) MarshalTo(dAtA []byte) (int, error)

func (C2S_Ping) MessageID

func (C2S_Ping) MessageID() v3.MessageID

func (*C2S_Ping) ProtoMessage

func (*C2S_Ping) ProtoMessage()

func (*C2S_Ping) Reset

func (m *C2S_Ping) Reset()

func (*C2S_Ping) ResetEx

func (m *C2S_Ping) ResetEx()

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message C2S_Ping begin

func (C2S_Ping) ResponseMessageID

func (C2S_Ping) ResponseMessageID() v3.MessageID

func (*C2S_Ping) Size

func (m *C2S_Ping) Size() (n int)

func (*C2S_Ping) String

func (m *C2S_Ping) String() string

func (*C2S_Ping) Unmarshal

func (m *C2S_Ping) Unmarshal(dAtA []byte) error

func (C2S_Ping) V3

func (C2S_Ping) V3()

func (*C2S_Ping) XXX_DiscardUnknown

func (m *C2S_Ping) XXX_DiscardUnknown()

func (*C2S_Ping) XXX_Marshal

func (m *C2S_Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*C2S_Ping) XXX_Merge

func (m *C2S_Ping) XXX_Merge(src proto.Message)

func (*C2S_Ping) XXX_Size

func (m *C2S_Ping) XXX_Size() int

func (*C2S_Ping) XXX_Unmarshal

func (m *C2S_Ping) XXX_Unmarshal(b []byte) error

type S2C_Pong

type S2C_Pong struct {
	Content string `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"`
}

@msg=2

func Clone_S2C_Pong_Slice

func Clone_S2C_Pong_Slice(dst []*S2C_Pong, src []*S2C_Pong) []*S2C_Pong

func Get_S2C_Pong

func Get_S2C_Pong() *S2C_Pong

func New_S2C_Pong

func New_S2C_Pong() *S2C_Pong

func (S2C_Pong) Clone

func (m S2C_Pong) Clone() *S2C_Pong

func (*S2C_Pong) Descriptor

func (*S2C_Pong) Descriptor() ([]byte, []int)

func (*S2C_Pong) GetContent

func (m *S2C_Pong) GetContent() string

func (S2C_Pong) JsonString

func (m S2C_Pong) JsonString() string

func (*S2C_Pong) Marshal

func (m *S2C_Pong) Marshal() (dAtA []byte, err error)

func (*S2C_Pong) MarshalTo

func (m *S2C_Pong) MarshalTo(dAtA []byte) (int, error)

func (S2C_Pong) MessageID

func (S2C_Pong) MessageID() v3.MessageID

func (*S2C_Pong) ProtoMessage

func (*S2C_Pong) ProtoMessage()

func (*S2C_Pong) Reset

func (m *S2C_Pong) Reset()

func (*S2C_Pong) ResetEx

func (m *S2C_Pong) ResetEx()

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message S2C_Pong begin

func (S2C_Pong) ResponseMessageID

func (S2C_Pong) ResponseMessageID() v3.MessageID

func (*S2C_Pong) Size

func (m *S2C_Pong) Size() (n int)

func (*S2C_Pong) String

func (m *S2C_Pong) String() string

func (*S2C_Pong) Unmarshal

func (m *S2C_Pong) Unmarshal(dAtA []byte) error

func (S2C_Pong) V3

func (S2C_Pong) V3()

func (*S2C_Pong) XXX_DiscardUnknown

func (m *S2C_Pong) XXX_DiscardUnknown()

func (*S2C_Pong) XXX_Marshal

func (m *S2C_Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S2C_Pong) XXX_Merge

func (m *S2C_Pong) XXX_Merge(src proto.Message)

func (*S2C_Pong) XXX_Size

func (m *S2C_Pong) XXX_Size() int

func (*S2C_Pong) XXX_Unmarshal

func (m *S2C_Pong) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL