Context passed into requirement evaluation.
Requirements receive this context from Evaluate. It identifies the current evaluation stage and exposes the relevant interactor, target, instigator, point id, command id, allowed instigators, and active requirement lists so one requirement class can make a stable pass/fail decision without querying unrelated UI state.
USTRUCT(BlueprintType)
struct INTERACTIONFRAMEWORKRUNTIME_API FInteractionRuntimeRequirementContext
Properties
Requirement Context
TArray<TObjectPtr<AActor>> Allowed Instigator Actors
Actors allowed to count as instigators for requirement checks.
Use Cases
- Read current point, command, target, interactor, and stage data inside a custom requirement.
- Branch one reusable requirement differently for point, variant, selection, or command evaluation.
Notes
- The context is input data for evaluation. Requirement code should not mutate gameplay state while reading it.