Show / Hide Table of Contents

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 Source

GetEntities(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
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾