Table of Contents

Struct MailSendBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

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

int

AttachmentSlot

Inventory slot holding the item to attach, or -1 for no item.

public int AttachmentSlot

Field Value

int

Body

Mail body text.

public string Body

Field Value

string

CurrencyAttachment

Currency to attach. Clamped server-side to what the sender holds.

public int CurrencyAttachment

Field Value

int

InteractableID

ID of the mailbox interactable the player is using.

public long InteractableID

Field Value

long

RecipientName

Name of the recipient character.

public string RecipientName

Field Value

string

Subject

Mail subject line.

public string Subject

Field Value

string