Table of Contents

Struct CharacterPartyData

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

Character party membership data transfer object.

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

Constructors

CharacterPartyData(long, long, long, byte, float)

public CharacterPartyData(long id, long characterID, long partyID, byte rank, float healthPCT)

Parameters

id long
characterID long
partyID long
rank byte
healthPCT float

CharacterPartyData(long, long, long, long, byte, float)

public CharacterPartyData(long id, long version, long characterID, long partyID, byte rank, float healthPCT)

Parameters

id long
version long
characterID long
partyID long
rank byte
healthPCT float

Fields

CharacterID

public readonly long CharacterID

Field Value

long

HealthPCT

public readonly float HealthPCT

Field Value

float

ID

public readonly long ID

Field Value

long

PartyID

public readonly long PartyID

Field Value

long

Rank

public readonly byte Rank

Field Value

byte

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

Parameters

newVersion long

The new version value.

Returns

CharacterPartyData

A new instance with the updated version.