private static string GetFriendlyNameFromGameID(GameID gameID) { var gameIDStr = gameID.GetOfflineTwoPlayerGameID(); var parts = gameIDStr.Split(new char[] { '_' }); System.Diagnostics.Debug.Assert(parts.Length == 2); System.Diagnostics.Debug.Assert(parts[1].EndsWith(_extension)); return(parts[0]); }
private static string GetFileNameFromGameID(GameID gameID) { var id = gameID.GetOfflineTwoPlayerGameID(); return(id + _extension); }