// New API public void Send(byte fromFaction, NewPackets.PacketType ofType, byte[] packet, ConnectedClient client) { packet = NewPackets.AppendByteHeader(fromFaction, packet); packet = NewPackets.AppendTypeHeader(ofType, packet); countBytes += packet.Length; GameServer.Send(client, packet); }