Struct MailSendBroadcast
Client → Server broadcast to send mail to another player.
public struct MailSendBroadcast : IBroadcast
- Implements
-
IBroadcast
- Inherited Members
Remarks
The attachment is named the same way a merchant sale is: an inventory slot and a quantity, never an item ID and never a value. The server resolves what is actually in that slot, takes it out of the sender's inventory itself, and attaches what it removed — so a forged message can only ever name a slot the sender does not have, or more of a stack than they hold, both of which are clamped or refused.
Fields
AttachmentQuantity
How much of that slot's stack to attach. Clamped server-side.
public int AttachmentQuantity
Field Value
AttachmentSlot
Inventory slot holding the item to attach, or -1 for no item.
public int AttachmentSlot
Field Value
Body
Mail body text.
public string Body
Field Value
CurrencyAttachment
Currency to attach. Clamped server-side to what the sender holds.
public int CurrencyAttachment
Field Value
InteractableID
ID of the mailbox interactable the player is using.
public long InteractableID
Field Value
RecipientName
Name of the recipient character.
public string RecipientName
Field Value
Subject
Mail subject line.
public string Subject