예제 #1
0
        static int _s_set_PatchContext(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xpatch.PatchProgress __cl_gen_to_be_invoked = (xpatch.PatchProgress)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.PatchContext = (xpatch.DL_PatchContext)translator.GetObject(L, 2, typeof(xpatch.DL_PatchContext));
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
예제 #2
0
        static int _s_set_Error(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xpatch.PatchProgress __cl_gen_to_be_invoked = (xpatch.PatchProgress)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.Error = LuaAPI.lua_tostring(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
예제 #3
0
        static int _g_get_StepTxt(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                xpatch.PatchProgress __cl_gen_to_be_invoked = (xpatch.PatchProgress)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.StepTxt);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
예제 #4
0
        static int __CreateInstance(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

            try {
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    xpatch.PatchProgress __cl_gen_ret = new xpatch.PatchProgress();
                    translator.Push(L, __cl_gen_ret);
                    return(1);
                }
            }
            catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to xpatch.PatchProgress constructor!"));
        }
예제 #5
0
        static int _m_Start(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xpatch.PatchProgress __cl_gen_to_be_invoked = (xpatch.PatchProgress)translator.FastGetCSObj(L, 1);


            try {
                {
                    bool __cl_gen_ret = __cl_gen_to_be_invoked.Start(  );
                    LuaAPI.lua_pushboolean(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
예제 #6
0
        static int _m_CreatePatchProcess(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xpatch.XPatchManager __cl_gen_to_be_invoked = (xpatch.XPatchManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    xpatch.PatchProgress __cl_gen_ret = __cl_gen_to_be_invoked.CreatePatchProcess(  );
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
예제 #7
0
        static int _m_CollectAllPatchInfo(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xpatch.XPatchManager __cl_gen_to_be_invoked = (xpatch.XPatchManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    xpatch.PatchProgress progress = (xpatch.PatchProgress)translator.GetObject(L, 2, typeof(xpatch.PatchProgress));

                    __cl_gen_to_be_invoked.CollectAllPatchInfo(progress);



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
예제 #8
0
        static int _m_Load0Unity3dRoutine(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xpatch.XPatchManager __cl_gen_to_be_invoked = (xpatch.XPatchManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    xpatch.PatchProgress progress = (xpatch.PatchProgress)translator.GetObject(L, 2, typeof(xpatch.PatchProgress));

                    System.Collections.IEnumerator __cl_gen_ret = __cl_gen_to_be_invoked.Load0Unity3dRoutine(progress);
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
예제 #9
0
        static int _m_CollectPatchContextByList(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            xpatch.XPatchManager __cl_gen_to_be_invoked = (xpatch.XPatchManager)translator.FastGetCSObj(L, 1);


            try {
                {
                    xpatch.PatchProgress progress = (xpatch.PatchProgress)translator.GetObject(L, 2, typeof(xpatch.PatchProgress));
                    System.Collections.Generic.List <xpatch.DL_PatchContext> patch_ctx_lst = (System.Collections.Generic.List <xpatch.DL_PatchContext>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List <xpatch.DL_PatchContext>));

                    System.Collections.IEnumerator __cl_gen_ret = __cl_gen_to_be_invoked.CollectPatchContextByList(progress, patch_ctx_lst);
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }