示例#1
0
 private void OnTrophyGotProgress(Messages.PluginMessage msg)
 {
     Trophies.TrophyProgress cachedTrophyProgress = Trophies.GetCachedTrophyProgress();
     OnScreenLog.Add("Progress for userId: 0x" + cachedTrophyProgress.userId.ToString("X"));
     OnScreenLog.Add("progressPercentage: " + cachedTrophyProgress.progressPercentage);
     OnScreenLog.Add("unlockedTrophies: " + cachedTrophyProgress.unlockedTrophies);
     OnScreenLog.Add("unlockedPlatinum: " + cachedTrophyProgress.unlockedPlatinum);
     OnScreenLog.Add("unlockedGold: " + cachedTrophyProgress.unlockedGold);
     OnScreenLog.Add("unlockedSilver: " + cachedTrophyProgress.unlockedSilver);
     OnScreenLog.Add("unlockedBronze: " + cachedTrophyProgress.unlockedBronze);
 }