WIP: Major update #45
32
OWTrack/Statistics.cs
Normal file
32
OWTrack/Statistics.cs
Normal file
@ -0,0 +1,32 @@
|
||||
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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user