SerenityJS
    Preparing search index...

    Class EntityActorFlags

    Index

    Constructors

    Methods

    • Get the value of an actor flag.

      Parameters

      • flag: ActorFlag

        The actor flag to get the value of.

      Returns boolean

      The value of the actor flag, or false if it is not set.

    • Get all actor flags as an array of tuples.

      Returns [ActorFlag, boolean][]

      An array of tuples containing the actor flags and their values.

    • Set the value of an actor flag.

      Parameters

      • flag: ActorFlag

        The actor flag to set the value of.

      • Optionalvalue: null | boolean

        The value to set the actor flag to. If null or undefined, the flag will be deleted.

      Returns void