static int _m_UpdateLuaScript(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); PackSystem.LuaCallCs gen_to_be_invoked = (PackSystem.LuaCallCs)translator.FastGetCSObj(L, 1); { string _resName = LuaAPI.lua_tostring(L, 2); string _resPath = LuaAPI.lua_tostring(L, 3); string _localPath = LuaAPI.lua_tostring(L, 4); System.Collections.IEnumerator gen_ret = gen_to_be_invoked.UpdateLuaScript(_resName, _resPath, _localPath); translator.PushAny(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _s_set_luaScriptFile(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); PackSystem.LuaCallCs gen_to_be_invoked = (PackSystem.LuaCallCs)translator.FastGetCSObj(L, 1); gen_to_be_invoked.luaScriptFile = (UnityEngine.TextAsset)translator.GetObject(L, 2, typeof(UnityEngine.TextAsset)); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _s_set_injections(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); PackSystem.LuaCallCs gen_to_be_invoked = (PackSystem.LuaCallCs)translator.FastGetCSObj(L, 1); gen_to_be_invoked.injections = (PackSystem.LuaCallCs.Injection[])translator.GetObject(L, 2, typeof(PackSystem.LuaCallCs.Injection[])); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_luaScriptFile(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); PackSystem.LuaCallCs gen_to_be_invoked = (PackSystem.LuaCallCs)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.luaScriptFile); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { PackSystem.LuaCallCs gen_ret = new PackSystem.LuaCallCs(); translator.Push(L, 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 PackSystem.LuaCallCs constructor!")); }
static int _m_Start(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); PackSystem.LuaCallCs gen_to_be_invoked = (PackSystem.LuaCallCs)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.Start( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_LoadLuaScript(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); PackSystem.LuaCallCs gen_to_be_invoked = (PackSystem.LuaCallCs)translator.FastGetCSObj(L, 1); { string _localPath = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.LoadLuaScript(_localPath); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }