private void InjectionAirCombat(Api_Kouku airCombat) { if (airCombat == null) { return; } this.CalcAirCombatDamages(airCombat); this.InjectionAirCombatResults = airCombat.ToResult("噴-"); }
private void AirCombat(Api_Kouku airCombat, string prefix = "", bool airSupremacy = true) { if (airCombat == null) { return; } if (airSupremacy) { this.FriendAirSupremacy = airCombat.GetAirSupremacy(); } this.CalcAirCombatDamages(airCombat); this.AirCombatResults = this.AirCombatResults.Concat(airCombat.ToResult(prefix)).ToArray(); }
private void AirCombat(Api_Kouku airCombat, string prefix = "", bool airSupremacy = true) { if (airCombat == null) { return; } if (airSupremacy) { this.FriendAirSupremacy = airCombat.GetAirSupremacy(); } foreach (var fleet in this.FriendFleet.Fleets) { fleet.CalcDamages(airCombat.GetDamages(FleetType.Friend, fleet.Index)); } foreach (var fleet in this.EnemyFleet.Fleets) { fleet.CalcDamages(airCombat.GetDamages(FleetType.Enemy, fleet.Index)); } this.AirCombatResults = this.AirCombatResults.Concat(airCombat.ToResult(prefix)).ToArray(); }
private void CalcAirCombatDamages(Api_Kouku airCombat) { this.CalcDamages(airCombat.GetDamages(FleetType.Friend), true); this.CalcDamages(airCombat.GetDamages(FleetType.Enemy), true); }