예제 #1
0
    public static int __callBase_ToString(IntPtr l)
    {
        int result;

        try
        {
            MailItemUIController mailItemUIController = (MailItemUIController)LuaObject.checkSelf(l);
            string s = mailItemUIController.m_luaExportHelper.__callBase_ToString();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
예제 #2
0
    public static int set_SelectedImage(IntPtr l)
    {
        int result;

        try
        {
            MailItemUIController mailItemUIController = (MailItemUIController)LuaObject.checkSelf(l);
            Image selectedImage;
            LuaObject.checkType <Image>(l, 2, out selectedImage);
            mailItemUIController.SelectedImage = selectedImage;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
예제 #3
0
    public static int set_SendTimeText(IntPtr l)
    {
        int result;

        try
        {
            MailItemUIController mailItemUIController = (MailItemUIController)LuaObject.checkSelf(l);
            Text sendTimeText;
            LuaObject.checkType <Text>(l, 2, out sendTimeText);
            mailItemUIController.SendTimeText = sendTimeText;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
예제 #4
0
    public static int set_m_uiStateCtrl(IntPtr l)
    {
        int result;

        try
        {
            MailItemUIController    mailItemUIController = (MailItemUIController)LuaObject.checkSelf(l);
            CommonUIStateController uiStateCtrl;
            LuaObject.checkType <CommonUIStateController>(l, 2, out uiStateCtrl);
            mailItemUIController.m_uiStateCtrl = uiStateCtrl;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
예제 #5
0
    public static int set_MailItemButton(IntPtr l)
    {
        int result;

        try
        {
            MailItemUIController mailItemUIController = (MailItemUIController)LuaObject.checkSelf(l);
            Button mailItemButton;
            LuaObject.checkType <Button>(l, 2, out mailItemButton);
            mailItemUIController.MailItemButton = mailItemButton;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
예제 #6
0
    public static int SetStateIconSpriteByMailState(IntPtr l)
    {
        int result;

        try
        {
            MailItemUIController mailItemUIController = (MailItemUIController)LuaObject.checkSelf(l);
            Mail stateIconSpriteByMailState;
            LuaObject.checkType <Mail>(l, 2, out stateIconSpriteByMailState);
            mailItemUIController.m_luaExportHelper.SetStateIconSpriteByMailState(stateIconSpriteByMailState);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
예제 #7
0
    public static int set_m_playerCtx(IntPtr l)
    {
        int result;

        try
        {
            MailItemUIController  mailItemUIController = (MailItemUIController)LuaObject.checkSelf(l);
            ProjectLPlayerContext playerCtx;
            LuaObject.checkType <ProjectLPlayerContext>(l, 2, out playerCtx);
            mailItemUIController.m_luaExportHelper.m_playerCtx = playerCtx;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
예제 #8
0
    public static int set_CurrentMailInfo(IntPtr l)
    {
        int result;

        try
        {
            MailItemUIController mailItemUIController = (MailItemUIController)LuaObject.checkSelf(l);
            Mail currentMailInfo;
            LuaObject.checkType <Mail>(l, 2, out currentMailInfo);
            mailItemUIController.CurrentMailInfo = currentMailInfo;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
예제 #9
0
    public static int __clearDele_EventOnMailItemButtonClick(IntPtr l)
    {
        int result;

        try
        {
            MailItemUIController mailItemUIController = (MailItemUIController)LuaObject.checkSelf(l);
            MailItemUIController obj;
            LuaObject.checkType <MailItemUIController>(l, 2, out obj);
            mailItemUIController.m_luaExportHelper.__clearDele_EventOnMailItemButtonClick(obj);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
예제 #10
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>)))
            {
                MailItemUIController mailItemUIController = (MailItemUIController)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);
                mailItemUIController.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>)))
            {
                MailItemUIController mailItemUIController2 = (MailItemUIController)LuaObject.checkSelf(l);
                string fieldName;
                LuaObject.checkType(l, 2, out fieldName);
                Action <UIControllerBase, bool> action2;
                LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action2);
                mailItemUIController2.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);
    }
예제 #11
0
    public static int __callBase_SetButtonLongPressEndListener(IntPtr l)
    {
        int result;

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

        try
        {
            MailItemUIController mailItemUIController = (MailItemUIController)LuaObject.checkSelf(l);
            Button button;
            LuaObject.checkType <Button>(l, 2, out button);
            string fieldName;
            LuaObject.checkType(l, 3, out fieldName);
            mailItemUIController.m_luaExportHelper.__callBase_OnButtonClick(button, fieldName);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
예제 #13
0
    public static int UpdateMailInfo(IntPtr l)
    {
        int result;

        try
        {
            MailItemUIController mailItemUIController = (MailItemUIController)LuaObject.checkSelf(l);
            Mail mailInfo;
            LuaObject.checkType <Mail>(l, 2, out mailInfo);
            bool isSelected;
            LuaObject.checkType(l, 3, out isSelected);
            mailItemUIController.UpdateMailInfo(mailInfo, isSelected);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
예제 #14
0
    public static int __callBase_Initlize(IntPtr l)
    {
        int result;

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