Models
Message
Represents a message sent by a player or an addon.
This model represents the database table fivepd_messages. When modifying any properties of this model, ensure that you have saved the changes using the DatabaseContext.
Properties
Id
Gets or sets the identifier of the message.
Type: int
Sender
Gets or sets the sender of the message. Either a player's name or an addons name.
Type: string
Subject
Gets or sets the subject of the message.
Type: string
Content
Gets or sets the message.
Type: string
SentAt
Gets or sets the date and time the message was sent.
Type: DateTime
Read
Gets or sets a value indicating whether the message has been read.
Type: bool
User
Gets or sets the user the message was sent to.
Type: User