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

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

        try
        {
            int unchartedScoreId;
            LuaObject.checkType(l, 2, out unchartedScoreId);
            int levelId;
            LuaObject.checkType(l, 3, out levelId);
            ProBattleReport battleReport;
            LuaObject.checkType <ProBattleReport>(l, 4, out battleReport);
            UnchartedScoreChallengeLevelBattleFinishedNetTask o = new UnchartedScoreChallengeLevelBattleFinishedNetTask(unchartedScoreId, levelId, battleReport);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }