32 lines
642 B
C#
32 lines
642 B
C#
|
using System;
|
||
|
using System.IO;
|
||
|
using Newtonsoft.Json;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
|
||
|
namespace OWTrack
|
||
|
{
|
||
|
public class Statistics
|
||
|
{
|
||
|
private Tracker tr;
|
||
|
public Statistics(Tracker tr)
|
||
|
{
|
||
|
this.tr = tr;
|
||
|
}
|
||
|
|
||
|
public int GetTotalSkillChange()
|
||
|
{
|
||
|
int change = 0;
|
||
|
foreach (var Session in tr.sessions)
|
||
|
{
|
||
|
if (Session.Matches.Count != 0)
|
||
|
{
|
||
|
foreach (var match in Session.Matches)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|