Пример #1
0
 static StackObject *AssignFromStack_onScroll_7(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack)
 {
     ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
     JEngine.UI.EventTriggerListener.EventHandle <UnityEngine.EventSystems.PointerEventData> @onScroll = (JEngine.UI.EventTriggerListener.EventHandle <UnityEngine.EventSystems.PointerEventData>) typeof(JEngine.UI.EventTriggerListener.EventHandle <UnityEngine.EventSystems.PointerEventData>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
     ((JEngine.UI.EventTriggerListener)o).onScroll = @onScroll;
     return(ptr_of_this_method);
 }
        static StackObject *AddListener_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);
            JEngine.UI.UIEventHandle <UnityEngine.EventSystems.PointerEventData> @handle = (JEngine.UI.UIEventHandle <UnityEngine.EventSystems.PointerEventData>) typeof(JEngine.UI.UIEventHandle <UnityEngine.EventSystems.PointerEventData>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            JEngine.UI.EventTriggerListener.EventHandle <UnityEngine.EventSystems.PointerEventData> instance_of_this_method = (JEngine.UI.EventTriggerListener.EventHandle <UnityEngine.EventSystems.PointerEventData>) typeof(JEngine.UI.EventTriggerListener.EventHandle <UnityEngine.EventSystems.PointerEventData>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.AddListener(@handle);

            return(__ret);
        }