Exemple #1
0
        /// <summary>
        /// Load a match.
        /// </summary>
        public static MatchDetail LoadMatch(MatchSummary match)
        {
            string filename = GetMatchPath(match);

            return(CompressedJson.ReadFromFile <MatchDetail>(filename));
        }
Exemple #2
0
        /// <summary>
        /// Save a match.
        /// </summary>
        public static void SaveMatch(MatchDetail match)
        {
            string filename = GetMatchPath(match);

            CompressedJson.WriteToFile(filename, match);
        }
Exemple #3
0
 /// <summary>
 /// Load a match.
 /// </summary>
 public static MatchDetail LoadMatch(string filename)
 {
     return(CompressedJson.ReadFromFile <MatchDetail>(filename));
 }