Example #1
0
        static int _s_set_InitDoString(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                ZhuYuU3d.LuaManager __cl_gen_to_be_invoked = (ZhuYuU3d.LuaManager)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.InitDoString = LuaAPI.lua_tostring(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
Example #2
0
        static int _g_get_env(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                ZhuYuU3d.LuaManager __cl_gen_to_be_invoked = (ZhuYuU3d.LuaManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, __cl_gen_to_be_invoked.env);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
Example #3
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    ZhuYuU3d.LuaManager __cl_gen_ret = new ZhuYuU3d.LuaManager();
                    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 ZhuYuU3d.LuaManager constructor!"));
        }
Example #4
0
        static int _m_GetInstance_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



                {
                    ZhuYuU3d.LuaManager __cl_gen_ret = ZhuYuU3d.LuaManager.GetInstance(  );
                    translator.Push(L, __cl_gen_ret);



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


                ZhuYuU3d.LuaManager __cl_gen_to_be_invoked = (ZhuYuU3d.LuaManager)translator.FastGetCSObj(L, 1);



                {
                    __cl_gen_to_be_invoked.LuaEnvDispose(  );



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


                ZhuYuU3d.LuaManager __cl_gen_to_be_invoked = (ZhuYuU3d.LuaManager)translator.FastGetCSObj(L, 1);



                {
                    string luaLateUpdateFunName = LuaAPI.lua_tostring(L, 2);

                    __cl_gen_to_be_invoked.SetLuaLateUpdate(luaLateUpdateFunName);



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