Struct PluginSkillInfo
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
One of the character's skills.
public readonly record struct PluginSkillInfo : IEquatable<PluginSkillInfo>
- Implements
- Inherited Members
Constructors
PluginSkillInfo(uint, string, PluginSkillTraining, uint)
One of the character's skills.
public PluginSkillInfo(uint SkillId, string Name, PluginSkillTraining Training, uint Current)
Parameters
SkillIduintThe skill's id.
NamestringThe skill's name as shown to the player; empty when the client has no name for it.
TrainingPluginSkillTrainingHow far the skill has been trained.
CurrentuintThe skill level in effect right now, enchantments included.
Properties
Base
The skill level before enchantments. Defaults to Current when the caller sets no separate value.
public uint Base { get; init; }
Property Value
Current
The skill level in effect right now, enchantments included.
public uint Current { get; init; }
Property Value
ExperienceSpent
The experience already put into this skill towards the ranks it has. 0 on a host that cannot tell, and before the server has stated the skill.
public ulong ExperienceSpent { get; init; }
Property Value
IconId
The skill's icon, as a full icon id; 0 when it has none.
public uint IconId { get; init; }
Property Value
Name
The skill's name as shown to the player; empty when the client has no name for it.
public string Name { get; init; }
Property Value
Ranks
How many times experience has been spent to raise this skill, 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 the skill.
public uint Ranks { get; init; }
Property Value
SkillId
The skill's id.
public uint SkillId { get; init; }
Property Value
Training
How far the skill has been trained.
public PluginSkillTraining Training { get; init; }