Table of Contents

Class CharacterBuffEntity

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

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

public class CharacterBuffEntity : IVersionedEntity
Inheritance
CharacterBuffEntity
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

RemainingTime

Remaining duration of the buff in seconds.

public double RemainingTime { get; set; }

Property Value

double

Stacks

Number of stacks of this buff applied.

public int Stacks { get; set; }

Property Value

int

TemplateID

Template identifier for this buff.

public int TemplateID { get; set; }

Property Value

int

TickCount

Total number of ticks that have occurred for this buff.

public int TickCount { get; set; }

Property Value

int

TickTime

Interval in seconds between periodic tick effects.

public double TickTime { get; set; }

Property Value

double

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