Raymond Maarloeve
Loading...
Searching...
No Matches
IDecision Interface Reference

Defines the Decision for the NPC Decision System. More...

Public Member Functions

void Start ()
 Initializes the decision action. Implementation should begin execution of the decision logic.
 
void Finish ()
 Finalizes the decision action. Implementation should clean up any resources or state related to the decision.
 
bool Tick ()
 Executes the decision logic and determines the outcome.
 
string DebugInfo ()
 Provides debugging information for the decision.
 

Properties

string PrettyName [get]
 Gets the human-readable description of the decision.
 

Detailed Description

Defines the Decision for the NPC Decision System.

Member Function Documentation

◆ DebugInfo()

string IDecision.DebugInfo ( )

Provides debugging information for the decision.

Returns
A string containing debugging information.

Implemented in JudgeDecision, ChatDecision, IdleDecision, VisitBuildingDecision, WaitForLLMDecision, WaitForLLMReadyDecision, and WalkDecision.

◆ Finish()

void IDecision.Finish ( )

Finalizes the decision action. Implementation should clean up any resources or state related to the decision.

Implemented in JudgeDecision, ChatDecision, IdleDecision, VisitBuildingDecision, WaitForLLMDecision, WaitForLLMReadyDecision, and WalkDecision.

◆ Start()

void IDecision.Start ( )

Initializes the decision action. Implementation should begin execution of the decision logic.

Implemented in JudgeDecision, ChatDecision, IdleDecision, VisitBuildingDecision, WaitForLLMDecision, WaitForLLMReadyDecision, and WalkDecision.

◆ Tick()

bool IDecision.Tick ( )

Executes the decision logic and determines the outcome.

Returns
true if the decision is finished; otherwise, false.

Implemented in JudgeDecision, ChatDecision, IdleDecision, VisitBuildingDecision, WaitForLLMDecision, WaitForLLMReadyDecision, and WalkDecision.

Property Documentation

◆ PrettyName


The documentation for this interface was generated from the following file: