Hierarchy

Constructors

Properties

component?: default<HTMLElement>
event: IEventEmitter<default, IInfoProviderEvents>
humanRef: WeakRef<default<unknown, number, NPC | Player>>
stat: Stat
status: Observer<undefined | WeightStatus> = ...
subscribeRefreshOn: IRegistrar<default> = ...
multiTextParagraph: string = "info-provider-multi-text-paragraph"

Accessors

  • get human(): undefined | default<unknown, number, NPC | Player>
  • Returns undefined | default<unknown, number, NPC | Player>

Methods

  • Initialise this InfoProvider and append it to a component. The InfoProvider will be disposed on removal.

    Parameters

    Returns default<HTMLElement>

  • Returns string[]

  • Returns Stat

  • Returns undefined | string | IIcon

  • Returns void

  • Parameters

    Returns {
        component: default<HTMLElement>;
        fullInit(): void;
    }

    • component: default<HTMLElement>
    • fullInit:function
      • Returns void

  • Returns void

  • Call when this info provider should recheck whether it has contents.

    Returns default

  • Call when this info provider should be refreshed.

    Returns default

  • Call when this info provider should refresh its display level.

    Returns default

  • Call when this info provider should be removed.

    Returns default

  • Parameters

    • componentClass: Class<default<HTMLElement>, any[]>

    Returns default

  • Parameters

    • initializer: ((componenent: default<HTMLElement>) => any)
        • (componenent: default<HTMLElement>): any
        • Parameters

          Returns any

    Returns default

  • Parameters

    • shouldDisplayWhenEmpty: boolean = true

    Returns default

  • Returns boolean

Generated using TypeDoc