C01PacketChatMessage

Represents a chat message packet sent from client to server.

Extends

Constructors

Constructor

new C01PacketChatMessage(message): C01PacketChatMessage

Creates a new chat message packet with the specified message.

Parameters

message

string

Returns

C01PacketChatMessage

Overrides

Packet.constructor

Methods

getMessage()

getMessage(): string

Returns

string

The message content of this packet.


getPacketID()

getPacketID(): string

Get the ID of the packet.

Returns

string

The ID of the packet.

Inherited from

Packet.getPacketID


setMessage()

setMessage(message): void

Sets the message content of this packet.

Parameters

message

string

Returns

void

Last updated