Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Notifier

Records one-time and persistent notifications from various in-game events

Hierarchy

  • Notifier

Index

Constructors

constructor

Properties

alerts

alerts: Alert[]

memory

memory: NotifierMemory

notifications

notifications: Notification[]

Methods

alert

  • alert(message: string, roomName?: string | undefined, priority?: NotifierPriority): void

clear

  • clear(): void

generateNotificationsList

  • generateNotificationsList(links?: boolean): string[]

notify

  • notify(message: string, roomName: string, duration?: number, email?: boolean): void
  • Parameters

    • message: string
    • roomName: string
    • Default value duration: number = 100
    • Default value email: boolean = false

    Returns void

visuals

  • visuals(): void

Generated using TypeDoc