예제 #1
0
파일: FormMain.cs 프로젝트: lscyane/KCBr
        /// <summary>
        /// サイドバーの艦隊選択/メンバーが変更されると呼ばれるコールバック
        /// </summary>
        /// <param name="deckStat">艦隊情報</param>

        void UpdateDeckConditionTime(DeckMemberList.DeckStatus deckStat)
        {
            this.deckStat = deckStat;
            timerBattleInterval.Enabled = deckStat.Tired;

            //直ちに更新
            timerBattleInterval_Tick(null, null);
        }
예제 #2
0
파일: TimerRPC.cs 프로젝트: lscyane/KCBr
        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);
        }