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
ObjectIduintThe member's object id.
NamestringThe member's character name.
CurrentHealthuintThe member's current health.
MaxHealthuintThe member's maximum health.
CurrentStaminauintThe member's current stamina.
MaxStaminauintThe member's maximum stamina.
CurrentManauintThe member's current mana.
MaxManauintThe member's maximum mana.
DistancefloatStraight-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
CurrentMana
The member's current mana.
public uint CurrentMana { get; init; }
Property Value
CurrentStamina
The member's current stamina.
public uint CurrentStamina { get; init; }
Property Value
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
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
MaxHealth
The member's maximum health.
public uint MaxHealth { get; init; }
Property Value
MaxMana
The member's maximum mana.
public uint MaxMana { get; init; }
Property Value
MaxStamina
The member's maximum stamina.
public uint MaxStamina { get; init; }
Property Value
Name
The member's character name.
public string Name { get; init; }
Property Value
ObjectId
The member's object id.
public uint ObjectId { get; init; }
Property Value
ShareLoot
True when the member takes a share of fellowship loot.
public bool ShareLoot { get; init; }
Property Value
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; }