Пример #1
0
    public static int __callBase_BindFieldImpl(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)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 = fettersInformationLifeItemUIController.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);
    }
Пример #2
0
    public static int OnBindFiledsCompleted(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            fettersInformationLifeItemUIController.m_luaExportHelper.OnBindFiledsCompleted();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #3
0
    public static int get_m_isLock(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, fettersInformationLifeItemUIController.m_luaExportHelper.m_isLock);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #4
0
    public static int UpdateIsNewValue(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            fettersInformationLifeItemUIController.UpdateIsNewValue();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #5
0
    public static int IsNewTagActive(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            bool b = fettersInformationLifeItemUIController.IsNewTagActive();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #6
0
    public static int __callBase_ToString(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            string s = fettersInformationLifeItemUIController.m_luaExportHelper.__callBase_ToString();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #7
0
    public static int set_IsNew(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            bool?isNew;
            LuaObject.checkNullable <bool>(l, 2, out isNew);
            fettersInformationLifeItemUIController.IsNew = isNew;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #8
0
    public static int set_m_heroBiographyInfo(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            ConfigDataHeroBiographyInfo            heroBiographyInfo;
            LuaObject.checkType <ConfigDataHeroBiographyInfo>(l, 2, out heroBiographyInfo);
            fettersInformationLifeItemUIController.m_heroBiographyInfo = heroBiographyInfo;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #9
0
    public static int set_m_lockText(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            Text lockText;
            LuaObject.checkType <Text>(l, 2, out lockText);
            fettersInformationLifeItemUIController.m_luaExportHelper.m_lockText = lockText;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #10
0
    public static int set_m_uiStateCtrl(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            CommonUIStateController uiStateCtrl;
            LuaObject.checkType <CommonUIStateController>(l, 2, out uiStateCtrl);
            fettersInformationLifeItemUIController.m_luaExportHelper.m_uiStateCtrl = uiStateCtrl;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #11
0
    public static int InitLifeItem(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            int biographyId;
            LuaObject.checkType(l, 2, out biographyId);
            fettersInformationLifeItemUIController.InitLifeItem(biographyId);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #12
0
    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>)))
            {
                FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)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);
                fettersInformationLifeItemUIController.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>)))
            {
                FettersInformationLifeItemUIController fettersInformationLifeItemUIController2 = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
                string fieldName;
                LuaObject.checkType(l, 2, out fieldName);
                Action <UIControllerBase, bool> action2;
                LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action2);
                fettersInformationLifeItemUIController2.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);
    }
Пример #13
0
    public static int IsBiographyRead(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            int id;
            LuaObject.checkType(l, 2, out id);
            bool b = fettersInformationLifeItemUIController.m_luaExportHelper.IsBiographyRead(id);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #14
0
    public static int __callBase_SetButtonLongPressEndListener(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            string fieldName;
            LuaObject.checkType(l, 2, out fieldName);
            Action <UIControllerBase> action;
            LuaObject.checkDelegate <Action <UIControllerBase> >(l, 3, out action);
            fettersInformationLifeItemUIController.m_luaExportHelper.__callBase_SetButtonLongPressEndListener(fieldName, action);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #15
0
    public static int __callBase_OnButtonClick(IntPtr l)
    {
        int result;

        try
        {
            FettersInformationLifeItemUIController fettersInformationLifeItemUIController = (FettersInformationLifeItemUIController)LuaObject.checkSelf(l);
            Button button;
            LuaObject.checkType <Button>(l, 2, out button);
            string fieldName;
            LuaObject.checkType(l, 3, out fieldName);
            fettersInformationLifeItemUIController.m_luaExportHelper.__callBase_OnButtonClick(button, fieldName);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Пример #16
0
    public static int __callBase_Initlize(IntPtr l)
    {
        int result;

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