Table of Contents

Struct PluginFellowMember

Namespace
AcDream.Plugin.Abstractions
Assembly
AcDream.Plugin.Abstractions.dll

One member of the player's fellowship: the vitals the server sends for the roster, plus how far away the member currently is.

public readonly record struct PluginFellowMember : IEquatable<PluginFellowMember>
Implements
Inherited Members

Constructors

PluginFellowMember(uint, string, uint, uint, uint, uint, uint, uint, float)

One member of the player's fellowship: the vitals the server sends for the roster, plus how far away the member currently is.

public PluginFellowMember(uint ObjectId, string Name, uint CurrentHealth, uint MaxHealth, uint CurrentStamina, uint MaxStamina, uint CurrentMana, uint MaxMana, float Distance)

Parameters

ObjectId uint

The member's object id.

Name string

The member's character name.

CurrentHealth uint

The member's current health.

MaxHealth uint

The member's maximum health.

CurrentStamina uint

The member's current stamina.

MaxStamina uint

The member's maximum stamina.

CurrentMana uint

The member's current mana.

MaxMana uint

The member's maximum mana.

Distance float

Straight-line distance from the local player in metres, centre to centre and height included -- the same measure Distance uses; zero for the local player's own entry.

Properties

CurrentHealth

The member's current health.

public uint CurrentHealth { get; init; }

Property Value

uint

CurrentMana

The member's current mana.

public uint CurrentMana { get; init; }

Property Value

uint

CurrentStamina

The member's current stamina.

public uint CurrentStamina { get; init; }

Property Value

uint

Distance

Straight-line distance from the local player in metres, centre to centre and height included -- the same measure Distance uses; zero for the local player's own entry.

public float Distance { get; init; }

Property Value

float

Level

The member's level as the fellowship roster last reported it; zero on a host that does not report it.

public uint Level { get; init; }

Property Value

uint

MaxHealth

The member's maximum health.

public uint MaxHealth { get; init; }

Property Value

uint

MaxMana

The member's maximum mana.

public uint MaxMana { get; init; }

Property Value

uint

MaxStamina

The member's maximum stamina.

public uint MaxStamina { get; init; }

Property Value

uint

Name

The member's character name.

public string Name { get; init; }

Property Value

string

ObjectId

The member's object id.

public uint ObjectId { get; init; }

Property Value

uint

ShareLoot

True when the member takes a share of fellowship loot.

public bool ShareLoot { get; init; }

Property Value

bool

VitalsAgeSeconds

Seconds since the server last streamed this fellow's vitals; null when it never has. The stream runs only while the host holds a vitals subscription (see RequestVitals(bool)).

public double? VitalsAgeSeconds { get; init; }

Property Value

double?