Struct Spell
- Namespace
- SkyrimForge.Game
- Assembly
- SkyrimForge.dll
A view over RE::SpellItem. It stores the address and nothing else, and its members are extensions.
public readonly struct Spell : IPapyrusSpell, ISpell, IMagicItem, ITESBoundObject, ITESObject, IForm, IAddressable, IEquatable<Spell>
- Implements
- Inherited Members
Properties
Exists
Whether the view has an address. A view from default, from new, or passed by the game to a replaced function can have none.
public bool Exists { get; }
Property Value
Methods
Equals(Spell)
public bool Equals(Spell other)
Parameters
otherSpell
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(Spell, Spell)
Whether both views are over one address.
public static bool operator ==(Spell left, Spell right)
Parameters
Returns
operator !=(Spell, Spell)
Whether the views are over different addresses.
public static bool operator !=(Spell left, Spell right)