Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UActorComponent
Description
ReadyForReplication gets called on replicated components when their owning actor is officially ready for replication. Called after InitializeComponent but before BeginPlay. From there it will only be set false when the component is destroyed. This is where you want to register your replicated subobjects if you already possess some. A component can get replicated before HasBegunPlay() is true if inside a tick or in BeginPlay() an RPC is called on it. Requires component to be registered, initialized and set to replicate.
| Name | ReadyForReplication |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h |
| Include Path | #include "Components/ActorComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/ActorComponent.cpp |
virtual void ReadyForReplication()