Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AActor
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include | #include "GameFramework/Actor.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ActorReplication.cpp |
void AddReplicatedSubObject
&40;
UObject &42; SubObject,
ELifetimeCondition NetCondition
&41;
Remarks
Register a SubObject that will get replicated along with the actor. The subobject needs to be manually removed from the list before it gets deleted.
Parameters
| Name | Description |
|---|---|
| SubObject | The SubObject to replicate |
| NetCondition | Optional condition to select which type of connection we will replicate the object to. |