UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FDoRepLifetimeParams Struct Reference

#include <UnrealNetwork.h>

Public Attributes

ELifetimeCondition Condition = COND_None
 
ELifetimeRepNotifyCondition RepNotifyCondition = REPNOTIFY_OnChanged
 
bool bIsPushBased = false
 
UE::Net::CreateAndRegisterReplicationFragmentFunc CreateAndRegisterReplicationFragmentFunction = nullptr
 

Detailed Description

Struct containing various parameters that can be passed to DOREPLIFETIME_WITH_PARAMS to control how variables are replicated.

Member Data Documentation

◆ bIsPushBased

bool FDoRepLifetimeParams::bIsPushBased = false

Whether or not this property uses Push Model. See PushModel.h

◆ Condition

ELifetimeCondition FDoRepLifetimeParams::Condition = COND_None

Replication Condition. The property will only be replicated to connections where this condition is met.

◆ CreateAndRegisterReplicationFragmentFunction

UE::Net::CreateAndRegisterReplicationFragmentFunc FDoRepLifetimeParams::CreateAndRegisterReplicationFragmentFunction = nullptr

Function to create and register a ReplicationFragment for the property

◆ RepNotifyCondition

ELifetimeRepNotifyCondition FDoRepLifetimeParams::RepNotifyCondition = REPNOTIFY_OnChanged

RepNotify Condition. The property will only trigger a RepNotify if this condition is met, and has been properly set up to handle RepNotifies.


The documentation for this struct was generated from the following file: