stats class. Incomplete. Add In VS
This commit is contained in:
parent
74cd192c8a
commit
a2d7f8f888
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