A class in Root.Township, the global namespace.
Client tool that, after login, asks the API for supporter subscription rewards and shows a popup with an effect and sound for each Talem reward.
Constructors
| Member | What it is |
|---|
SubscriptionManager() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
| Member | What it is |
|---|
private PooledObjectDefinition effect | Pooled effect spawned at the popup. |
private static Logger logger | NLog logger for API errors. |
private SoundEffectSet soundEffectSet | Sound played at the popup. |
Methods
| Member | What it is |
|---|
protected override async void LoggedIn() | Checks for subscription rewards and shows a popup for each Talem reward. |
protected override void LoggedOut() | Does nothing. |