Documentation ¶
Index ¶
Constants ¶
View Source
const ( ChatTypeLocal ChatType = 1 ChatTypeGuild = 2 ChatTypeAlliance = 3 ChatTypeParty = 4 ChatTypeWhisper = 5 )
Chat types
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatType ¶
type ChatType uint8
ChatType represents the chat message type (Thanks to @Alice on discord for identifying these!)
type MsgBinChat ¶
MsgBinChat is a binpacket for chat messages.
func (*MsgBinChat) Build ¶
func (m *MsgBinChat) Build(bf *byteframe.ByteFrame) error
Build builds a binary packet from the current data.
func (*MsgBinChat) Opcode ¶
func (m *MsgBinChat) Opcode() network.PacketID
Opcode returns the ID associated with this packet type.
type MsgBinTargeted ¶
type MsgBinTargeted struct { TargetCount uint16 TargetCharIDs []uint32 RawDataPayload []byte // The regular binary payload to be forwarded to the targets. }
MsgBinTargeted is a format used for some broadcast types to target specific players, instead of groups (world, stage, etc). It forwards a normal binpacket in it's RawDataPayload
func (*MsgBinTargeted) Build ¶
func (m *MsgBinTargeted) Build(bf *byteframe.ByteFrame) error
Build builds a binary packet from the current data.
func (*MsgBinTargeted) Opcode ¶
func (m *MsgBinTargeted) Opcode() network.PacketID
Opcode returns the ID associated with this packet type.
Click to show internal directories.
Click to hide internal directories.