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

        try
        {
            EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)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 = equipmentSortItemUIController.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_EventOnClick(IntPtr l)
    {
        int result;

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

        try
        {
            EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, equipmentSortItemUIController.m_sortTypeInt);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int OnBindFiledsCompleted(IntPtr l)
    {
        int result;

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

        try
        {
            EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)LuaObject.checkSelf(l);
            equipmentSortItemUIController.m_luaExportHelper.__callBase_Clear();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int OnToggleValueChange(IntPtr l)
    {
        int result;

        try
        {
            EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)LuaObject.checkSelf(l);
            bool isOn;
            LuaObject.checkType(l, 2, out isOn);
            equipmentSortItemUIController.m_luaExportHelper.OnToggleValueChange(isOn);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_FilterText(IntPtr l)
    {
        int result;

        try
        {
            EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)LuaObject.checkSelf(l);
            string filterText;
            LuaObject.checkType(l, 2, out filterText);
            equipmentSortItemUIController.FilterText = filterText;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int set_m_text(IntPtr l)
    {
        int result;

        try
        {
            EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)LuaObject.checkSelf(l);
            Text text;
            LuaObject.checkType <Text>(l, 2, out text);
            equipmentSortItemUIController.m_luaExportHelper.m_text = text;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int InitEquipmentFilterItem(IntPtr l)
    {
        int result;

        try
        {
            EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)LuaObject.checkSelf(l);
            int sortTypeInt;
            LuaObject.checkType(l, 2, out sortTypeInt);
            equipmentSortItemUIController.InitEquipmentFilterItem(sortTypeInt);
            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>)))
            {
                EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)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);
                equipmentSortItemUIController.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>)))
            {
                EquipmentSortItemUIController equipmentSortItemUIController2 = (EquipmentSortItemUIController)LuaObject.checkSelf(l);
                string fieldName;
                LuaObject.checkType(l, 2, out fieldName);
                Action <UIControllerBase, bool> action2;
                LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action2);
                equipmentSortItemUIController2.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_Initlize(IntPtr l)
    {
        int result;

        try
        {
            EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)LuaObject.checkSelf(l);
            string ctrlName;
            LuaObject.checkType(l, 2, out ctrlName);
            bool bindNow;
            LuaObject.checkType(l, 3, out bindNow);
            equipmentSortItemUIController.m_luaExportHelper.__callBase_Initlize(ctrlName, bindNow);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __clearDele_EventOnClick(IntPtr l)
    {
        int result;

        try
        {
            EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)LuaObject.checkSelf(l);
            EquipmentSortItemUIController arg;
            LuaObject.checkType <EquipmentSortItemUIController>(l, 2, out arg);
            bool arg2;
            LuaObject.checkType(l, 3, out arg2);
            equipmentSortItemUIController.m_luaExportHelper.__clearDele_EventOnClick(arg, arg2);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int __callBase_SetButtonLongPressEndListener(IntPtr l)
    {
        int result;

        try
        {
            EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)LuaObject.checkSelf(l);
            string fieldName;
            LuaObject.checkType(l, 2, out fieldName);
            Action <UIControllerBase> action;
            LuaObject.checkDelegate <Action <UIControllerBase> >(l, 3, out action);
            equipmentSortItemUIController.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
        {
            EquipmentSortItemUIController equipmentSortItemUIController = (EquipmentSortItemUIController)LuaObject.checkSelf(l);
            Button button;
            LuaObject.checkType <Button>(l, 2, out button);
            string fieldName;
            LuaObject.checkType(l, 3, out fieldName);
            equipmentSortItemUIController.m_luaExportHelper.__callBase_OnButtonClick(button, fieldName);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }