public void Update(combined_battle_battle data) { this.provider.UpdateEnemyData( data.api_ship_ke, data.api_formation, data.api_eSlot, data.api_eKyouka, data.api_eParam, data.api_ship_lv, data.api_maxhps); this.provider.UpdateBattleTypes(data); }
public void Update(combined_battle_battle data) { this.Name = "連合艦隊 - 機動部隊 - 昼戦"; this.UpdateFleets(data.api_deck_id, data.api_ship_ke, data.api_formation); this.UpdateMaxHP(data.api_maxhps, data.api_maxhps_combined); this.UpdateNowHP(data.api_nowhps, data.api_nowhps_combined); this.FirstFleet.CalcDamages( data.api_kouku.GetFirstFleetDamages(), data.api_hougeki2.GetFriendDamages(), data.api_hougeki3.GetFriendDamages() ); this.SecondFleet.CalcDamages( data.api_kouku.GetSecondFleetDamages(), data.api_opening_atack.GetFriendDamages(), data.api_hougeki1.GetFriendDamages(), data.api_raigeki.GetFriendDamages() ); this.Enemies.CalcDamages( data.api_support_info.GetEnemyDamages(), data.api_kouku.GetEnemyDamages(), data.api_opening_atack.GetEnemyDamages(), data.api_hougeki1.GetEnemyDamages(), data.api_raigeki.GetEnemyDamages(), data.api_hougeki2.GetEnemyDamages(), data.api_hougeki3.GetEnemyDamages() ); this.FriendAirSupremacy = data.api_kouku.GetAirSupremacy(); }