Skip to main content

PlayerInteractionRestrictorData

A class in Root.Township, the global namespace.

Save data for a PlayerInteractionRestrictor: its id and its interaction limit.

Constructors​

MemberWhat it is
PlayerInteractionRestrictorData()Creates a PlayerInteractionRestrictorData with default values.

Fields​

MemberWhat it is
int idThe restrictor's id in PlayerInteractionManager.
int interactionsPerChargeHow many interactions a player gets per charge.