Skip to content

IMRIAgentComponentVisitor::Visit

Class: IMRIAgentComponentVisitor

Overloads

Overload 1

virtual void IMRIAgentComponentVisitor::Visit(const UMRIAgentComponent &agent)=0

Reads relevant state information from the given agent component.

Parameters

Parameter Type Description
agent const UMRIAgentComponent & The agent component whose state should be recorded.

Remarks

Called by UMRIAgentComponent::AcceptVisitor for agent component types that have no typed Visit overload. Subclasses of UMRIAgentComponent 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 IMRIAgentComponentVisitor::Visit(const UMRIPlayerAgentComponent &agent)=0

Reads state from the subject's player agent component.

Parameters

Parameter Type Description
agent const UMRIPlayerAgentComponent & The player agent component whose state should be recorded.

Remarks

agent The player agent component whose state should be recorded.