public void Read(IDataInput param1, ICommandLookup lookup) { this.attackRating = param1.ReadInt(); this.attackRating = param1.Shift(this.attackRating, 27); this.damageBoosterRating = param1.ReadInt(); this.damageBoosterRating = param1.Shift(this.damageBoosterRating, 14); this.battleStationName = param1.ReadUTF(); this.honorBoosterRating = param1.ReadInt(); this.honorBoosterRating = param1.Shift(this.honorBoosterRating, 6); param1.ReadShort(); this.battleStationId = param1.ReadInt(); this.battleStationId = param1.Shift(this.battleStationId, 21); this.deflectorShieldSecondsMax = param1.ReadInt(); this.deflectorShieldSecondsMax = param1.Shift(this.deflectorShieldSecondsMax, 2); this.mapAssetId = param1.ReadInt(); this.mapAssetId = param1.Shift(this.mapAssetId, 23); this.repairRating = param1.ReadInt(); this.repairRating = param1.Shift(this.repairRating, 5); this.repairPrice = param1.ReadInt(); this.repairPrice = param1.Shift(this.repairPrice, 30); this.defenceRating = param1.ReadInt(); this.defenceRating = param1.Shift(this.defenceRating, 1); this.experienceBoosterRating = param1.ReadInt(); this.experienceBoosterRating = param1.Shift(this.experienceBoosterRating, 17); this.deflectorShieldSeconds = param1.ReadInt(); this.deflectorShieldSeconds = param1.Shift(this.deflectorShieldSeconds, 9); this.equipment = lookup.Lookup(param1) as EquippedModulesModule; this.equipment.Read(param1, lookup); this.deflectorShieldActive = param1.ReadBoolean(); this.deflectorShieldRate = param1.ReadInt(); this.deflectorShieldRate = param1.Shift(this.deflectorShieldRate, 5); this.var_4522 = param1.ReadBoolean(); }
public BattleStationStatusCommand(int param1 = 0, int param2 = 0, string param3 = "", bool param4 = false, int param5 = 0, int param6 = 0, int param7 = 0, int param8 = 0, int param9 = 0, int param10 = 0, int param11 = 0, int param12 = 0, int param13 = 0, int param14 = 0, EquippedModulesModule param15 = null, bool param16 = false) { this.mapAssetId = param1; this.battleStationId = param2; this.battleStationName = param3; this.deflectorShieldActive = param4; this.deflectorShieldSeconds = param5; this.deflectorShieldSecondsMax = param6; this.attackRating = param7; this.defenceRating = param8; this.repairRating = param9; this.honorBoosterRating = param10; this.experienceBoosterRating = param11; this.damageBoosterRating = param12; this.deflectorShieldRate = param13; this.repairPrice = param14; if (param15 == null) { this.equipment = new EquippedModulesModule(); } else { this.equipment = param15; } this.var_4522 = param16; }
public void Read(IDataInput param1, ICommandLookup lookup) { this.buildButtonActive = param1.ReadBoolean(); this.ownClanName = param1.ReadUTF(); this.bestProgress = param1.ReadFloat(); this.bestProgressClanName = param1.ReadUTF(); param1.ReadShort(); this.state = lookup.Lookup(param1) as EquippedModulesModule; this.state.Read(param1, lookup); this.ownProgress = param1.ReadFloat(); param1.ReadShort(); this.battleStationId = param1.ReadInt(); this.battleStationId = param1.Shift(this.battleStationId, 8); }
public AsteroidProgressCommand(int param1 = 0, float param2 = 0, float param3 = 0, string param4 = "", string param5 = "", EquippedModulesModule param6 = null, bool param7 = false) { this.battleStationId = param1; this.ownProgress = param2; this.bestProgress = param3; this.ownClanName = param4; this.bestProgressClanName = param5; if (param6 == null) { this.state = new EquippedModulesModule(); } else { this.state = param6; } this.buildButtonActive = param7; }