The socket this packet interface is attached to.
The last packet which was received.
The last packet which was sent.
Attaches this Packet IO to the socket.
The socket to attach to.
Detaches this Packet IO from its Socket.
Emits a packet from this PacketIO instance. This will only emit the packet to the clients subscribed to this particular PacketIO.
The packet to emit.
Sends a packet.
The packet to send.
Generated using TypeDoc
A utility class which implements the RotMG messaging protocol on top of a
Socket.