Table of Contents

Struct CharacterSkillData

Namespace
FishMMO.Database.Data
Assembly
FishMMO-DB.dll

Character skill data transfer object.

public struct CharacterSkillData : IVersioned<CharacterSkillData>
Implements
Inherited Members
Extension Methods

Constructors

CharacterSkillData(long, long, int, int, int, double, double)

public CharacterSkillData(long id, long characterID, int templateID, int level, int experience, double castTimeEnd, double cooldownEnd)

Parameters

id long
characterID long
templateID int
level int
experience int
castTimeEnd double
cooldownEnd double

CharacterSkillData(long, long, long, int, int, int, double, double)

public CharacterSkillData(long id, long version, long characterID, int templateID, int level, int experience, double castTimeEnd, double cooldownEnd)

Parameters

id long
version long
characterID long
templateID int
level int
experience int
castTimeEnd double
cooldownEnd double

Fields

CastTimeEnd

Timestamp when cast completes.

public readonly double CastTimeEnd

Field Value

double

CharacterID

Character that owns this skill.

public readonly long CharacterID

Field Value

long

CooldownEnd

Timestamp when cooldown ends.

public readonly double CooldownEnd

Field Value

double

Experience

Current skill experience.

public readonly int Experience

Field Value

int

ID

Primary key.

public readonly long ID

Field Value

long

Level

Current skill level.

public readonly int Level

Field Value

int

TemplateID

Skill template ID.

public readonly int TemplateID

Field Value

int

Version

Optimistic concurrency version.

public readonly long Version

Field Value

long

Methods

WithVersion(long)

Returns a new instance of this DTO with the specified version. Used by extension methods to create incremented copies.

public CharacterSkillData WithVersion(long newVersion)

Parameters

newVersion long

The new version value.

Returns

CharacterSkillData

A new instance with the updated version.