static int _g_get_m_ReferencedCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); XLuaFramework.AssetBundleInfo gen_to_be_invoked = (XLuaFramework.AssetBundleInfo)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.m_ReferencedCount); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int _s_set_m_AssetBundle(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); XLuaFramework.AssetBundleInfo gen_to_be_invoked = (XLuaFramework.AssetBundleInfo)translator.FastGetCSObj(L, 1); gen_to_be_invoked.m_AssetBundle = (UnityEngine.AssetBundle)translator.GetObject(L, 2, typeof(UnityEngine.AssetBundle)); } 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) == 2 && translator.Assignable <UnityEngine.AssetBundle>(L, 2)) { UnityEngine.AssetBundle _assetBundle = (UnityEngine.AssetBundle)translator.GetObject(L, 2, typeof(UnityEngine.AssetBundle)); XLuaFramework.AssetBundleInfo gen_ret = new XLuaFramework.AssetBundleInfo(_assetBundle); 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 XLuaFramework.AssetBundleInfo constructor!")); }