S02PacketChat

getChat(): String

Returns the chat message contained in the packet. This method retrieves the unformatted text of the chat message.

isChat(): boolean

Determines whether the packet represents a chat message. Returns true if the packet is a chat message, false otherwise.

getType(): int

Retrieves the type of chat message. This is a int value indicating the type or category of the chat message.

Last updated