Table of Contents

Class ChatEntity

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

Chat message entity representing a persisted chat message from any channel.

public class ChatEntity : IVersionedEntity
Inheritance
ChatEntity
Implements
Inherited Members

Properties

AccountName

Account name of the message sender.

public string AccountName { get; set; }

Property Value

string

Channel

Chat channel (e.g. global, local, whisper, guild, party).

public byte Channel { get; set; }

Property Value

byte

CharacterID

Character ID of the message sender.

public long CharacterID { get; set; }

Property Value

long

CharacterName

Character name of the message sender (denormalized for query convenience).

public string CharacterName { get; set; }

Property Value

string

ID

Primary key.

public long ID { get; set; }

Property Value

long

Message

The chat message body text.

public string Message { get; set; }

Property Value

string

SceneServerID

Scene server ID where the message originated.

public long SceneServerID { get; set; }

Property Value

long

ServerReceivedTime

UTC timestamp when the server received the message.

public DateTime ServerReceivedTime { get; set; }

Property Value

DateTime

TimeCreated

Row creation timestamp (UTC).

public DateTime TimeCreated { get; set; }

Property Value

DateTime

Version

Concurrency version for optimistic locking.

public long Version { get; set; }

Property Value

long

WorldServerID

World server ID where the message originated.

public long WorldServerID { get; set; }

Property Value

long