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

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)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 = battleDanmakuUIController.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);
    }
Exemplo n.º 2
0
    public static int get_m_playerContext(IntPtr l)
    {
        int result;

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, battleDanmakuUIController.m_luaExportHelper.m_playerContext);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 3
0
    public static int OnBindFiledsCompleted(IntPtr l)
    {
        int result;

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            battleDanmakuUIController.m_luaExportHelper.OnBindFiledsCompleted();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 4
0
    public static int __callBase_Clear(IntPtr l)
    {
        int result;

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            battleDanmakuUIController.m_luaExportHelper.__callBase_Clear();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 5
0
    public static int GetRandomYPOsition(IntPtr l)
    {
        int result;

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            int randomYPOsition = battleDanmakuUIController.m_luaExportHelper.GetRandomYPOsition();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, randomYPOsition);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 6
0
    public static int set_m_playerContext(IntPtr l)
    {
        int result;

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            ProjectLPlayerContext     playerContext;
            LuaObject.checkType <ProjectLPlayerContext>(l, 2, out playerContext);
            battleDanmakuUIController.m_luaExportHelper.m_playerContext = playerContext;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 7
0
    public static int set_m_configDataLoader(IntPtr l)
    {
        int result;

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            IConfigDataLoader         configDataLoader;
            LuaObject.checkType <IConfigDataLoader>(l, 2, out configDataLoader);
            battleDanmakuUIController.m_luaExportHelper.m_configDataLoader = configDataLoader;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 8
0
    public static int set_m_danmakuYPosList(IntPtr l)
    {
        int result;

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            List <int> danmakuYPosList;
            LuaObject.checkType <List <int> >(l, 2, out danmakuYPosList);
            battleDanmakuUIController.m_luaExportHelper.m_danmakuYPosList = danmakuYPosList;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 9
0
    public static int ShowOneDanmaku(IntPtr l)
    {
        int result;

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            DanmakuEntry danmaku;
            LuaObject.checkType <DanmakuEntry>(l, 2, out danmaku);
            battleDanmakuUIController.ShowOneDanmaku(danmaku);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 10
0
    public static int ShowCurTurnDanmaku(IntPtr l)
    {
        int result;

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            int turn;
            LuaObject.checkType(l, 2, out turn);
            battleDanmakuUIController.ShowCurTurnDanmaku(turn);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 11
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>)))
            {
                BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)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);
                battleDanmakuUIController.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>)))
            {
                BattleDanmakuUIController battleDanmakuUIController2 = (BattleDanmakuUIController)LuaObject.checkSelf(l);
                string fieldName;
                LuaObject.checkType(l, 2, out fieldName);
                Action <UIControllerBase, bool> action2;
                LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action2);
                battleDanmakuUIController2.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);
    }
Exemplo n.º 12
0
    public static int Co_ShowDanmakus(IntPtr l)
    {
        int result;

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            List <DanmakuEntry>       danmakus;
            LuaObject.checkType <List <DanmakuEntry> >(l, 2, out danmakus);
            IEnumerator o = battleDanmakuUIController.m_luaExportHelper.Co_ShowDanmakus(danmakus);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 13
0
    public static int __callBase_SetButtonLongPressEndListener(IntPtr l)
    {
        int result;

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

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

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            string ctrlName;
            LuaObject.checkType(l, 2, out ctrlName);
            bool bindNow;
            LuaObject.checkType(l, 3, out bindNow);
            battleDanmakuUIController.m_luaExportHelper.__callBase_Initlize(ctrlName, bindNow);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 16
0
    public static int IsYPositonAvailable(IntPtr l)
    {
        int result;

        try
        {
            BattleDanmakuUIController battleDanmakuUIController = (BattleDanmakuUIController)LuaObject.checkSelf(l);
            int y;
            LuaObject.checkType(l, 2, out y);
            int listCount;
            LuaObject.checkType(l, 3, out listCount);
            bool b = battleDanmakuUIController.m_luaExportHelper.IsYPositonAvailable(y, listCount);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }