IExperimentAgentComponentVisitor::Visit¶
Class: IExperimentAgentComponentVisitor
Overloads¶
Overload 1¶
Reads relevant state information from the given agent component.
Parameters
| Parameter | Type | Description |
|---|---|---|
agent |
const UExperimentAgentComponent & |
The agent component whose state should be recorded. |
Remarks
Called by UExperimentAgentComponent::AcceptVisitor for agent component types that have no typed Visit overload. Subclasses of UExperimentAgentComponent should override AcceptVisitor to call typed Visit overloads so we record appropriate info. agent The agent component whose state should be recorded.
Overload 2¶
virtual void IExperimentAgentComponentVisitor::Visit(const UExperimentPlayerAgentComponent &agent)=0
Reads state from the subject's player agent component.
Parameters
| Parameter | Type | Description |
|---|---|---|
agent |
const UExperimentPlayerAgentComponent & |
The player agent component whose state should be recorded. |
Remarks
agent The player agent component whose state should be recorded.