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

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            Type fieldType;
            LuaObject.checkType(l, 2, out fieldType);
            string path;
            LuaObject.checkType(l, 3, out path);
            AutoBindAttribute.InitState initState;
            LuaObject.checkEnum <AutoBindAttribute.InitState>(l, 4, out initState);
            string fieldName;
            LuaObject.checkType(l, 5, out fieldName);
            string ctrlName;
            LuaObject.checkType(l, 6, out ctrlName);
            bool optional;
            LuaObject.checkType(l, 7, out optional);
            UnityEngine.Object o = thearchyLevelListItemUIController.m_luaExportHelper.__callBase_BindFieldImpl(fieldType, path, initState, fieldName, ctrlName, optional);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_EventOnStartButtonClick(IntPtr l)
    {
        int result;

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

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            thearchyLevelListItemUIController.m_luaExportHelper.OnBindFiledsCompleted();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int get_m_thearchyLevelInfo(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, thearchyLevelListItemUIController.m_luaExportHelper.m_thearchyLevelInfo);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_ToString(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            string s = thearchyLevelListItemUIController.m_luaExportHelper.__callBase_ToString();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int GetThearchyLevelInfo(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            ConfigDataThearchyTrialLevelInfo  thearchyLevelInfo = thearchyLevelListItemUIController.GetThearchyLevelInfo();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, thearchyLevelInfo);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_thearchyLevelInfo(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            ConfigDataThearchyTrialLevelInfo  thearchyLevelInfo;
            LuaObject.checkType <ConfigDataThearchyTrialLevelInfo>(l, 2, out thearchyLevelInfo);
            thearchyLevelListItemUIController.m_luaExportHelper.m_thearchyLevelInfo = thearchyLevelInfo;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_rewardGroupGameObject(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            GameObject rewardGroupGameObject;
            LuaObject.checkType <GameObject>(l, 2, out rewardGroupGameObject);
            thearchyLevelListItemUIController.m_luaExportHelper.m_rewardGroupGameObject = rewardGroupGameObject;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_startButton(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            Button startButton;
            LuaObject.checkType <Button>(l, 2, out startButton);
            thearchyLevelListItemUIController.m_luaExportHelper.m_startButton = startButton;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_energyText(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            Text energyText;
            LuaObject.checkType <Text>(l, 2, out energyText);
            thearchyLevelListItemUIController.m_luaExportHelper.m_energyText = energyText;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int SetLocked(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            bool locked;
            LuaObject.checkType(l, 2, out locked);
            thearchyLevelListItemUIController.SetLocked(locked);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __clearDele_EventOnStartButtonClick(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            ThearchyLevelListItemUIController obj;
            LuaObject.checkType <ThearchyLevelListItemUIController>(l, 2, out obj);
            thearchyLevelListItemUIController.m_luaExportHelper.__clearDele_EventOnStartButtonClick(obj);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_SetToggleValueChangedListener(IntPtr l)
    {
        int result;

        try
        {
            int total = LuaDLL.lua_gettop(l);
            if (LuaObject.matchType(l, total, 2, typeof(string[]), typeof(Action <UIControllerBase, bool>)))
            {
                ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
                string[] fieldNames;
                LuaObject.checkArray <string>(l, 2, out fieldNames);
                Action <UIControllerBase, bool> action;
                LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action);
                thearchyLevelListItemUIController.m_luaExportHelper.__callBase_SetToggleValueChangedListener(fieldNames, action);
                LuaObject.pushValue(l, true);
                result = 1;
            }
            else if (LuaObject.matchType(l, total, 2, typeof(string), typeof(Action <UIControllerBase, bool>)))
            {
                ThearchyLevelListItemUIController thearchyLevelListItemUIController2 = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
                string fieldName;
                LuaObject.checkType(l, 2, out fieldName);
                Action <UIControllerBase, bool> action2;
                LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action2);
                thearchyLevelListItemUIController2.m_luaExportHelper.__callBase_SetToggleValueChangedListener(fieldName, action2);
                LuaObject.pushValue(l, true);
                result = 1;
            }
            else
            {
                LuaObject.pushValue(l, false);
                LuaDLL.lua_pushstring(l, "No matched override function __callBase_SetToggleValueChangedListener to call");
                result = 2;
            }
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_SetButtonLongPressEndListener(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            string fieldName;
            LuaObject.checkType(l, 2, out fieldName);
            Action <UIControllerBase> action;
            LuaObject.checkDelegate <Action <UIControllerBase> >(l, 3, out action);
            thearchyLevelListItemUIController.m_luaExportHelper.__callBase_SetButtonLongPressEndListener(fieldName, action);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_OnButtonClick(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            Button button;
            LuaObject.checkType <Button>(l, 2, out button);
            string fieldName;
            LuaObject.checkType(l, 3, out fieldName);
            thearchyLevelListItemUIController.m_luaExportHelper.__callBase_OnButtonClick(button, fieldName);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_Initlize(IntPtr l)
    {
        int result;

        try
        {
            ThearchyLevelListItemUIController thearchyLevelListItemUIController = (ThearchyLevelListItemUIController)LuaObject.checkSelf(l);
            string ctrlName;
            LuaObject.checkType(l, 2, out ctrlName);
            bool bindNow;
            LuaObject.checkType(l, 3, out bindNow);
            thearchyLevelListItemUIController.m_luaExportHelper.__callBase_Initlize(ctrlName, bindNow);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }