/// <summary> /// Sends a packet to the game server. /// </summary> /// <param name="packet">The packet.</param> public void SendPacket(IOutPacket packet) { SendPacket((GameServerOutPacketType)packet.Id, packet.GetBytes()); }
/// <summary> /// Sends a packet to the chat server. /// </summary> /// <param name="packet">The packet.</param> public void SendPacket(IOutPacket packet) { SendPacket((ChatServerPacketType)packet.Id, packet.GetBytes()); }