Options
All
  • Public
  • Public/Protected
  • All
Menu

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

see

User#targets

Hierarchy

  • Set
    • UserTargets

Index

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • user: any

    Returns UserTargets

Properties

user: any

Accessors

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

    Returns string[]

Methods

  • add(token: any): void
  • override

    Parameters

    • token: any

    Returns void

  • clear(): void
  • override

    Returns void

  • delete(token: any): void
  • override

    Parameters

    • token: any

    Returns void

  • _hook(token: any, targeted: any): void
  • Dispatch the targetToken hook whenever the user's target set changes

    Parameters

    • token: any
    • targeted: any

    Returns void