Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Description
Returns the list of replicated properties for the class and their replication configuration. This function used to require every replicated property of the class to be registered in the array. But now you can leave it empty (or call the Super) and the class's replicated properties will still be replicated. The NetDriver will automatically add all properties that are CPF_Net and not found in the array. Note that these auto-added properties will use default configs: No conditions, PushModel = off, etc.
Returns properties that are replicated for the lifetime of the actor channel
| Name | GetLifetimeReplicatedProps |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Object.h |
| Include Path | #include "UObject/Object.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp |
virtual void GetLifetimeReplicatedProps
(
TArray < class FLifetimeProperty > & OutLifetimeProps
) const