import { NotificationSendHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";
Constructors
new
NotificationSendHelper(webSocketServer: WebSocketServer,
hashUtil: HashUtil,
saveServer: SaveServer,
notificationService: NotificationService,
Properties
protected
hashUtil: HashUtilprotected
notificationService: NotificationServiceprotected
saveServer: SaveServerprotected
webSocketServer: WebSocketServerMethods
Helper function for sendMessageToPlayer(), get new dialog for storage in profile or find existing by sender id
sendMessage(sessionID: string, notificationMessage: INotification): void
Send notification message to the appropriate channel
sendMessageToPlayer(): void
Send a message directly to the player