コード例 #1
0
        static StackObject *Ctor_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *__ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new LCL.PrefabHolder();

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
コード例 #2
0
        static StackObject *GetPrefab_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            LCL.PrefabHolder instance_of_this_method = (LCL.PrefabHolder) typeof(LCL.PrefabHolder).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.GetPrefab();

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
コード例 #3
0
        static StackObject *AddLoadedCall_1(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.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);
            UnityEngine.Events.UnityEvent @call = (UnityEngine.Events.UnityEvent) typeof(UnityEngine.Events.UnityEvent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            LCL.PrefabHolder instance_of_this_method = (LCL.PrefabHolder) typeof(LCL.PrefabHolder).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.AddLoadedCall(@call);

            return(__ret);
        }
コード例 #4
0
 static void set_Parent_0(ref object o, object v)
 {
     LCL.PrefabHolder _o = (LCL.PrefabHolder)o;
     _o.Parent = (UnityEngine.GameObject)v;
 }
コード例 #5
0
 static void set_InnerCall_2(ref object o, object v)
 {
     LCL.PrefabHolder _o = (LCL.PrefabHolder)o;
     _o.InnerCall = (UnityEngine.Events.UnityEvent)v;
 }
コード例 #6
0
 static void set_Asset_1(ref object o, object v)
 {
     LCL.PrefabHolder _o = (LCL.PrefabHolder)o;
     _o.Asset = (UnityEngine.GameObject)v;
 }