public static int set_EventOnClose(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            Action         value;
            int            num = LuaObject.checkDelegate <Action>(l, 2, out value);
            if (num != 0)
            {
                if (num == 1)
                {
                    appScoreUITask.EventOnClose += value;
                }
                else if (num == 2)
                {
                    appScoreUITask.EventOnClose -= value;
                }
            }
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_OnMemoryWarning(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            appScoreUITask.m_luaExportHelper.__callBase_OnMemoryWarning();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int CanScore_s(IntPtr l)
    {
        int result;

        try
        {
            bool b = AppScoreUITask.CanScore();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __clearDele_EventOnClose(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            appScoreUITask.m_luaExportHelper.__clearDele_EventOnClose();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_UnregisterPlayerContextEvents(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            appScoreUITask.m_luaExportHelper.__callBase_UnregisterPlayerContextEvents();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int InitAllUIControllers(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            appScoreUITask.m_luaExportHelper.InitAllUIControllers();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_ClearUnusedDynamicResourceCache(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            appScoreUITask.m_luaExportHelper.__callBase_ClearUnusedDynamicResourceCache();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int get_UICtrlDescArray(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, appScoreUITask.m_luaExportHelper.UICtrlDescArray);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_ReturnPrevUITask(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            UITaskBase     o = appScoreUITask.m_luaExportHelper.__callBase_ReturnPrevUITask();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int ShowAppScoreUI_s(IntPtr l)
    {
        int result;

        try
        {
            UIIntent currIntent;
            LuaObject.checkType <UIIntent>(l, 1, out currIntent);
            AppScoreUITask.ShowAppScoreUI(currIntent);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_CollectAllDynamicResForLoad(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            List <string>  o = appScoreUITask.m_luaExportHelper.__callBase_CollectAllDynamicResForLoad();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_IsOpeningUI(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            bool           b = appScoreUITask.m_luaExportHelper.__callBase_IsOpeningUI();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_uiCtrlDescArray(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            UITaskBase.UIControllerDesc[] uiCtrlDescArray;
            LuaObject.checkArray <UITaskBase.UIControllerDesc>(l, 2, out uiCtrlDescArray);
            appScoreUITask.m_luaExportHelper.m_uiCtrlDescArray = uiCtrlDescArray;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            string name;
            LuaObject.checkType(l, 2, out name);
            AppScoreUITask o = new AppScoreUITask(name);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_appScoreUIController(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask       appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            AppScoreUIController appScoreUIController;
            LuaObject.checkType <AppScoreUIController>(l, 2, out appScoreUIController);
            appScoreUITask.m_luaExportHelper.m_appScoreUIController = appScoreUIController;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_CollectFxAsset(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            string         assetName;
            LuaObject.checkType(l, 2, out assetName);
            appScoreUITask.m_luaExportHelper.__callBase_CollectFxAsset(assetName);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_StartLoadCustomAssets(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            Action         onLoadCompleted;
            LuaObject.checkDelegate <Action>(l, 2, out onLoadCompleted);
            appScoreUITask.m_luaExportHelper.__callBase_StartLoadCustomAssets(onLoadCompleted);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_OnNewIntent(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            UIIntent       intent;
            LuaObject.checkType <UIIntent>(l, 2, out intent);
            bool b = appScoreUITask.m_luaExportHelper.__callBase_OnNewIntent(intent);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_EnableUIInput(IntPtr l)
    {
        int result;

        try
        {
            AppScoreUITask appScoreUITask = (AppScoreUITask)LuaObject.checkSelf(l);
            bool           isEnable;
            LuaObject.checkType(l, 2, out isEnable);
            bool?isGlobalEnable;
            LuaObject.checkNullable <bool>(l, 3, out isGlobalEnable);
            appScoreUITask.m_luaExportHelper.__callBase_EnableUIInput(isEnable, isGlobalEnable);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }