예제 #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.MainTest();

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
예제 #2
0
        void Start()
        {
            if (HotFixDll == null)
            {
                Debug.LogError("请先将dll拖入到HotFixDllLoader脚本里面。");
                return;
            }
            if (HotFixDllMdb == null)
            {
#if CSHotFix
#else
                Debug.LogWarning("mdb 信息没有拖入到HotFixDllLoader,调试信息缺失");
#endif
            }
            Init();

            Debug.Log("开始热更新测试");
            int          i  = 15;
            float        o  = 0;
            LCL.MainTest mt = new LCL.MainTest();
            mt.Test2(i, o);
            Debug.Log("结束热更新测试");
        }