Enum LockType
A flags enumeration that determines which groups of people a SwingingDoor is locked for. Use IsLockedFor(LockType, PersonLike, Lot) to determine whether a combined lock type flag is locked for a given person.
[Flags]
public enum LockType
- Extension Methods
Fields
Employees = 4
A lock type that represents a lock for all employees, which are people that have a LotEmployment
Household = 1
A lock type that represents a lock for all household members
HouseholdFriends = 2
A lock type that represents a lock for all friends of the household, which is anyone that has a relationship type of Friends or greater with any of the household members
Others = 8
A lock type that represents a lock for everyone that doesn't match any of the other LockType categories