public void sendPlayerCommand(PlayerCommand playerCommand) { using (Packet _packet = new Packet((int)PacketTypes.ClientPackets.PLAYER_COMMAND)) { playerCommand.ToPacket(_packet); SendTCPData(_packet); } }