Beispiel #1
0
        // Token: 0x06002D7C RID: 11644 RVA: 0x000AED6C File Offset: 0x000ACF6C
        public bool method_7(bool recheck)
        {
            if (this.class176_0 == null)
            {
                throw new FailedToInitializeException();
            }
            if (this.UpdateStepOn != Enum111.const_0)
            {
                if (!recheck || this.UpdateStepOn != Enum111.const_2)
                {
                    return(false);
                }
            }
            EventArgs40 eventArgs = new EventArgs40();

            if (this.eventHandler_2 != null)
            {
                this.eventHandler_2(this, eventArgs);
            }
            if (eventArgs.Cancel)
            {
                this.class126_0.method_17();
                return(false);
            }
            this.UpdateStepOn = Enum111.const_1;
            if (recheck)
            {
                this.class126_0.method_11();
            }
            else
            {
                this.class126_0.method_12();
            }
            return(true);
        }
Beispiel #2
0
        // Token: 0x06002D80 RID: 11648 RVA: 0x000AEE44 File Offset: 0x000AD044
        private void method_11()
        {
            EventArgs40 eventArgs = new EventArgs40();

            if (this.eventHandler_4 != null)
            {
                this.eventHandler_4(this, eventArgs);
            }
            if (eventArgs.Cancel)
            {
                this.class126_0.method_17();
                return;
            }
            this.UpdateStepOn = Enum111.const_5;
            this.class126_0.method_14();
        }