public void UpdateConditionTimer(DeckMemberList.DeckStatus deckStatus) { if (_condTimerFleetNo == deckStatus.FleetNo && _condTimerFleetName == deckStatus.FleetName && _condTimerFinishTime == deckStatus.RecoverTime) { return; } _condTimerFleetNo = deckStatus.FleetNo; _condTimerFleetName = deckStatus.FleetName; _condTimerFinishTime = deckStatus.RecoverTime; RPCUpdateConditionTimer(deckStatus.FleetNo, deckStatus.FleetName, deckStatus.RecoverTime); }
/// <summary> /// サイドバーの艦隊選択/メンバーが変更されると呼ばれるコールバック /// </summary> /// <param name="deckStat">艦隊情報</param> void UpdateDeckConditionTime(DeckMemberList.DeckStatus deckStat) { this.deckStat = deckStat; timerBattleInterval.Enabled = deckStat.Tired; //直ちに更新 timerBattleInterval_Tick(null, null); }