Пример #1
0
        public override bool IsFinished()
        {
            LevelActorTimerPlugin plugin = base._helper.levelActor.GetPlugin <LevelActorTimerPlugin>();

            this._finished = (plugin != null) ? (plugin.Timer <= this.targetLevelTime) : false;
            return(this._finished);
        }
Пример #2
0
        public override string GetProcessMsg()
        {
            LevelActorTimerPlugin plugin = base._helper.levelActor.GetPlugin <LevelActorTimerPlugin>();
            float num = (plugin == null) ? 0f : plugin.Timer;

            return(string.Format("[{0}/{1}]", (int)num, (int)this.targetLevelTime));
        }
Пример #3
0
        public override string GetProcessMsg()
        {
            if (base._metaData.conditionId == 0x1b)
            {
                return(string.Format(string.Empty, new object[0]));
            }
            LevelActorTimerPlugin plugin = base._helper.levelActor.GetPlugin <LevelActorTimerPlugin>();
            float num = (plugin == null) ? 0f : plugin.Timer;

            return(string.Format("[{0}/{1}]", (int)num, (int)this.targetLevelTime));
        }
Пример #4
0
        public override bool IsFinished()
        {
            LevelActorTimerPlugin plugin = base._helper.levelActor.GetPlugin <LevelActorTimerPlugin>();

            if (plugin == null)
            {
                this._finished = false;
            }
            else if (base._metaData.conditionId == 0x1b)
            {
                this._finished = true;
            }
            else
            {
                this._finished = plugin.Timer <= this.targetLevelTime;
            }
            return(this._finished);
        }