Hierarchy

Constructors

Properties

component?: default<HTMLElement>
event: IEventEmitter<StatInfo, IInfoProviderEvents>
humanRef: WeakRef<default<unknown, number, NPC | Player>>
stat: Stat
subscribeRefreshOn: IRegistrar<StatInfo> = ...
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 undefined | string | ((entity: undefined | default<unknown, number, EntityReferenceTypes, unknown>, stat: IStat) => string)

  • Returns string[]

  • Returns Stat

  • Returns undefined | string | IIcon

  • Returns default

  • Returns void

  • Parameters

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

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

  • Returns void

  • Call when this info provider should be refreshed.

    Returns StatInfo

  • Call when this info provider should be removed.

    Returns StatInfo

Generated using TypeDoc