Esempio n. 1
0
    public static int get_Reward(IntPtr l)
    {
        int result;

        try
        {
            ArenaVictoryPointsRewardGainNetTask arenaVictoryPointsRewardGainNetTask = (ArenaVictoryPointsRewardGainNetTask)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, arenaVictoryPointsRewardGainNetTask.Reward);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Esempio n. 2
0
    public static int constructor(IntPtr l)
    {
        int result;

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