Ejemplo n.º 1
0
 /// <summary>
 /// Registers the packet.
 /// </summary>
 /// <param name="packet">The packet.</param>
 public static void RegisterPacket(Packet packet)
 {
     RegisterPacket(packet.GetType(), packet.PacketId);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Unregisters the packet.
 /// </summary>
 /// <param name="packet">The packet.</param>
 public static void UnregisterPacket(Packet packet)
 {
     UnregisterPacket(packet.GetType());
 }