Documentation ¶
Overview ¶
Package Protocol_Data_Chat is a generated protocol buffer package.
It is generated from these files:
ChatChannel.proto
It has these top-level messages:
Packet ChatMessage ChatAcknowledge
Index ¶
Constants ¶
View Source
const Default_ChatAcknowledge_Accepted bool = true
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatAcknowledge ¶
type ChatAcknowledge struct { MessageId *uint32 `protobuf:"varint,1,opt,name=message_id" json:"message_id,omitempty"` Accepted *bool `protobuf:"varint,2,opt,name=accepted,def=1" json:"accepted,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChatAcknowledge) GetAccepted ¶
func (m *ChatAcknowledge) GetAccepted() bool
func (*ChatAcknowledge) GetMessageId ¶
func (m *ChatAcknowledge) GetMessageId() uint32
func (*ChatAcknowledge) ProtoMessage ¶
func (*ChatAcknowledge) ProtoMessage()
func (*ChatAcknowledge) Reset ¶
func (m *ChatAcknowledge) Reset()
func (*ChatAcknowledge) String ¶
func (m *ChatAcknowledge) String() string
type ChatMessage ¶
type ChatMessage struct { MessageText *string `protobuf:"bytes,1,req,name=message_text" json:"message_text,omitempty"` MessageId *uint32 `protobuf:"varint,2,opt,name=message_id" json:"message_id,omitempty"` TimeDelta *int64 `protobuf:"varint,3,opt,name=time_delta" json:"time_delta,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ChatMessage) GetMessageId ¶
func (m *ChatMessage) GetMessageId() uint32
func (*ChatMessage) GetMessageText ¶
func (m *ChatMessage) GetMessageText() string
func (*ChatMessage) GetTimeDelta ¶
func (m *ChatMessage) GetTimeDelta() int64
func (*ChatMessage) ProtoMessage ¶
func (*ChatMessage) ProtoMessage()
func (*ChatMessage) Reset ¶
func (m *ChatMessage) Reset()
func (*ChatMessage) String ¶
func (m *ChatMessage) String() string
type Packet ¶
type Packet struct { ChatMessage *ChatMessage `protobuf:"bytes,1,opt,name=chat_message" json:"chat_message,omitempty"` ChatAcknowledge *ChatAcknowledge `protobuf:"bytes,2,opt,name=chat_acknowledge" json:"chat_acknowledge,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Packet) GetChatAcknowledge ¶
func (m *Packet) GetChatAcknowledge() *ChatAcknowledge
func (*Packet) GetChatMessage ¶
func (m *Packet) GetChatMessage() *ChatMessage
func (*Packet) ProtoMessage ¶
func (*Packet) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.