Struct CharacterFactionData
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
CharacterFactionData(long, long, long, int, int)
public CharacterFactionData(long id, long version, long characterID, int templateID, int value)
Parameters
Fields
CharacterID
public readonly long CharacterID
Field Value
ID
public readonly long ID
Field Value
TemplateID
public readonly int TemplateID
Field Value
Value
public readonly int Value
Field Value
Version
public readonly long Version
Field Value
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
newVersionlongThe new version value.
Returns
- CharacterFactionData
A new instance with the updated version.