Struct PluginAttributeInfo
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
One primary attribute. Kind is 0..5.
public readonly record struct PluginAttributeInfo : IEquatable<PluginAttributeInfo>
- Implements
- Inherited Members
Constructors
PluginAttributeInfo(int, string, uint)
One primary attribute. Kind is 0..5.
public PluginAttributeInfo(int Kind, string Name, uint Current)
Parameters
Properties
Base
Unenchanted primary-attribute value.
public uint Base { get; init; }
Property Value
Current
public uint Current { get; init; }
Property Value
ExperienceSpent
The experience already put into this attribute towards the ranks it has. 0 on a host that cannot tell, and before the server has stated it.
public ulong ExperienceSpent { get; init; }
Property Value
Kind
public int Kind { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
Ranks
How many times experience has been spent to raise this attribute, which is the row a cost table is read at to price the next raise. 0 on a host that cannot tell, and before the server has stated it.
public uint Ranks { get; init; }
Property Value
StatId
The number this attribute is named by when experience is spent on it, which is what RequestAdvancement(PluginAdvancementKind, uint, ulong) takes. It is not Kind: kinds count from zero and this does not, so a zero here means the record was never filled in.
public uint StatId { get; init; }