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

        try
        {
            MemoryCorridorCompoment           memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            ConfigDataMemoryCorridorLevelInfo levelInfo;
            LuaObject.checkType <ConfigDataMemoryCorridorLevelInfo>(l, 2, out levelInfo);
            List <int> battleTreasures;
            LuaObject.checkType <List <int> >(l, 3, out battleTreasures);
            List <int> heroes;
            LuaObject.checkType <List <int> >(l, 4, out heroes);
            int energyCost;
            LuaObject.checkType(l, 5, out energyCost);
            bool isBattleTeam;
            LuaObject.checkType(l, 6, out isBattleTeam);
            memoryCorridorCompoment.m_luaExportHelper.__callBase_SetCommonSuccessMemoryCorridorLevel(levelInfo, battleTreasures, heroes, energyCost, isBattleTeam);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 2
0
    public static int SetSuccessMemoryCorridorLevel(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment           memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            ConfigDataMemoryCorridorLevelInfo levelInfo;
            LuaObject.checkType <ConfigDataMemoryCorridorLevelInfo>(l, 2, out levelInfo);
            List <int> battleTreasures;
            LuaObject.checkType <List <int> >(l, 3, out battleTreasures);
            List <int> heroes;
            LuaObject.checkType <List <int> >(l, 4, out heroes);
            bool isTeamBattle;
            LuaObject.checkType(l, 5, out isTeamBattle);
            memoryCorridorCompoment.SetSuccessMemoryCorridorLevel(levelInfo, battleTreasures, heroes, isTeamBattle);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 3
0
    public static int __callBase_PostDeSerialize(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            memoryCorridorCompoment.m_luaExportHelper.__callBase_PostDeSerialize();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 4
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment o = new MemoryCorridorCompoment();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 5
0
    public static int DeInit(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            memoryCorridorCompoment.DeInit();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 6
0
    public static int __callBase_GetDailyChallengNums(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            int i = memoryCorridorCompoment.m_luaExportHelper.__callBase_GetDailyChallengNums();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, i);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 7
0
    public static int __callBase_GetAllUnlockedLevels(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            List <int> o = memoryCorridorCompoment.m_luaExportHelper.__callBase_GetAllUnlockedLevels();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 8
0
    public static int GetCurrentTicketNums(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            int currentTicketNums = memoryCorridorCompoment.GetCurrentTicketNums();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, currentTicketNums);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 9
0
    public static int GetDSVersion(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            ushort dsversion = memoryCorridorCompoment.GetDSVersion();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, dsversion);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 10
0
    public static int DeSerialize(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            DSMemoryCorridorNtf     msg;
            LuaObject.checkType <DSMemoryCorridorNtf>(l, 2, out msg);
            memoryCorridorCompoment.DeSerialize(msg);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 11
0
    public static int __callBase_Tick(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            uint deltaMillisecond;
            LuaObject.checkType(l, 2, out deltaMillisecond);
            memoryCorridorCompoment.m_luaExportHelper.__callBase_Tick(deltaMillisecond);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 12
0
    public static int __callBase_AddChallengedNums(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            int nums;
            LuaObject.checkType(l, 2, out nums);
            memoryCorridorCompoment.m_luaExportHelper.__callBase_AddChallengedNums(nums);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 13
0
    public static int __callBase_IsLevelUnlocked(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            int levelId;
            LuaObject.checkType(l, 2, out levelId);
            bool b = memoryCorridorCompoment.m_luaExportHelper.__callBase_IsLevelUnlocked(levelId);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 14
0
    public static int IsMemoryCorridorLevelOpened(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            int levelId;
            LuaObject.checkType(l, 2, out levelId);
            bool b = memoryCorridorCompoment.IsMemoryCorridorLevelOpened(levelId);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 15
0
    public static int __callBase_CanAttackMemoryCorridorLevel(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            int levelId;
            LuaObject.checkType(l, 2, out levelId);
            bool isTeamBattle;
            LuaObject.checkType(l, 3, out isTeamBattle);
            int i = memoryCorridorCompoment.m_luaExportHelper.__callBase_CanAttackMemoryCorridorLevel(levelId, isTeamBattle);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, i);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 16
0
    public static int FinishedMemoryCorridorLevel(IntPtr l)
    {
        int result;

        try
        {
            MemoryCorridorCompoment memoryCorridorCompoment = (MemoryCorridorCompoment)LuaObject.checkSelf(l);
            int levelId;
            LuaObject.checkType(l, 2, out levelId);
            bool isWin;
            LuaObject.checkType(l, 3, out isWin);
            List <int> battleTreasures;
            LuaObject.checkType <List <int> >(l, 4, out battleTreasures);
            int i = memoryCorridorCompoment.FinishedMemoryCorridorLevel(levelId, isWin, battleTreasures);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, i);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemplo n.º 17
0
 // Token: 0x06007383 RID: 29571 RVA: 0x001FE5CC File Offset: 0x001FC7CC
 public LuaExportHelper(MemoryCorridorCompoment owner)
 {
     this.m_owner = owner;
 }