From a2d7f8f888762273395feccc711819b9ec6cc7c6 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Sun, 23 Dec 2018 20:52:07 +0300 Subject: [PATCH] stats class. Incomplete. Add In VS --- OWTrack/Statistics.cs | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 OWTrack/Statistics.cs diff --git a/OWTrack/Statistics.cs b/OWTrack/Statistics.cs new file mode 100644 index 0000000..f202751 --- /dev/null +++ b/OWTrack/Statistics.cs @@ -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) + { + + } + } + } + } + } +} \ No newline at end of file