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

        try
        {
            DataSectionNovice dataSectionNovice = (DataSectionNovice)LuaObject.checkSelf(l);
            dataSectionNovice.ClearInitedData();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 2
0
    public static int get_MissionPoints(IntPtr l)
    {
        int result;

        try
        {
            DataSectionNovice dataSectionNovice = (DataSectionNovice)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, dataSectionNovice.MissionPoints);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 3
0
    public static int constructor(IntPtr l)
    {
        int result;

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

        try
        {
            DataSectionNovice dataSectionNovice = (DataSectionNovice)LuaObject.checkSelf(l);
            object            o = dataSectionNovice.SerializeToClient();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 5
0
    public static int AddMissionPoints(IntPtr l)
    {
        int result;

        try
        {
            DataSectionNovice dataSectionNovice = (DataSectionNovice)LuaObject.checkSelf(l);
            int delta;
            LuaObject.checkType(l, 2, out delta);
            dataSectionNovice.AddMissionPoints(delta);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 6
0
    public static int set_RewardClaimedSlots(IntPtr l)
    {
        int result;

        try
        {
            DataSectionNovice dataSectionNovice = (DataSectionNovice)LuaObject.checkSelf(l);
            List <int>        rewardClaimedSlots;
            LuaObject.checkType <List <int> >(l, 2, out rewardClaimedSlots);
            dataSectionNovice.RewardClaimedSlots = rewardClaimedSlots;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 7
0
    public static int AddRewardClaimSlot(IntPtr l)
    {
        int result;

        try
        {
            DataSectionNovice dataSectionNovice = (DataSectionNovice)LuaObject.checkSelf(l);
            int slot;
            LuaObject.checkType(l, 2, out slot);
            dataSectionNovice.AddRewardClaimSlot(slot);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }