Show / Hide Table of Contents

Class SwapToFreeHandOperator

Swaps to any free hand.

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

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

Update(NPCBlackboard, Single)

Declaration
public override HTNOperatorStatus Update(NPCBlackboard blackboard, float frameTime)
Parameters
Type Name Description
NPCBlackboard blackboard
System.Single frameTime
Returns
Type Description
HTNOperatorStatus
Overrides
HTNOperator.Update(NPCBlackboard, Single)
  • Improve this Doc
  • View Source
☀
☾
In This Article
  • Methods
    • Plan(NPCBlackboard, CancellationToken)
    • Update(NPCBlackboard, Single)
Back to top
Generated by DocFX
☀
☾