Struct LocalVisibility
Namespace: OblivionMp.Sdk.Archetypes.Mixins
Assembly: OblivionMp.Sdk.dll
How visible a character is in this player's game.
[ArchetypeMixin]
[Extends(typeof(MainCharacter), "")]
public readonly struct LocalVisibility : 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
Hidden
How hard the character is to see here: 0 in plain sight, 1 invisible.
public float Hidden { get; set; }
Property Value
Methods
Keep()
This entity, which it already is: a loop over this shape hands over the shape itself.
public LocalVisibility 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.