Skip to content

AMRISubjectState::GetLifetimeReplicatedProps

Class: AMRISubjectState

Registers which properties are replicated.

Syntax

void AMRISubjectState::GetLifetimeReplicatedProps(TArray< FLifetimeProperty > &outLifetimeProps) const override

Parameters

Parameter Type Description
outLifetimeProps TArray< FLifetimeProperty > & Output array to populate with replication rules.

Remarks

IMPORTANT In the implementation, you MUST call DOREPLIFETIME for each replicated property, or it won't be replicated and you can't read it back out later! outLifetimeProps Output array to populate with replication rules.