Exemple #1
0
 // Token: 0x06002A86 RID: 10886 RVA: 0x0009E380 File Offset: 0x0009C580
 private void ButtonClickCallback(GameObject button)
 {
     if (global::RPOSWindow.GameObjectEqual(button, this._closeButton))
     {
         this.CloseButtonClicked();
     }
     else if (this.bumpers != null)
     {
         int count = this.bumpers.Count;
         if (count > 0 && button)
         {
             global::UIButton component = button.GetComponent <global::UIButton>();
             if (component)
             {
                 for (int i = 0; i < count; i++)
                 {
                     if (component == this.bumpers[i].button)
                     {
                         this.OnBumperClick(this.bumpers[i]);
                         return;
                     }
                 }
             }
         }
     }
 }
Exemple #2
0
        static StackObject *AssignFromStack_backButton_8(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            global::UIButton @backButton = (global::UIButton)typeof(global::UIButton).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            ((global::UIController)o).backButton = @backButton;
            return(ptr_of_this_method);
        }
Exemple #3
0
        static StackObject *set_normalSprite_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.String @value = (System.String) typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            global::UIButton instance_of_this_method = (global::UIButton)typeof(global::UIButton).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            __intp.Free(ptr_of_this_method);

            instance_of_this_method.normalSprite = value;

            return(__ret);
        }
Exemple #4
0
        static StackObject *Add_1(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            global::UIButton @item = (global::UIButton)typeof(global::UIButton).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));

            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Collections.Generic.List <global::UIButton> instance_of_this_method = (System.Collections.Generic.List <global::UIButton>) typeof(System.Collections.Generic.List <global::UIButton>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Add(@item);

            return(__ret);
        }