Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > UClass
References
Module | CoreUObject |
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&40;&41;
Remarks
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.