import { MailSendService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";
Constructors
Properties
Methods
Add items to message and adjust various properties to reflect the items being added
Create a message for storage inside a dialog in the player profile
Try to find the most correct item to be the 'primary' item in a reward mail
Get a dialog with a specified entity (user/trader) Create and store empty dialog if none exists in profile
Get the appropriate sender id by the sender enum type
perform various sanitising actions on the items before they're considered ready for insertion into message
Send a message from an NPC (e.g. prapor) to the player with or without items using direct message text, do not look up any locale
Send a message from an NPC (e.g. prapor) to the player with or without items
Send a message from SYSTEM to the player with or without items with localised text
Large function to send messages to players from a variety of sources (SYSTEM/NPC/USER) Helper functions in this class are available to simplify common actions
Send a message from the player to an NPC
Send a message from SYSTEM to the player with or without items
Send a USER message to a player with or without items