Search Results for

    Show / Hide Table of Contents

    Enum LockType

    A flags enumeration that determines which groups of people a SwingingDoor is locked for. Use IsLockedFor(LockType, Person, Lot) to determine whether a combined lock type flag is locked for a given person.

    Namespace: TinyLife.World
    Assembly: Tiny Life.dll
    Syntax
    [Flags]
    public enum LockType

    Fields

    Name Description
    Employees

    A lock type that represents a lock for all employees, which are people that have a LotEmployment

    Household

    A lock type that represents a lock for all household members

    HouseholdFriends

    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

    A lock type that represents a lock for everyone that doesn't match any of the other LockType categories

    Extension Methods

    Extensions.JsonCopy<LockType>()
    Extensions.IsLockedFor(Person, Lot)
    ☀
    ☾
    In This Article
    Back to top
    © 2021-2022 Ellpeck – Impressum – Privacy – Status
    ☀
    ☾