Table of Contents

Class CharacterPetEntity

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

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

public class CharacterPetEntity : IVersionedEntity
Inheritance
CharacterPetEntity
Implements
Inherited Members

Properties

Abilities

List of ability identifiers known by this pet.

public List<int> Abilities { get; set; }

Property Value

List<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

Deleted

public bool Deleted { get; set; }

Property Value

bool

ID

Primary key.

public long ID { get; set; }

Property Value

long

Spawned

Whether the pet is currently spawned in the world.

public bool Spawned { get; set; }

Property Value

bool

TemplateID

Template identifier for this pet.

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