private static void OnAchievementCompleted(Achievement achievement) { //IL_0035: Unknown result type (might be due to invalid IL or missing references) Main.NewText(Language.GetTextValue("Achievements.Completed", AchievementTagHandler.GenerateTag(achievement))); if (SoundEngine.FindActiveSound(SoundID.AchievementComplete) == null) { SoundEngine.PlayTrackedSound(SoundID.AchievementComplete); } }
private static void OnAchievementCompleted(Achievement achievement) { Main.NewText(Language.GetTextValue("Achievements.Completed", AchievementTagHandler.GenerateTag(achievement))); }
private static void OnAchievementCompleted(Achievement achievement) { Main.NewText(Language.GetTextValue("Achievements.Completed", (object)AchievementTagHandler.GenerateTag(achievement)), byte.MaxValue, byte.MaxValue, byte.MaxValue, false); }