Table of Contents

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

Kind int
Name string
Current uint

Properties

Base

Unenchanted primary-attribute value.

public uint Base { get; init; }

Property Value

uint

Current

public uint Current { get; init; }

Property Value

uint

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

ulong

Kind

public int Kind { get; init; }

Property Value

int

Name

public string Name { get; init; }

Property Value

string

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

uint

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; }

Property Value

uint