Struct PluginSpellComponentInfo
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
One spell component as the client's loaded content describes it.
public readonly record struct PluginSpellComponentInfo : IEquatable<PluginSpellComponentInfo>
- Implements
- Inherited Members
Constructors
PluginSpellComponentInfo(uint, uint, string, double, uint, double, uint, uint, string, string)
One spell component as the client's loaded content describes it.
public PluginSpellComponentInfo(uint ComponentId, uint WeenieClassId, string Name, double BurnRate, uint GestureId, double GestureSpeed, uint IconId, uint SortKey, string Type, string Word)
Parameters
ComponentIduintThe component's id, as spell formulas name it.
WeenieClassIduintThe item class the component is carried as, so a caller can match it against what is in the pack.
NamestringThe component's name as shown to the player.
BurnRatedoubleHow readily the component is consumed by a failed cast.
GestureIduintThe gesture animation played for this component.
GestureSpeeddoubleHow fast that gesture is played.
IconIduintThe component's icon, as a full icon id.
SortKeyuintThe component's category number from the content table, which the client orders components by.
TypestringThe component's type name.
WordstringThe syllable spoken for this component while casting.
Properties
BurnRate
How readily the component is consumed by a failed cast.
public double BurnRate { get; init; }
Property Value
ComponentId
The component's id, as spell formulas name it.
public uint ComponentId { get; init; }
Property Value
GestureId
The gesture animation played for this component.
public uint GestureId { get; init; }
Property Value
GestureSpeed
How fast that gesture is played.
public double GestureSpeed { get; init; }
Property Value
IconId
The component's icon, as a full icon id.
public uint IconId { get; init; }
Property Value
Name
The component's name as shown to the player.
public string Name { get; init; }
Property Value
SortKey
The component's category number from the content table, which the client orders components by.
public uint SortKey { get; init; }
Property Value
Type
The component's type name.
public string Type { get; init; }
Property Value
WeenieClassId
The item class the component is carried as, so a caller can match it against what is in the pack.
public uint WeenieClassId { get; init; }
Property Value
Word
The syllable spoken for this component while casting.
public string Word { get; init; }