Base class for classes used to create and edit animations.

Hierarchy (view full)

Constructors

  • Parameters

    • Optionalopt: {
          brightness?: number;
          colorway?:
              | "custom"
              | "unknown"
              | "onyxBlack"
              | "hematiteGrey"
              | "midnightGalaxy"
              | "auroraSky"
              | "clear"
              | "whiteAurora";
          creationDate?: Date;
          description?: string;
          dieType?:
              | "unknown"
              | "d4"
              | "d6"
              | "d8"
              | "d10"
              | "d00"
              | "d12"
              | "d20"
              | "d6pipped"
              | "d6fudge";
          lastModified?: Date;
          name?: string;
          rules?: Profiles.Rule[];
          uuid?: string;
      }
      • Optionalbrightness?: number
      • Optionalcolorway?:
            | "custom"
            | "unknown"
            | "onyxBlack"
            | "hematiteGrey"
            | "midnightGalaxy"
            | "auroraSky"
            | "clear"
            | "whiteAurora"
      • OptionalcreationDate?: Date
      • Optionaldescription?: string
      • OptionaldieType?:
            | "unknown"
            | "d4"
            | "d6"
            | "d8"
            | "d10"
            | "d00"
            | "d12"
            | "d20"
            | "d6pipped"
            | "d6fudge"
      • OptionallastModified?: Date
      • Optionalname?: string
      • Optionalrules?: Profiles.Rule[]
      • Optionaluuid?: string

    Returns Profiles.Profile

Properties

brightness: number
colorway:
    | "custom"
    | "unknown"
    | "onyxBlack"
    | "hematiteGrey"
    | "midnightGalaxy"
    | "auroraSky"
    | "clear"
    | "whiteAurora"
creationDate: Date
description: string
dieType:
    | "unknown"
    | "d4"
    | "d6"
    | "d8"
    | "d10"
    | "d00"
    | "d12"
    | "d20"
    | "d6pipped"
    | "d6fudge"
lastModified: Date
name: string
rules: Profiles.Rule[]

Accessors

  • get uuid(): string
  • Returns string

Methods

  • Parameters

    • actionId: number

    Returns undefined | ActionRunOnDevice

  • Parameters

    • type:
          | "none"
          | "playAnimation"
          | "playAudioClip"
          | "makeWebRequest"
          | "speakText"

    Returns boolean