C00PacketKeepAlive
Packet sent by the client to keep the connection alive
Example
var packet = new C00PacketKeepAlive(123);Extends
Constructors
Constructor
new C00PacketKeepAlive(
key):C00PacketKeepAlive
Parameters
key
number
key - The key
Returns
C00PacketKeepAlive
Overrides
Packet.constructor
Methods
getKey()
getKey():
number
Gets the key value
Returns
number
The key value
getPacketID()
getPacketID():
string
Get the ID of the packet.
Returns
string
The ID of the packet.
Inherited from
setKey()
setKey(
key):void
Sets the key value
Parameters
key
number
The key value to set
Returns
void
Last updated