Skip to main content

AchievementEffectHandler

A static class in Root.Township, the global namespace.

Client: plays the quest-complete effect on the player's head for each unlocked achievement, one at a time.

Fields​

1 private and internal field
MemberWhat it is
private static Queue<GameAchievement> effectQueueAchievements waiting to show their effect.

Methods​

MemberWhat it is
static void CallEffect(GameAchievement achievement)Queues an achievement's effect and starts playing if the queue was empty.
2 private and internal methods
MemberWhat it is
private static void MoveQueue(PooledObject pooledObject)When an effect is released, removes it from the queue and plays the next.
private static async void Play()Waits the achievement's unlock delay, then spawns its effect with the description. Clears the queue if there's no local player.