public string Description() { var stringBuilder = new StringBuilder(); stringBuilder.Append($"Games won: {GamesWon.GetValueOrDefault(0)}, "); stringBuilder.Append($"Prestige: {Prestige.GetValueOrDefault(0)}, "); stringBuilder.Append($"Rating: {Rating}, "); stringBuilder.Append($"F*g: {(new Random().Next(2) == 0 ? "Yes" : "No")}"); return(stringBuilder.ToString()); }
public string Title(string battleTag) { return($"{battleTag} (Level {(Prestige.GetValueOrDefault(0) * 100) + Level.GetValueOrDefault(0)})"); }