Show / Hide Table of Contents

Class SetFloatOperator

Just sets a blackboard key to a float

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

Fields

| Improve this Doc View Source

Amount

Declaration
public float Amount
Field Value
Type Description
System.Single
| Improve this Doc View Source

TargetKey

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
☀
☾