Table of Contents

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

SkillId uint

The skill's id.

Name string

The skill's name as shown to the player; empty when the client has no name for it.

Training PluginSkillTraining

How far the skill has been trained.

Current uint

The 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

uint

Current

The skill level in effect right now, enchantments included.

public uint Current { get; init; }

Property Value

uint

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

ulong

IconId

The skill's icon, as a full icon id; 0 when it has none.

public uint IconId { get; init; }

Property Value

uint

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

string

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

uint

SkillId

The skill's id.

public uint SkillId { get; init; }

Property Value

uint

Training

How far the skill has been trained.

public PluginSkillTraining Training { get; init; }

Property Value

PluginSkillTraining