Ejemplo n.º 1
0
    public static int DeInit(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            danmakuComponent.DeInit();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 2
0
    public static int __callBase_PostDeSerialize(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            danmakuComponent.m_luaExportHelper.__callBase_PostDeSerialize();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 3
0
    public static int get_m_newSendDanmakuTurnList(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, danmakuComponent.m_luaExportHelper.m_newSendDanmakuTurnList);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 4
0
    public static int FilterSensitiveWords(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            danmakuComponent.m_luaExportHelper.FilterSensitiveWords();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 5
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent o = new DanmakuComponent();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 6
0
    public static int GetPostedLevelDanmaku(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent        danmakuComponent   = (DanmakuComponent)LuaObject.checkSelf(l);
            List <PostDanmakuEntry> postedLevelDanmaku = danmakuComponent.GetPostedLevelDanmaku();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, postedLevelDanmaku);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 7
0
    public static int SetLevelDanmaku(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            LevelDanmaku     levelDanmaku;
            LuaObject.checkType <LevelDanmaku>(l, 2, out levelDanmaku);
            danmakuComponent.SetLevelDanmaku(levelDanmaku);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 8
0
    public static int set_m_postDanmakuEntries(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent        danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            List <PostDanmakuEntry> postDanmakuEntries;
            LuaObject.checkType <List <PostDanmakuEntry> >(l, 2, out postDanmakuEntries);
            danmakuComponent.m_luaExportHelper.m_postDanmakuEntries = postDanmakuEntries;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 9
0
    public static int __callBase_TruncateDanmakuOrNot(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            PostDanmakuEntry entry;
            LuaObject.checkType <PostDanmakuEntry>(l, 2, out entry);
            danmakuComponent.m_luaExportHelper.__callBase_TruncateDanmakuOrNot(entry);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 10
0
    public static int __callBase_Tick(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            uint             deltaMillisecond;
            LuaObject.checkType(l, 2, out deltaMillisecond);
            danmakuComponent.m_luaExportHelper.__callBase_Tick(deltaMillisecond);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 11
0
    public static int AddTurnDanmakuToLevelDanmaku(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            PostDanmakuEntry entry;
            LuaObject.checkType <PostDanmakuEntry>(l, 2, out entry);
            danmakuComponent.m_luaExportHelper.AddTurnDanmakuToLevelDanmaku(entry);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 12
0
    public static int CreateDanmakuEntry(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            PostDanmakuEntry entry;
            LuaObject.checkType <PostDanmakuEntry>(l, 2, out entry);
            DanmakuEntry o = danmakuComponent.m_luaExportHelper.CreateDanmakuEntry(entry);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 13
0
    public static int BuildLevelDanmakuOrderByTime(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            LevelDanmaku     source;
            LuaObject.checkType <LevelDanmaku>(l, 2, out source);
            LevelDanmaku o = danmakuComponent.m_luaExportHelper.BuildLevelDanmakuOrderByTime(source);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 14
0
    public static int __callBase_CombineLevelDanmakuKey(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            int gameFunctionTypeId;
            LuaObject.checkType(l, 2, out gameFunctionTypeId);
            int locationId;
            LuaObject.checkType(l, 3, out locationId);
            string s = danmakuComponent.m_luaExportHelper.__callBase_CombineLevelDanmakuKey(gameFunctionTypeId, locationId);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, s);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 15
0
    public static int __callBase_CanPostLevelDanmaku(IntPtr l)
    {
        int result;

        try
        {
            DanmakuComponent danmakuComponent = (DanmakuComponent)LuaObject.checkSelf(l);
            int gameFunctionTypeId;
            LuaObject.checkType(l, 2, out gameFunctionTypeId);
            int locationId;
            LuaObject.checkType(l, 3, out locationId);
            List <PostDanmakuEntry> entries;
            LuaObject.checkType <List <PostDanmakuEntry> >(l, 4, out entries);
            int i = danmakuComponent.m_luaExportHelper.__callBase_CanPostLevelDanmaku(gameFunctionTypeId, locationId, entries);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, i);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }