Represents a chat message packet sent from client to server.
Packet
new C01PacketChatMessage(message): C01PacketChatMessage
message
C01PacketChatMessage
Creates a new chat message packet with the specified message.
Parameters
string
Returns
Overrides
Packet.constructor
getMessage(): string
The message content of this packet.
getPacketID(): string
Get the ID of the packet.
The ID of the packet.
Inherited from
Packet.getPacketID
getPacketID
setMessage(message): void
void
Sets the message content of this packet.
Last updated 3 months ago