Exemple #1
0
 // Token: 0x06002BDD RID: 11229 RVA: 0x000AA5E4 File Offset: 0x000A87E4
 public Class492(Enum28 responseType, Enum87 step, string messageTitle, string messageBody) : this(step)
 {
     this.ResponseType = responseType;
     this.ExtraData.Add(messageTitle);
     this.ExtraData.Add(messageBody);
     this.ExtraDataIsRTF.Add(false);
     this.ExtraDataIsRTF.Add(false);
 }
Exemple #2
0
        // Token: 0x06002D87 RID: 11655 RVA: 0x000AEF80 File Offset: 0x000AD180
        private static Enum111 smethod_0(Enum87 us)
        {
            switch (us)
            {
            case Enum87.const_0:
                return(Enum111.const_1);

            case Enum87.const_2:
                return(Enum111.const_3);

            case Enum87.const_3:
                return(Enum111.const_5);

            default:
                throw new Exception(Class151.string_4);
            }
        }
Exemple #3
0
        // Token: 0x06001829 RID: 6185 RVA: 0x0004131C File Offset: 0x0003F51C
        private void method_6(object sender, EventArgs39 e)
        {
            Class492 @class = Class492.smethod_0(e.Message);

            switch (@class.Action)
            {
            case Enum93.const_1:
                this.process_0 = Process.GetProcessById(@class.ProcessID);
                return;

            case Enum93.const_3:
                this.class148_0.method_5();
                this.method_4();
                this.process_0 = Process.GetProcessById(@class.ProcessID);
                this.method_7(@class.ExtraData[0]);
                if (!this.class148_0.Connected && this.eventHandler_4 != null)
                {
                    this.eventHandler_4(this, new EventArgs38(new Class492(Enum28.const_0, this.UpdateStep, this.UpdaterExitedPrematurely_Title, "Failed to connect to the new version of wyUpdate.exe")));
                }
                this.method_18(new Class492(this.UpdateStep));
                return;
            }
            if (@class.UpdateStep != this.UpdateStep)
            {
                Enum87 updateStep = this.UpdateStep;
                this.UpdateStep = @class.UpdateStep;
                if (this.eventHandler_2 != null)
                {
                    this.eventHandler_2(this, new EventArgs28(@class.ResponseType, updateStep));
                }
            }
            if (@class.Action == Enum93.const_0 && @class.UpdateStep == Enum87.const_4)
            {
                this.int_2 = @class.ProcessID;
            }
            if (@class.ResponseType != Enum28.const_1 && this.eventHandler_3 != null)
            {
                this.eventHandler_3(this, new EventArgs38(@class));
            }
        }
Exemple #4
0
        // Token: 0x06002D81 RID: 11649 RVA: 0x000AEE94 File Offset: 0x000AD094
        private void method_12(Enum87 updateStepOn)
        {
            switch (updateStepOn)
            {
            case Enum87.const_0:
                if (string.IsNullOrEmpty(this.string_5))
                {
                    this.method_16();
                    return;
                }
                if (this.enum78_0 != Enum78.const_1 && this.enum78_0 != Enum78.const_0)
                {
                    this.method_13();
                    return;
                }
                this.UpdateStepOn = Enum111.const_2;
                this.method_10();
                return;

            case Enum87.const_2:
                if (this.enum78_0 == Enum78.const_0)
                {
                    this.method_11();
                    return;
                }
                this.method_14();
                return;

            case Enum87.const_3:
                this.method_15();
                return;

            default:
                return;
            }
        }
Exemple #5
0
 // Token: 0x06001FFC RID: 8188 RVA: 0x0000CE9E File Offset: 0x0000B09E
 public EventArgs28(Enum28 response, Enum87 previousStep)
 {
     this.Response     = response;
     this.PreviousStep = previousStep;
 }
Exemple #6
0
 // Token: 0x06002BDC RID: 11228 RVA: 0x000146A5 File Offset: 0x000128A5
 public Class492(Enum87 step) : this()
 {
     this.Action     = Enum93.const_0;
     this.UpdateStep = step;
 }