static int _g_get_assetName(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LuaMVC.LoadRequest __cl_gen_to_be_invoked = (LuaMVC.LoadRequest)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.assetName); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_luaCallback(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LuaMVC.LoadRequest __cl_gen_to_be_invoked = (LuaMVC.LoadRequest)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.luaCallback = (XLua.LuaFunction)translator.GetObject(L, 2, typeof(XLua.LuaFunction)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_assetRequest(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LuaMVC.LoadRequest __cl_gen_to_be_invoked = (LuaMVC.LoadRequest)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.assetRequest = (UnityEngine.AssetBundleRequest)translator.GetObject(L, 2, typeof(UnityEngine.AssetBundleRequest)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_callback(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); LuaMVC.LoadRequest __cl_gen_to_be_invoked = (LuaMVC.LoadRequest)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.callback = translator.GetDelegate <System.Action <UnityEngine.Object> >(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { LuaMVC.LoadRequest __cl_gen_ret = new LuaMVC.LoadRequest(); 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 LuaMVC.LoadRequest constructor!")); }