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

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

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