コード例 #1
0
    public static int __callBase_BindFieldImpl(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)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 = raffleRewardItemUIController.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 get_GoodsItemRoot(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, raffleRewardItemUIController.GoodsItemRoot);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #3
0
    public static int get_m_goodsCtrlList(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, raffleRewardItemUIController.m_luaExportHelper.m_goodsCtrlList);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #4
0
    public static int __callBase_Clear(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            raffleRewardItemUIController.m_luaExportHelper.__callBase_Clear();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #5
0
    public static int set_GoodsItemRoot(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            Transform goodsItemRoot;
            LuaObject.checkType <Transform>(l, 2, out goodsItemRoot);
            raffleRewardItemUIController.GoodsItemRoot = goodsItemRoot;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #6
0
    public static int set_LevelText(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            Text levelText;
            LuaObject.checkType <Text>(l, 2, out levelText);
            raffleRewardItemUIController.LevelText = levelText;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #7
0
    public static int set_UIStateCtrl(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            CommonUIStateController      uistateCtrl;
            LuaObject.checkType <CommonUIStateController>(l, 2, out uistateCtrl);
            raffleRewardItemUIController.UIStateCtrl = uistateCtrl;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #8
0
    public static int set_m_goodsCtrlList(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController   raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            List <RewardGoodsUIController> goodsCtrlList;
            LuaObject.checkType <List <RewardGoodsUIController> >(l, 2, out goodsCtrlList);
            raffleRewardItemUIController.m_luaExportHelper.m_goodsCtrlList = goodsCtrlList;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #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>)))
            {
                RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)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);
                raffleRewardItemUIController.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>)))
            {
                RaffleRewardItemUIController raffleRewardItemUIController2 = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
                string fieldName;
                LuaObject.checkType(l, 2, out fieldName);
                Action <UIControllerBase, bool> action2;
                LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action2);
                raffleRewardItemUIController2.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);
    }
コード例 #10
0
    public static int GetLevelStrByLevel(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            int level;
            LuaObject.checkType(l, 2, out level);
            StringTableId levelStrByLevel = raffleRewardItemUIController.m_luaExportHelper.GetLevelStrByLevel(level);
            LuaObject.pushValue(l, true);
            LuaObject.pushEnum(l, (int)levelStrByLevel);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #11
0
    public static int GetLvNameByLevel(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            int level;
            LuaObject.checkType(l, 2, out level);
            string lvNameByLevel = raffleRewardItemUIController.GetLvNameByLevel(level);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, lvNameByLevel);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #12
0
    public static int UpdateRewardItemGotState(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            List <RaffleItem>            itemList;
            LuaObject.checkType <List <RaffleItem> >(l, 2, out itemList);
            HashSet <int> drawedRaffleIds;
            LuaObject.checkType <HashSet <int> >(l, 3, out drawedRaffleIds);
            raffleRewardItemUIController.UpdateRewardItemGotState(itemList, drawedRaffleIds);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #13
0
    public static int __callBase_SetButtonLongPressEndListener(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            string fieldName;
            LuaObject.checkType(l, 2, out fieldName);
            Action <UIControllerBase> action;
            LuaObject.checkDelegate <Action <UIControllerBase> >(l, 3, out action);
            raffleRewardItemUIController.m_luaExportHelper.__callBase_SetButtonLongPressEndListener(fieldName, action);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #14
0
    public static int __callBase_OnButtonClick(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            Button button;
            LuaObject.checkType <Button>(l, 2, out button);
            string fieldName;
            LuaObject.checkType(l, 3, out fieldName);
            raffleRewardItemUIController.m_luaExportHelper.__callBase_OnButtonClick(button, fieldName);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #15
0
    public static int __callBase_Initlize(IntPtr l)
    {
        int result;

        try
        {
            RaffleRewardItemUIController raffleRewardItemUIController = (RaffleRewardItemUIController)LuaObject.checkSelf(l);
            string ctrlName;
            LuaObject.checkType(l, 2, out ctrlName);
            bool bindNow;
            LuaObject.checkType(l, 3, out bindNow);
            raffleRewardItemUIController.m_luaExportHelper.__callBase_Initlize(ctrlName, bindNow);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #16
0
 // Token: 0x06012521 RID: 75041 RVA: 0x004B4EF4 File Offset: 0x004B30F4
 public LuaExportHelper(RaffleRewardItemUIController owner)
 {
     this.m_owner = owner;
 }