public override byte[] write()
        {
            var param1 = new ByteArray(ID);

            super(param1);
            param1.write(ship.write());
            param1.write(information.write());
            param1.writeUTF(this.name);
            return(param1.Message.ToArray());
        }
        public byte[] write()
        {
            ByteArray param1 = new ByteArray(ID);

            param1.writeBoolean(this.disconnected);
            param1.write(ship.write());
            param1.writeShort(19162);
            param1.write(faction.write());
            param1.writeUTF(this.name);
            param1.write(information.write());
            param1.write(target.write());
            param1.writeBoolean(this.active);
            param1.write(location.write());
            param1.writeBoolean(this.attacking);
            param1.writeInt(this.level >> 3 | this.level << 29);
            param1.writeBoolean(this.var51u);
            param1.writeBoolean(this.cloaked);
            param1.write(hades.write());
            param1.writeInt(this.id >> 16 | this.id << 16);
            param1.write(clan.write());
            return(param1.Message.ToArray());
        }
        public static byte[] write(int userId, string name, GroupPlayerShipModule ship, int invitedUserId, string invitedName, GroupPlayerShipModule invitedShip)
        {
            ByteArray param1 = new ByteArray(ID);

            param1.write(ship.write());
            param1.writeInt(invitedUserId >> 9 | invitedUserId << 23);
            param1.writeInt(userId >> 11 | userId << 21);
            param1.write(invitedShip.write());
            param1.writeUTF(name);
            param1.writeUTF(invitedName);
            param1.writeShort(-2976);
            param1.writeShort(-27904);
            return(param1.ToByteArray());
        }