Table of Contents

Class CharacterItemCooldownEntity

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

Entity representing a character's item cooldown data in the database.

public class CharacterItemCooldownEntity : IVersionedEntity
Inheritance
CharacterItemCooldownEntity
Implements
Inherited Members

Properties

Category

Cooldown category or group identifier for this item.

public int Category { get; set; }

Property Value

int

Character

public CharacterEntity Character { get; set; }

Property Value

CharacterEntity

CharacterID

Foreign key to the owning character.

public long CharacterID { get; set; }

Property Value

long

CooldownEnd

Unix timestamp (seconds) when the cooldown expires. Stored as double rather than DateTime to maintain compatibility with Unity's game time representation and to avoid timezone-related serialization issues between the server and client.

public double CooldownEnd { get; set; }

Property Value

double

Deleted

public bool Deleted { get; set; }

Property Value

bool

ID

Primary key.

public long ID { get; set; }

Property Value

long

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