Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
Include |
#include "UObject/Class.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp |
void SetUpRuntimeReplicationData()
Initializes the ClassReps and NetFields arrays used by replication. This happens lazily based on the CLASS_ReplicationDataIsSetUp flag, and will generally occur in Link or PostLoad. It's possible that replicated UFunctions will load after their owning class, so UFunction::PostLoad will clear the flag on its owning class to force lazy initialization next time the data is needed. Also happens after blueprint compiliation.