Class NPCUtilitySystem
Handles utility queries for NPCs.
Inheritance
System.Object
NPCUtilitySystem
Namespace: Content.Server.NPC.Systems
Assembly: Content.Server.dll
Syntax
public sealed class NPCUtilitySystem : EntitySystem
Methods
| Improve this Doc View SourceGetEntities(NPCBlackboard, String, Boolean)
Runs the UtilityQueryPrototype and returns the best-matching entities.
Declaration
public UtilityResult GetEntities(NPCBlackboard blackboard, string proto, bool bestOnly = true)
Parameters
Type | Name | Description |
---|---|---|
NPCBlackboard | blackboard | |
System.String | proto | |
System.Boolean | bestOnly | Should we only return the entity with the best score. |
Returns
Type | Description |
---|---|
Content.Server.NPC.Systems.UtilityResult |
Initialize()
Declaration
public override void Initialize()