Table of Contents

Class CharacterMailEntity

Namespace
FishMMO.Database.Npgsql.Entities
Assembly
FishMMO-DB.dll

Entity representing a character's mail message data in the database.

public class CharacterMailEntity : IVersionedEntity
Inheritance
CharacterMailEntity
Implements
Inherited Members

Properties

Body

Body text of the mail message.

public string Body { get; set; }

Property Value

string

CharacterID

Foreign key to the owning character (recipient).

public long CharacterID { get; set; }

Property Value

long

CurrencyAttachment

Currency amount attached to this mail.

public int CurrencyAttachment { get; set; }

Property Value

int

Deleted

public bool Deleted { get; set; }

Property Value

bool

ID

Primary key.

public long ID { get; set; }

Property Value

long

ItemAttachmentAmount

Quantity of the attached item.

public uint ItemAttachmentAmount { get; set; }

Property Value

uint

ItemAttachmentSeed

Randomization seed for the attached item's properties.

public int ItemAttachmentSeed { get; set; }

Property Value

int

ItemAttachmentTemplateID

Template identifier for an item attachment, or zero if no item is attached.

public int ItemAttachmentTemplateID { get; set; }

Property Value

int

Read

Whether the recipient has read this mail.

public bool Read { get; set; }

Property Value

bool

SenderID

Foreign key to the character who sent this mail.

public long SenderID { get; set; }

Property Value

long

SenderName

Display name of the sender at the time the mail was sent.

public string SenderName { get; set; }

Property Value

string

Subject

Subject line of the mail message.

public string Subject { get; set; }

Property Value

string

TimeCreated

public DateTime TimeCreated { get; set; }

Property Value

DateTime

TimeDeleted

public DateTime? TimeDeleted { get; set; }

Property Value

DateTime?

Version

Application-level concurrency token. Incremented on every write to detect stale updates.

public long Version { get; set; }

Property Value

long