Show / Hide Table of Contents

Class RandomOperator

Inheritance
System.Object
HTNOperator
RandomOperator
Namespace: Content.Server.NPC.HTN.PrimitiveTasks.Operators
Assembly: Content.Server.dll
Syntax
public sealed class RandomOperator : HTNOperator

Fields

| Improve this Doc View Source

MaxKey

Maximum idle time.

Declaration
public string MaxKey
Field Value
Type Description
System.String
| Improve this Doc View Source

MinKey

Minimum idle time.

Declaration
public string MinKey
Field Value
Type Description
System.String
| Improve this Doc View Source

TargetKey

Target blackboard key to set the value to. Doesn't need to exist beforehand.

Declaration
public string TargetKey
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

Plan(NPCBlackboard, CancellationToken)

Declaration
public override Task<(bool Valid, Dictionary<string, object>? Effects)> Plan(NPCBlackboard blackboard, CancellationToken cancelToken)
Parameters
Type Name Description
NPCBlackboard blackboard
CancellationToken cancelToken
Returns
Type Description
Task<System.ValueTuple<System.Boolean, System.Nullable<Dictionary<System.String, System.Object>>>>
Overrides
HTNOperator.Plan(NPCBlackboard, CancellationToken)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾