Struct AiIntentEntry
Namespace: ReadyM.Relay.Common.Oblivion.ECS.Values
Assembly: ReadyM.Relay.Common.Oblivion.dll
One package the server wants an npc to run. The target and the location are entities when the server has them, otherwise ref IDs. When both are set the entity is used. Entities only exist within a session, so they are not saved.
public struct AiIntentEntry : INetSerializable
Implements
INetSerializable
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Fields
Flags
Extra options, such as AlwaysRun.
public AiIntentFlags Flags
Field Value
LocationPosition
A place to go to when there is no LocationRefId.
public Vector3 LocationPosition
Field Value
LocationRefId
The ref id of the place to go to, or 0.
public uint LocationRefId
Field Value
PackageType
What to do.
public AiPackageType PackageType
Field Value
Radius
How close counts as there, or how far to wander.
public float Radius
Field Value
Seq
The order's sequence number. AiIntents.Enqueue fills it in.
public ushort Seq
Field Value
TargetPosition
A target position carried with the order. No package uses it yet.
public Vector3 TargetPosition
Field Value
TargetRefId
The ref id of who or what the package acts on, or 0.
public uint TargetRefId