コード例 #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 gold trophies.
 /// </summary>
 /// <returns>Total amount of gold trophies earned by the user.</returns>
 public int TotalGoldTrophies()
 {
     return(connectToDatabase.GoldTrophies(Username));
 }