Represents a custom payload packet sent from the server
Packet
getBufferData(): number[]
number
Gets the custom payload data as a byte array
Returns
number[]
The payload data bytes
getChannelName(): string
string
Gets the channel name for this custom payload
The channel name
getPacketID(): string
Get the ID of the packet.
The ID of the packet.
Inherited from
Packet.getPacketID
getPacketID
Last updated 3 months ago