Skip to main content
Version: 1.0.0

Class AiIntents

Namespace: OblivionMp.Sdk.Serverside.Ai
Assembly: OblivionMp.Sdk.Serverside.dll

Gives orders to an NPC through its AI queue.

public static class AiIntents

Inheritance​

object ← AiIntents

Inherited Members​

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Methods​

Clear(Npc)​

Empties the NPC's order queue.

public static void Clear(Npc npc)

Parameters​

npc Npc

Enqueue(Npc, AiIntentEntry)​

Adds an order to the end of the NPC's queue and returns its sequence number.

public static ushort Enqueue(Npc npc, AiIntentEntry intent)

Parameters​

npc Npc

intent AiIntentEntry

Returns​

ushort

  • Methods
    • Clear(Npc)
    • Enqueue(Npc, AiIntentEntry)