static int UnLoadAssetBundle(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 2)
            {
                GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
                string arg0 = ToLua.CheckString(L, 2);
                obj.UnLoadAssetBundle(arg0);
                return(0);
            }
            else if (count == 3)
            {
                GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
                string arg0 = ToLua.CheckString(L, 2);
                bool   arg1 = LuaDLL.luaL_checkboolean(L, 3);
                obj.UnLoadAssetBundle(arg0, arg1);
                return(0);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: GameAsset.AssetBundleManager.UnLoadAssetBundle"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
 static int QPYX_UnLoadAssetBundle_YXQP(IntPtr L_YXQP)
 {
     try
     {
         int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP);
         if (QPYX_count_YXQP == 2)
         {
             GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
             string QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
             QPYX_obj_YXQP.UnLoadAssetBundle(QPYX_arg0_YXQP);
             return(0);
         }
         else if (QPYX_count_YXQP == 3)
         {
             GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
             string QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
             bool   QPYX_arg1_YXQP = LuaDLL.luaL_checkboolean(L_YXQP, 3);
             QPYX_obj_YXQP.UnLoadAssetBundle(QPYX_arg0_YXQP, QPYX_arg1_YXQP);
             return(0);
         }
         else
         {
             return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to method: GameAsset.AssetBundleManager.UnLoadAssetBundle"));
         }
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int QPYX_Initialize_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 1);
         GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
         QPYX_obj_YXQP.Initialize();
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int QPYX_GetLoadedAssetBundleDic_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 1);
         GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
         System.Collections.Generic.Dictionary <string, GameAsset.LoadedAssetBundle> QPYX_o_YXQP = QPYX_obj_YXQP.GetLoadedAssetBundleDic();
         ToLua.PushSealed(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int QPYX_GetFullManifest_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 1);
         GameAsset.AssetBundleManager    QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
         UnityEngine.AssetBundleManifest QPYX_o_YXQP   = QPYX_obj_YXQP.GetFullManifest();
         ToLua.PushSealed(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int Initialize(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         obj.Initialize();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int QPYX_Reset_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
         bool QPYX_arg0_YXQP = LuaDLL.luaL_checkboolean(L_YXQP, 2);
         QPYX_obj_YXQP.Reset(QPYX_arg0_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int QPYX_AssetBundleIsLoadedOnly_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
         string QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         bool   QPYX_o_YXQP    = QPYX_obj_YXQP.AssetBundleIsLoadedOnly(QPYX_arg0_YXQP);
         LuaDLL.lua_pushboolean(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int QPYX_RemoveFromLoadedDic_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         GameAsset.AssetBundleManager QPYX_obj_YXQP  = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
         GameAsset.LoadedAssetBundle  QPYX_arg0_YXQP = (GameAsset.LoadedAssetBundle)ToLua.CheckObject <GameAsset.LoadedAssetBundle>(L_YXQP, 2);
         bool QPYX_o_YXQP = QPYX_obj_YXQP.RemoveFromLoadedDic(QPYX_arg0_YXQP);
         LuaDLL.lua_pushboolean(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int Reset(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
         obj.Reset(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int GetLoadedAssetBundleDic(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         System.Collections.Generic.Dictionary <string, GameAsset.LoadedAssetBundle> o = obj.GetLoadedAssetBundleDic();
         ToLua.PushSealed(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int QPYX_LoadAssetBundle_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
         string QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         GameAsset.LoadedAssetBundle QPYX_o_YXQP = QPYX_obj_YXQP.LoadAssetBundle(QPYX_arg0_YXQP);
         ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int QPYX_GetDependPackages_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
         string QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         System.Collections.Generic.List <string> QPYX_o_YXQP = QPYX_obj_YXQP.GetDependPackages(QPYX_arg0_YXQP);
         ToLua.PushSealed(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int GetFullManifest(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         GameAsset.AssetBundleManager    obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         UnityEngine.AssetBundleManifest o   = obj.GetFullManifest();
         ToLua.PushSealed(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int AssetBundleIsLoadedOnly(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         bool   o    = obj.AssetBundleIsLoadedOnly(arg0);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int RemoveFromLoadedDic(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         GameAsset.AssetBundleManager obj  = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         GameAsset.LoadedAssetBundle  arg0 = (GameAsset.LoadedAssetBundle)ToLua.CheckObject <GameAsset.LoadedAssetBundle>(L, 2);
         bool o = obj.RemoveFromLoadedDic(arg0);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int LoadAssetBundle(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         GameAsset.LoadedAssetBundle o = obj.LoadAssetBundle(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int GetDependPackages(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         System.Collections.Generic.List <string> o = obj.GetDependPackages(arg0);
         ToLua.PushSealed(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int PackageHaveLoad(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         bool   arg1 = LuaDLL.luaL_checkboolean(L, 3);
         bool   o    = obj.PackageHaveLoad(arg0, arg1);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int QPYX_LoadAssetBundleAsync_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 4);
         GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
         string QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         string QPYX_arg1_YXQP = ToLua.CheckString(L_YXQP, 3);
         System.Action <GameAsset.LoadedAssetBundle> QPYX_arg2_YXQP = (System.Action <GameAsset.LoadedAssetBundle>)ToLua.CheckDelegate <System.Action <GameAsset.LoadedAssetBundle> >(L_YXQP, 4);
         GameAsset.LoadedAssetBundle QPYX_o_YXQP = QPYX_obj_YXQP.LoadAssetBundleAsync(QPYX_arg0_YXQP, QPYX_arg1_YXQP, QPYX_arg2_YXQP);
         ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int LoadAssetBundleAsync(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         string arg1 = ToLua.CheckString(L, 3);
         System.Action <GameAsset.LoadedAssetBundle> arg2 = (System.Action <GameAsset.LoadedAssetBundle>)ToLua.CheckDelegate <System.Action <GameAsset.LoadedAssetBundle> >(L, 4);
         GameAsset.LoadedAssetBundle o = obj.LoadAssetBundleAsync(arg0, arg1, arg2);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int QPYX__CreateGameAsset_AssetBundleManager_YXQP(IntPtr L_YXQP)
 {
     try
     {
         int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP);
         if (QPYX_count_YXQP == 0)
         {
             GameAsset.AssetBundleManager QPYX_obj_YXQP = new GameAsset.AssetBundleManager();
             ToLua.PushObject(L_YXQP, QPYX_obj_YXQP);
             return(1);
         }
         else
         {
             return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to ctor method: GameAsset.AssetBundleManager.New"));
         }
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
    static int _CreateGameAsset_AssetBundleManager(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 0)
            {
                GameAsset.AssetBundleManager obj = new GameAsset.AssetBundleManager();
                ToLua.PushObject(L, obj);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: GameAsset.AssetBundleManager.New"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
    static int QPYX_get_onEventFn_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)QPYX_o_YXQP;
            LuaInterface.LuaFunction QPYX_ret_YXQP = QPYX_obj_YXQP.onEventFn;
            ToLua.Push(L_YXQP, QPYX_ret_YXQP);
            return(1);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index onEventFn on a nil value"));
        }
    }
    static int QPYX_get_loadAssetBundleNeedCRC_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)QPYX_o_YXQP;
            bool QPYX_ret_YXQP = QPYX_obj_YXQP.loadAssetBundleNeedCRC;
            LuaDLL.lua_pushboolean(L_YXQP, QPYX_ret_YXQP);
            return(1);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index loadAssetBundleNeedCRC on a nil value"));
        }
    }
    static int QPYX_set_loadAssetBundleCheckInManifest_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)QPYX_o_YXQP;
            bool QPYX_arg0_YXQP = LuaDLL.luaL_checkboolean(L_YXQP, 2);
            QPYX_obj_YXQP.loadAssetBundleCheckInManifest = QPYX_arg0_YXQP;
            return(0);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index loadAssetBundleCheckInManifest on a nil value"));
        }
    }
    static int QPYX_set_onEventFn_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)QPYX_o_YXQP;
            LuaFunction QPYX_arg0_YXQP = ToLua.CheckLuaFunction(L_YXQP, 2);
            QPYX_obj_YXQP.onEventFn = QPYX_arg0_YXQP;
            return(0);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index onEventFn on a nil value"));
        }
    }