Show / Hide Table of Contents

Class NPCBlackboard

Inheritance
System.Object
NPCBlackboard
Namespace: Content.Server.NPC
Assembly: Content.Server.dll
Syntax
public sealed class NPCBlackboard : IEnumerable<KeyValuePair<string, object>>

Fields

| Improve this Doc View Source

Access

Declaration
public const string Access = null
Field Value
Type Description
System.String
| Improve this Doc View Source

ActiveHand

Declaration
public const string ActiveHand = null
Field Value
Type Description
System.String
| Improve this Doc View Source

ActiveHandFree

Declaration
public const string ActiveHandFree = null
Field Value
Type Description
System.String
| Improve this Doc View Source

CanMove

Declaration
public const string CanMove = null
Field Value
Type Description
System.String
| Improve this Doc View Source

CurrentOrderedTarget

A configurable target that's ordered by external sources.

Declaration
public const string CurrentOrderedTarget = null
Field Value
Type Description
System.String
| Improve this Doc View Source

CurrentOrders

A configurable "order" enum that can be given to an NPC from an external source.

Declaration
public const string CurrentOrders = null
Field Value
Type Description
System.String
| Improve this Doc View Source

FollowTarget

Declaration
public const string FollowTarget = null
Field Value
Type Description
System.String
| Improve this Doc View Source

FreeHands

Declaration
public const string FreeHands = null
Field Value
Type Description
System.String
| Improve this Doc View Source

Inventory

Declaration
public const string Inventory = null
Field Value
Type Description
System.String
| Improve this Doc View Source

MedibotInjectRange

Declaration
public const string MedibotInjectRange = null
Field Value
Type Description
System.String
| Improve this Doc View Source

MeleeMissChance

Declaration
public const string MeleeMissChance = null
Field Value
Type Description
System.String
| Improve this Doc View Source

MovementTarget

Declaration
public const string MovementTarget = null
Field Value
Type Description
System.String
| Improve this Doc View Source

NavClimb

Can the NPC climb obstacles for steering.

Declaration
public const string NavClimb = null
Field Value
Type Description
System.String
| Improve this Doc View Source

NavInteract

Can the NPC click open entities such as doors.

Declaration
public const string NavInteract = null
Field Value
Type Description
System.String
| Improve this Doc View Source

NavPry

Can the NPC pry open doors for steering.

Declaration
public const string NavPry = null
Field Value
Type Description
System.String
| Improve this Doc View Source

NavSmash

Can the NPC smash obstacles for steering.

Declaration
public const string NavSmash = null
Field Value
Type Description
System.String
| Improve this Doc View Source

Owner

Declaration
public const string Owner = null
Field Value
Type Description
System.String
| Improve this Doc View Source

OwnerCoordinates

Declaration
public const string OwnerCoordinates = null
Field Value
Type Description
System.String
| Improve this Doc View Source

PathfindKey

Default key storage for a movement pathfind.

Declaration
public const string PathfindKey = null
Field Value
Type Description
System.String
| Improve this Doc View Source

ReadOnly

Should we allow setting values on the blackboard. This is true when we are planning. The effects get stored separately so they can potentially be re-applied during execution.

Declaration
public bool ReadOnly
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

RotateSpeed

Declaration
public const string RotateSpeed = null
Field Value
Type Description
System.String
| Improve this Doc View Source

UtilityTarget

Declaration
public const string UtilityTarget = null
Field Value
Type Description
System.String
| Improve this Doc View Source

VisionRadius

Declaration
public const string VisionRadius = null
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

Clear()

Declaration
public void Clear()
| Improve this Doc View Source

ContainsKey(String)

Declaration
public bool ContainsKey(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetEnumerator()

Declaration
public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
Returns
Type Description
IEnumerator<KeyValuePair<System.String, System.Object>>
| Improve this Doc View Source

GetValue<T>(String)

Get the blackboard data for a particular key.

Declaration
public T GetValue<T>(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetValueOrDefault<T>(String, IEntityManager)

Tries to get the blackboard data for a particular key. Returns default if not found

Declaration
public T GetValueOrDefault<T>(string key, IEntityManager entManager)
Parameters
Type Name Description
System.String key
IEntityManager entManager
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

Remove<T>(String)

Declaration
public bool Remove<T>(string key)
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Boolean
Type Parameters
Name Description
T
| Improve this Doc View Source

SetValue(String, Object)

Declaration
public void SetValue(string key, object value)
Parameters
Type Name Description
System.String key
System.Object value
| Improve this Doc View Source

ShallowClone()

Declaration
public NPCBlackboard ShallowClone()
Returns
Type Description
NPCBlackboard
| Improve this Doc View Source

TryGetValue<T>(String, out T, IEntityManager)

Tries to get the blackboard data for a particular key.

Declaration
public bool TryGetValue<T>(string key, out T value, IEntityManager entManager)
Parameters
Type Name Description
System.String key
T value
IEntityManager entManager
Returns
Type Description
System.Boolean
Type Parameters
Name Description
T
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾