/// <summary> /// Load a match. /// </summary> public static MatchDetail LoadMatch(MatchSummary match) { string filename = GetMatchPath(match); return(CompressedJson.ReadFromFile <MatchDetail>(filename)); }
/// <summary> /// Save a match. /// </summary> public static void SaveMatch(MatchDetail match) { string filename = GetMatchPath(match); CompressedJson.WriteToFile(filename, match); }
/// <summary> /// Load a match. /// </summary> public static MatchDetail LoadMatch(string filename) { return(CompressedJson.ReadFromFile <MatchDetail>(filename)); }