Skip to main content

IPlayerControllerMultiLockModel

An interface in Root.Township, the global namespace.

A lock that many objects can hold at once on a player controller feature. It stays locked while any holder remains.

Properties​

MemberWhat it is
bool IsLocked { get; }True while at least one holder has the lock.

Methods​

MemberWhat it is
void AddLock(object lockerObject)Adds a holder of the lock.
void RemoveLock(object lockerObject)Removes a holder of the lock.

Used in​

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