| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(AssetBundleUtility); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 11, 2, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 13, 2, 0); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "InitBuiltInAsset", _m_InitBuiltInAsset); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReInitBuiltInAsset", _m_ReInitBuiltInAsset); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Initialize", _m_Initialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "InitalizeUIResources", _m_InitalizeUIResources); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAssetBundleInfo", _m_GetAssetBundleInfo); |
| | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_InitBuiltInAsset(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | AssetBundleUtility gen_to_be_invoked = (AssetBundleUtility)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.InitBuiltInAsset( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_ReInitBuiltInAsset(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | AssetBundleUtility gen_to_be_invoked = (AssetBundleUtility)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.ReInitBuiltInAsset( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_Initialize(RealStatePtr L) |
| | | { |
| | | try { |