Esempio n. 1
0
    public static int __callBase_BindFieldImpl(IntPtr l)
    {
        int result;

        try
        {
            LoginCommonUIController loginCommonUIController = (LoginCommonUIController)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 = loginCommonUIController.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);
    }
Esempio n. 2
0
    public static int get_m_touchFx(IntPtr l)
    {
        int result;

        try
        {
            LoginCommonUIController loginCommonUIController = (LoginCommonUIController)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, loginCommonUIController.m_luaExportHelper.m_touchFx);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 3
0
    public static int DisposeTouchFx(IntPtr l)
    {
        int result;

        try
        {
            LoginCommonUIController loginCommonUIController = (LoginCommonUIController)LuaObject.checkSelf(l);
            loginCommonUIController.DisposeTouchFx();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 4
0
    public static int __callBase_Clear(IntPtr l)
    {
        int result;

        try
        {
            LoginCommonUIController loginCommonUIController = (LoginCommonUIController)LuaObject.checkSelf(l);
            loginCommonUIController.m_luaExportHelper.__callBase_Clear();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 5
0
    public static int OnBindFiledsCompleted(IntPtr l)
    {
        int result;

        try
        {
            LoginCommonUIController loginCommonUIController = (LoginCommonUIController)LuaObject.checkSelf(l);
            loginCommonUIController.m_luaExportHelper.OnBindFiledsCompleted();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 6
0
    public static int set_m_screenFade(IntPtr l)
    {
        int result;

        try
        {
            LoginCommonUIController loginCommonUIController = (LoginCommonUIController)LuaObject.checkSelf(l);
            ScreenFade screenFade;
            LuaObject.checkType <ScreenFade>(l, 2, out screenFade);
            loginCommonUIController.m_luaExportHelper.m_screenFade = screenFade;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 7
0
    public static int set_m_disableInputGameObject(IntPtr l)
    {
        int result;

        try
        {
            LoginCommonUIController loginCommonUIController = (LoginCommonUIController)LuaObject.checkSelf(l);
            GameObject disableInputGameObject;
            LuaObject.checkType <GameObject>(l, 2, out disableInputGameObject);
            loginCommonUIController.m_luaExportHelper.m_disableInputGameObject = disableInputGameObject;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 8
0
    public static int EnableInput(IntPtr l)
    {
        int result;

        try
        {
            LoginCommonUIController loginCommonUIController = (LoginCommonUIController)LuaObject.checkSelf(l);
            bool enable;
            LuaObject.checkType(l, 2, out enable);
            loginCommonUIController.EnableInput(enable);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 9
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>)))
            {
                LoginCommonUIController loginCommonUIController = (LoginCommonUIController)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);
                loginCommonUIController.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>)))
            {
                LoginCommonUIController loginCommonUIController2 = (LoginCommonUIController)LuaObject.checkSelf(l);
                string fieldName;
                LuaObject.checkType(l, 2, out fieldName);
                Action <UIControllerBase, bool> action2;
                LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action2);
                loginCommonUIController2.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);
    }
Esempio n. 10
0
    public static int __callBase_SetButtonLongPressEndListener(IntPtr l)
    {
        int result;

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

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

        try
        {
            LoginCommonUIController loginCommonUIController = (LoginCommonUIController)LuaObject.checkSelf(l);
            string ctrlName;
            LuaObject.checkType(l, 2, out ctrlName);
            bool bindNow;
            LuaObject.checkType(l, 3, out bindNow);
            loginCommonUIController.m_luaExportHelper.__callBase_Initlize(ctrlName, bindNow);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 13
0
    public static int FadeIn(IntPtr l)
    {
        int result;

        try
        {
            LoginCommonUIController loginCommonUIController = (LoginCommonUIController)LuaObject.checkSelf(l);
            float time;
            LuaObject.checkType(l, 2, out time);
            Color color;
            LuaObject.checkType(l, 3, out color);
            Action onEnd;
            LuaObject.checkDelegate <Action>(l, 4, out onEnd);
            loginCommonUIController.FadeIn(time, color, onEnd);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }