Struct DynamicFormsComponent
Namespace: ReadyM.Relay.Common.Oblivion.ECS.Components
Assembly: ReadyM.Relay.Common.Oblivion.dll
Holds the player's dynamic forms, including spells and alchemy effects.
public struct DynamicFormsComponent : ISaveTaggedComponent<DynamicFormsComponent>, IComponent, INetSerializable, IDisposable
Implements
ISaveTaggedComponent<DynamicFormsComponent>, IComponent, INetSerializable, IDisposable
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
DynamicFormsComponent(AllocatorKind)
Holds the player's dynamic forms, including spells and alchemy effects.
public DynamicFormsComponent(AllocatorKind allocatorKind)
Parameters
allocatorKind AllocatorKind
Properties
AlchemyCount
public int AlchemyCount { get; }
Property Value
AlchemyEffectsCount
public int AlchemyEffectsCount { get; }
Property Value
SpellEffectsCount
public int SpellEffectsCount { get; }
Property Value
SpellsCount
public int SpellsCount { get; }
Property Value
Methods
AddAlchemy(in AlchemyEntry)
public void AddAlchemy(in AlchemyEntry value)
Parameters
value AlchemyEntry
AddAlchemyEffects(in MagicEffectEntry)
public void AddAlchemyEffects(in MagicEffectEntry value)
Parameters
value MagicEffectEntry
AddSpellEffects(in MagicEffectEntry)
public void AddSpellEffects(in MagicEffectEntry value)
Parameters
value MagicEffectEntry
AddSpells(in DynamicSpellEntry)
public void AddSpells(in DynamicSpellEntry value)
Parameters
value DynamicSpellEntry
Assign(in DynamicFormsComponent)
public void Assign(in DynamicFormsComponent value)
Parameters
value DynamicFormsComponent
ClearAlchemy()
public void ClearAlchemy()
ClearAlchemyEffects()
public void ClearAlchemyEffects()
ClearSpellEffects()
public void ClearSpellEffects()
ClearSpells()
public void ClearSpells()
ContainsAlchemy(in AlchemyEntry)
public bool ContainsAlchemy(in AlchemyEntry value)
Parameters
value AlchemyEntry
Returns
ContainsAlchemyEffects(in MagicEffectEntry)
public bool ContainsAlchemyEffects(in MagicEffectEntry value)
Parameters
value MagicEffectEntry
Returns
ContainsSpellEffects(in MagicEffectEntry)
public bool ContainsSpellEffects(in MagicEffectEntry value)
Parameters
value MagicEffectEntry
Returns
ContainsSpells(in DynamicSpellEntry)
public bool ContainsSpells(in DynamicSpellEntry value)
Parameters
value DynamicSpellEntry
Returns
Deserialize(NetDataReader)
public void Deserialize(NetDataReader reader)
Parameters
reader NetDataReader
Dispose()
public void Dispose()
GetAlchemy()
public NativeList<AlchemyEntry>.ReadOnly GetAlchemy()
Returns
NativeList<AlchemyEntry>.ReadOnly
GetAlchemy(int)
public AlchemyEntry GetAlchemy(int index)
Parameters
index int
Returns
GetAlchemyEffects()
public NativeList<MagicEffectEntry>.ReadOnly GetAlchemyEffects()
Returns
NativeList<MagicEffectEntry>.ReadOnly
GetAlchemyEffects(int)
public MagicEffectEntry GetAlchemyEffects(int index)
Parameters
index int
Returns
GetSpellEffects()
public NativeList<MagicEffectEntry>.ReadOnly GetSpellEffects()
Returns
NativeList<MagicEffectEntry>.ReadOnly
GetSpellEffects(int)
public MagicEffectEntry GetSpellEffects(int index)
Parameters
index int
Returns
GetSpells()
public NativeList<DynamicSpellEntry>.ReadOnly GetSpells()
Returns
NativeList<DynamicSpellEntry>.ReadOnly
GetSpells(int)
public DynamicSpellEntry GetSpells(int index)
Parameters
index int
Returns
InsertAlchemy(int, in AlchemyEntry)
public void InsertAlchemy(int index, in AlchemyEntry value)
Parameters
index int
value AlchemyEntry
InsertAlchemyEffects(int, in MagicEffectEntry)
public void InsertAlchemyEffects(int index, in MagicEffectEntry value)
Parameters
index int
value MagicEffectEntry
InsertSpellEffects(int, in MagicEffectEntry)
public void InsertSpellEffects(int index, in MagicEffectEntry value)
Parameters
index int
value MagicEffectEntry
InsertSpells(int, in DynamicSpellEntry)
public void InsertSpells(int index, in DynamicSpellEntry value)
Parameters
index int
value DynamicSpellEntry
RemoveAtAlchemy(int)
public AlchemyEntry RemoveAtAlchemy(int index)
Parameters
index int
Returns
RemoveAtAlchemyEffects(int)
public MagicEffectEntry RemoveAtAlchemyEffects(int index)
Parameters
index int
Returns
RemoveAtSpellEffects(int)
public MagicEffectEntry RemoveAtSpellEffects(int index)
Parameters
index int
Returns
RemoveAtSpells(int)
public DynamicSpellEntry RemoveAtSpells(int index)
Parameters
index int
Returns
Serialize(NetDataWriter)
public void Serialize(NetDataWriter writer)
Parameters
writer NetDataWriter
SetAlchemy(in NativeList<AlchemyEntry>)
public void SetAlchemy(in NativeList<AlchemyEntry> value)
Parameters
value NativeList<AlchemyEntry>
SetAlchemy(int, in AlchemyEntry)
public void SetAlchemy(int index, in AlchemyEntry value)
Parameters
index int
value AlchemyEntry
SetAlchemyEffects(in NativeList<MagicEffectEntry>)
public void SetAlchemyEffects(in NativeList<MagicEffectEntry> value)
Parameters
value NativeList<MagicEffectEntry>
SetAlchemyEffects(int, in MagicEffectEntry)
public void SetAlchemyEffects(int index, in MagicEffectEntry value)
Parameters
index int
value MagicEffectEntry
SetSpellEffects(in NativeList<MagicEffectEntry>)
public void SetSpellEffects(in NativeList<MagicEffectEntry> value)
Parameters
value NativeList<MagicEffectEntry>
SetSpellEffects(int, in MagicEffectEntry)
public void SetSpellEffects(int index, in MagicEffectEntry value)
Parameters
index int
value MagicEffectEntry
SetSpells(in NativeList<DynamicSpellEntry>)
public void SetSpells(in NativeList<DynamicSpellEntry> value)
Parameters
value NativeList<DynamicSpellEntry>
SetSpells(int, in DynamicSpellEntry)
public void SetSpells(int index, in DynamicSpellEntry value)
Parameters
index int
value DynamicSpellEntry