A subclass of Set which manages the Token ids which the User has targeted.

See

User#targets

Hierarchy

  • Set
    • UserTargets

Accessors

Methods

Accessors

  • get ids(): string[]
  • Return the Token IDs which are user targets

    Returns string[]

Methods

  • Returns void

  • Parameters

    • token: any

    Returns boolean

  • Dispatch the targetToken hook whenever the user's target set changes.

    Parameters

    • token: Token

      The targeted Token

    • targeted: boolean

      Whether the Token has been targeted or untargeted

    Returns void