Skip to main content

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.

Constructors​

MemberWhat 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​

MemberWhat it is
int idThe limited object's id, handed out by PlayerInteractionManager.GetId.
int interactionsLeftInteractions this player still has on that object until the next refresh.

Used in​

Members of other types that take, return or hold a Tracker: