跳到主要内容
版本:Next

Struct Quiver

Namespace: OblivionMp.Sdk.Common.Archetypes.Mixins
Assembly: OblivionMp.Sdk.Common.dll

The arrows a character has equipped.

[ArchetypeMixin]
public readonly struct Quiver : 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​

ArrowCount​

How many arrows are equipped.

public int ArrowCount { get; set; }

Property Value​

int

HasQuiver​

Whether the character has arrows equipped.

public bool HasQuiver { get; set; }

Property Value​

bool

Methods​

Keep()​

This entity, which it already is: a loop over this shape hands over the shape itself.

public Quiver Keep()

Returns​

Quiver

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.