Struct LoadOrder
Namespace: OblivionMP.SDK.Common.Archetypes.Mixins
Assembly: OblivionMP.SDK.Common.dll
The plugins the world was seeded from, in load order.
[ArchetypeMixin(Replication.ServerAuthoritative)]
[Extends(typeof(World), "")]
public readonly struct LoadOrder : IArchetypeMixin, IArchetypeQueryable, IEntityShape
Implements
IArchetypeMixin, IArchetypeQueryable, IEntityShape
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
PluginsCount
public int PluginsCount { get; }
Property Value
Methods
AddPlugins(in NativeString256)
[Changes("LoadOrder.Field.Plugins")]
public void AddPlugins(in NativeString256 value)
Parameters
value NativeString256
As<T>()
public T As<T>() where T : struct, IArchetypeQueryable
Returns
T
Type Parameters
T
ClearPlugins()
[Changes("LoadOrder.Field.Plugins")]
public void ClearPlugins()
ContainsPlugins(in NativeString256)
public bool ContainsPlugins(in NativeString256 value)
Parameters
value NativeString256
Returns
GetPlugins()
public NativeList<NativeString256>.ReadOnly GetPlugins()
Returns
NativeList<NativeString256>.ReadOnly
GetPlugins(int)
public NativeString256 GetPlugins(int index)
Parameters
index int
Returns
NativeString256
InsertPlugins(int, in NativeString256)
[Changes("LoadOrder.Field.Plugins")]
public void InsertPlugins(int index, in NativeString256 value)
Parameters
index int
value NativeString256
Is<T>()
public bool Is<T>() where T : struct, IArchetypeQueryable
Returns
Type Parameters
T
Keep()
This entity, which it already is: a loop over this shape hands over the shape itself.
public LoadOrder Keep()
Returns
Remarks
Here so taking something out of a loop reads the same whichever way the loop walks. Whether a shape is walked by chunk follows from what it includes, which the call site cannot see and which changes when an include does.
RemoveAtPlugins(int)
[Changes("LoadOrder.Field.Plugins")]
public NativeString256 RemoveAtPlugins(int index)
Parameters
index int
Returns
NativeString256
SetPlugins(in NativeList<NativeString256>)
[Changes("LoadOrder.Field.Plugins")]
public void SetPlugins(in NativeList<NativeString256> value)
Parameters
value NativeList<NativeString256>
SetPlugins(int, in NativeString256)
[Changes("LoadOrder.Field.Plugins")]
public void SetPlugins(int index, in NativeString256 value)
Parameters
index int
value NativeString256
TryAs<T>(out T)
public bool TryAs<T>(out T archetype) where T : struct, IArchetypeQueryable
Parameters
archetype T
Returns
Type Parameters
T