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

            var result_of_this_method = new Game.Demo.M_StatusListenerTest();

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
コード例 #2
0
        static StackObject *TriggerEvent_7(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);
            Game.Demo.M_StatusListenerTest @value = (Game.Demo.M_StatusListenerTest) typeof(Game.Demo.M_StatusListenerTest).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            BDFramework.DataListener.AStatusListener @dl = (BDFramework.DataListener.AStatusListener) typeof(BDFramework.DataListener.AStatusListener).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);


            BDFramework.DataListener.EventListenerEx.TriggerEvent <Game.Demo.M_StatusListenerTest>(@dl, @value);

            return(__ret);
        }