private void OnTrophyGotGroupInfo(Messages.PluginMessage msg)
 {
     OnScreenLog.Add("Got Group List!");
     Trophies.GroupDetails[] cachedGroupDetails = Trophies.GetCachedGroupDetails();
     Trophies.GroupData[]    cachedGroupData    = Trophies.GetCachedGroupData();
     OnScreenLog.Add("Groups: " + cachedGroupDetails.Length);
     for (int i = 0; i < cachedGroupDetails.Length; i++)
     {
         if (cachedGroupDetails[i].hasIcon && trophyGroupIcon == null)
         {
             trophyGroupIcon = cachedGroupDetails[i].icon;
             OnScreenLog.Add("Found icon: " + trophyGroupIcon.width + ", " + trophyGroupIcon.height);
         }
         OnScreenLog.Add(" " + i + ": " + cachedGroupDetails[i].groupId + ", " + cachedGroupDetails[i].title + ", " + cachedGroupDetails[i].description + ", " + cachedGroupDetails[i].numTrophies + ", " + cachedGroupDetails[i].numPlatinum + ", " + cachedGroupDetails[i].numGold + ", " + cachedGroupDetails[i].numSilver + ", " + cachedGroupDetails[i].numBronze);
         OnScreenLog.Add(" " + i + ": " + cachedGroupData[i].groupId + ", " + cachedGroupData[i].unlockedTrophies + ", " + cachedGroupData[i].unlockedPlatinum + ", " + cachedGroupData[i].unlockedGold + ", " + cachedGroupData[i].unlockedSilver + ", " + cachedGroupData[i].unlockedBronze + ", " + cachedGroupData[i].progressPercentage + cachedGroupData[i].userId.ToString("X"));
     }
 }
 private void OnTrophyGotGroupInfo(Messages.PluginMessage msg)
 {
     OnScreenLog.Add("Got Group List!");
     Trophies.GroupDetails[] cachedGroupDetails = Trophies.GetCachedGroupDetails();
     Trophies.GroupData[]    cachedGroupData    = Trophies.GetCachedGroupData();
     OnScreenLog.Add("Groups: " + cachedGroupDetails.Length);
     for (int i = 0; i < cachedGroupDetails.Length; i++)
     {
         if (cachedGroupDetails[i].get_hasIcon() && this.trophyGroupIcon == null)
         {
             this.trophyGroupIcon = cachedGroupDetails[i].get_icon();
             OnScreenLog.Add(string.Concat(new object[]
             {
                 "Found icon: ",
                 this.trophyGroupIcon.get_width(),
                 ", ",
                 this.trophyGroupIcon.get_height()
             }));
         }
         OnScreenLog.Add(string.Concat(new object[]
         {
             " ",
             i,
             ": ",
             cachedGroupDetails[i].groupId,
             ", ",
             cachedGroupDetails[i].get_title(),
             ", ",
             cachedGroupDetails[i].get_description(),
             ", ",
             cachedGroupDetails[i].numTrophies,
             ", ",
             cachedGroupDetails[i].numPlatinum,
             ", ",
             cachedGroupDetails[i].numGold,
             ", ",
             cachedGroupDetails[i].numSilver,
             ", ",
             cachedGroupDetails[i].numBronze
         }));
         OnScreenLog.Add(string.Concat(new object[]
         {
             " ",
             i,
             ": ",
             cachedGroupData[i].groupId,
             ", ",
             cachedGroupData[i].unlockedTrophies,
             ", ",
             cachedGroupData[i].unlockedPlatinum,
             ", ",
             cachedGroupData[i].unlockedGold,
             ", ",
             cachedGroupData[i].unlockedSilver,
             ", ",
             cachedGroupData[i].unlockedBronze,
             ", ",
             cachedGroupData[i].progressPercentage,
             cachedGroupData[i].userId.ToString("X")
         }));
     }
 }