Example #1
0
        public static ByteArray ReceiveTeam(byte position, string identity, ByteSequence team)
        {
            ByteArray byteArray = new ByteArray();

            byteArray.WriteInt(-1287328945);
            byteArray.WriteByte(position);
            byteArray.WriteUTF(identity);
            team.WriteToByteArray(byteArray);
            return(byteArray);
        }