public GroupPlayerModule(string name, int id, GroupPlayerInformationsModule information, GroupPlayerLocationModule location, int level, bool active, bool cloaked, bool attacking, bool disconnected, bool var51u, GroupPlayerClanModule clan, FactionModule faction, GroupPlayerTargetModule target, GroupPlayerShipModule ship, GroupPlayerHadesGateModule hades)
 {
     this.name         = name;
     this.id           = id;
     this.information  = information;
     this.location     = location;
     this.level        = level;
     this.active       = active;
     this.cloaked      = cloaked;
     this.attacking    = attacking;
     this.disconnected = disconnected;
     this.var51u       = var51u;
     this.clan         = clan;
     this.faction      = faction;
     this.target       = target;
     this.ship         = ship;
     this.hades        = hades;
 }
        public static byte[] write(int mapAssetId, int battleStationId, string battleStationName, int secondsLeft, int totalSeconds, string ownerClan, FactionModule affiliatedFaction)
        {
            ByteArray param1 = new ByteArray(ID);

            param1.writeUTF(ownerClan);
            param1.writeShort(-21121);
            param1.writeShort(566);
            param1.writeInt(battleStationId << 8 | battleStationId >> 24);
            param1.write(affiliatedFaction.write());
            param1.writeInt(totalSeconds << 4 | totalSeconds >> 28);
            param1.writeInt(secondsLeft << 12 | secondsLeft >> 20);
            param1.writeInt(mapAssetId << 13 | mapAssetId >> 19);
            param1.writeUTF(battleStationName);
            return(param1.ToByteArray());
        }
        public static byte[] write(int mapAssetId, int battleStationId, string battleStationName, string clanName, FactionModule faction, BattleStationStatusCommand state, AvailableModulesCommand availableModules, int deflectorShieldMinutesMin, int deflectorShieldMinutesMax, int deflectorShieldMinutesIncrement, bool deflectorDeactivationPossible)
        {
            var param1 = new ByteArray(ID);

            param1.write(faction.write());
            param1.writeUTF(battleStationName);
            param1.writeInt(mapAssetId >> 8 | mapAssetId << 24);
            param1.writeInt(battleStationId << 5 | battleStationId >> 27);
            param1.writeInt(deflectorShieldMinutesMin >> 9 | deflectorShieldMinutesMin << 23);
            param1.writeInt(deflectorShieldMinutesMax << 10 | deflectorShieldMinutesMax >> 22);
            param1.writeShort(21318);
            param1.writeInt(deflectorShieldMinutesIncrement << 14 | deflectorShieldMinutesIncrement >> 18);
            param1.writeUTF(clanName);
            param1.write(availableModules.write());
            param1.write(state.write());
            param1.writeBoolean(deflectorDeactivationPossible);
            return(param1.ToByteArray());
        }