Inheritance: System.EventArgs
 private void OnAchievementsUnlocked(object sender, AchievementEventArgs e)
 {
     if (AchievementsUnlocked != null)
     {
         AchievementsUnlocked(sender, e);
     }
 }
示例#2
0
文件: Program.cs 项目: cohenw/strokes
        private static void AchievementContext_AchievementsUnlocked(object sender, AchievementEventArgs args)
        {
            System.Console.WriteLine("Unlocked: " + string.Join(", ", args.UnlockedAchievements.Select(a => a.Name)));

            notificationBox.ShowAchievements(args.UnlockedAchievements);
        }