PlayerInteractionManager.Tracker
A class in Root.Township, the global namespace.
How many interactions one player has left on one limited object, keyed by id in PlayerInteractionManager. The server sends it to that player when it changes; trackers clear once a game day.
- Listed in Global namespace: P
- Nested in
PlayerInteractionManager
Constructors
| Member | What it is |
|---|---|
Tracker() | Creates a PlayerInteractionManager.Tracker from id and interactionsLeft. |
Tracker(int id, int interactionsLeft) | Creates a PlayerInteractionManager.Tracker from id and interactionsLeft. |
Fields
| Member | What it is |
|---|---|
int id | The limited object's id, handed out by PlayerInteractionManager.GetId. |
int interactionsLeft | Interactions this player still has on that object until the next refresh. |
Used in
Members of other types that take, return or hold a Tracker: