跳到主要内容
版本:Next

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

int

AlchemyEffectsCount

public int AlchemyEffectsCount { get; }

Property Value

int

SpellEffectsCount

public int SpellEffectsCount { get; }

Property Value

int

SpellsCount

public int SpellsCount { get; }

Property Value

int

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

bool

ContainsAlchemyEffects(in MagicEffectEntry)

public bool ContainsAlchemyEffects(in MagicEffectEntry value)

Parameters

value MagicEffectEntry

Returns

bool

ContainsSpellEffects(in MagicEffectEntry)

public bool ContainsSpellEffects(in MagicEffectEntry value)

Parameters

value MagicEffectEntry

Returns

bool

ContainsSpells(in DynamicSpellEntry)

public bool ContainsSpells(in DynamicSpellEntry value)

Parameters

value DynamicSpellEntry

Returns

bool

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

AlchemyEntry

GetAlchemyEffects()

public NativeList<MagicEffectEntry>.ReadOnly GetAlchemyEffects()

Returns

NativeList<MagicEffectEntry>.ReadOnly

GetAlchemyEffects(int)

public MagicEffectEntry GetAlchemyEffects(int index)

Parameters

index int

Returns

MagicEffectEntry

GetSpellEffects()

public NativeList<MagicEffectEntry>.ReadOnly GetSpellEffects()

Returns

NativeList<MagicEffectEntry>.ReadOnly

GetSpellEffects(int)

public MagicEffectEntry GetSpellEffects(int index)

Parameters

index int

Returns

MagicEffectEntry

GetSpells()

public NativeList<DynamicSpellEntry>.ReadOnly GetSpells()

Returns

NativeList<DynamicSpellEntry>.ReadOnly

GetSpells(int)

public DynamicSpellEntry GetSpells(int index)

Parameters

index int

Returns

DynamicSpellEntry

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

AlchemyEntry

RemoveAtAlchemyEffects(int)

public MagicEffectEntry RemoveAtAlchemyEffects(int index)

Parameters

index int

Returns

MagicEffectEntry

RemoveAtSpellEffects(int)

public MagicEffectEntry RemoveAtSpellEffects(int index)

Parameters

index int

Returns

MagicEffectEntry

RemoveAtSpells(int)

public DynamicSpellEntry RemoveAtSpells(int index)

Parameters

index int

Returns

DynamicSpellEntry

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

  • Constructors
    • DynamicFormsComponent(AllocatorKind)
  • Properties
    • AlchemyCount
    • AlchemyEffectsCount
    • SpellEffectsCount
    • SpellsCount
  • Methods
    • AddAlchemy(in AlchemyEntry)
    • AddAlchemyEffects(in MagicEffectEntry)
    • AddSpellEffects(in MagicEffectEntry)
    • AddSpells(in DynamicSpellEntry)
    • Assign(in DynamicFormsComponent)
    • ClearAlchemy()
    • ClearAlchemyEffects()
    • ClearSpellEffects()
    • ClearSpells()
    • ContainsAlchemy(in AlchemyEntry)
    • ContainsAlchemyEffects(in MagicEffectEntry)
    • ContainsSpellEffects(in MagicEffectEntry)
    • ContainsSpells(in DynamicSpellEntry)
    • Deserialize(NetDataReader)
    • Dispose()
    • GetAlchemy()
    • GetAlchemy(int)
    • GetAlchemyEffects()
    • GetAlchemyEffects(int)
    • GetSpellEffects()
    • GetSpellEffects(int)
    • GetSpells()
    • GetSpells(int)
    • InsertAlchemy(int, in AlchemyEntry)
    • InsertAlchemyEffects(int, in MagicEffectEntry)
    • InsertSpellEffects(int, in MagicEffectEntry)
    • InsertSpells(int, in DynamicSpellEntry)
    • RemoveAtAlchemy(int)
    • RemoveAtAlchemyEffects(int)
    • RemoveAtSpellEffects(int)
    • RemoveAtSpells(int)
    • Serialize(NetDataWriter)
    • SetAlchemy(in NativeList<AlchemyEntry>)
    • SetAlchemy(int, in AlchemyEntry)
    • SetAlchemyEffects(in NativeList<MagicEffectEntry>)
    • SetAlchemyEffects(int, in MagicEffectEntry)
    • SetSpellEffects(in NativeList<MagicEffectEntry>)
    • SetSpellEffects(int, in MagicEffectEntry)
    • SetSpells(in NativeList<DynamicSpellEntry>)
    • SetSpells(int, in DynamicSpellEntry)