示例#1
0
 private void UpdateTrophiesNumbers()
 {
     view.UpdateTrophiesNumbers(connectToDatabase.GoldTrophies(user.Username), connectToDatabase.SilverTrophies(user.Username), connectToDatabase.BronzeTrophies(user.Username));
 }
示例#2
0
 /// <summary>
 /// Get the total amount of silver trophies.
 /// </summary>
 /// <returns>Total amount of silver trophies earned by the user.</returns>
 public int TotalSilverTrophies()
 {
     return(connectToDatabase.SilverTrophies(Username));
 }