Exemple #1
0
    public static int get_ExtraReward(IntPtr l)
    {
        int result;

        try
        {
            HeroDungeonLevelRaidNetTask heroDungeonLevelRaidNetTask = (HeroDungeonLevelRaidNetTask)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, heroDungeonLevelRaidNetTask.ExtraReward);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #2
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            int heroDungeonLevelID;
            LuaObject.checkType(l, 2, out heroDungeonLevelID);
            int count;
            LuaObject.checkType(l, 3, out count);
            HeroDungeonLevelRaidNetTask o = new HeroDungeonLevelRaidNetTask(heroDungeonLevelID, count);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }