Skip to main content
The Deno 2 Release Candidate is here
Learn more
method MailSendService.prototype.addRewardItemsToMessage
import { MailSendService } from "https://deno.land/x/sptaki@1.2.0/services/MailSendService.d.ts";

Add items to message and adjust various properties to reflect the items being added

Parameters

message: Message

Message to add items to

itemsToSendToPlayer: MessageItems

Items to add to message

maxStorageTimeSeconds: number

total time items are stored in mail before being deleted