Table of Contents

Class CharacterQuestEntity

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

Entity representing a character's quest data in the database.

public class CharacterQuestEntity : IVersionedEntity
Inheritance
CharacterQuestEntity
Implements
Inherited Members

Properties

Character

public CharacterEntity Character { get; set; }

Property Value

CharacterEntity

CharacterID

Foreign key to the owning character.

public long CharacterID { get; set; }

Property Value

long

Deleted

public bool Deleted { get; set; }

Property Value

bool

ID

Primary key.

public long ID { get; set; }

Property Value

long

ObjectiveValues

Serialized objective progress values for this quest. Format: comma-separated integers ("0,5,0,3") where each index corresponds to the quest template's objective at the same index. The reader and writer MUST agree on objective ordering; changing the template after quests are in-flight requires a migration.

public string ObjectiveValues { get; set; }

Property Value

string

Status

Current status of the quest (e.g., inactive, active, completed).

public byte Status { get; set; }

Property Value

byte

TemplateID

Template identifier for this quest.

public int TemplateID { get; set; }

Property Value

int

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