Table of Contents

Struct CharacterFactionData

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

Character faction data transfer object.

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

Constructors

CharacterFactionData(long, long, int, int)

public CharacterFactionData(long id, long characterID, int templateID, int value)

Parameters

id long
characterID long
templateID int
value int

CharacterFactionData(long, long, long, int, int)

public CharacterFactionData(long id, long version, long characterID, int templateID, int value)

Parameters

id long
version long
characterID long
templateID int
value int

Fields

CharacterID

public readonly long CharacterID

Field Value

long

ID

public readonly long ID

Field Value

long

TemplateID

public readonly int TemplateID

Field Value

int

Value

public readonly int Value

Field Value

int

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 CharacterFactionData WithVersion(long newVersion)

Parameters

newVersion long

The new version value.

Returns

CharacterFactionData

A new instance with the updated version.