Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Net/RepLayout.h |
Include |
#include "Net/RepLayout.h" |
Source |
/Engine/Source/Runtime/Engine/Private/RepLayout.cpp |
TUniquePtr< FRepState > CreateRepState
(
const FConstRepObjectDataBuffer Source,
TSharedPtr< FRepChangedPropertyTracker > & InRepChangedPropertyTracker,
ECreateRepStateFlags Flags
) const
Creates and initializes a new FRepState.
This includes:
Initializing the ShadowData.
Associating and validating the appropriate ChangedPropertyTracker.
Building initial ConditionMap.
A new RepState. Note, maybe a a FRepStateBase or FRepStateSending based on parameters.
Parameter |
Description |
---|---|
RepState |
The RepState to initialize. |
Class |
The class of the object represented by the input memory. |
Src |
Memory buffer storing object property data. |
InRepChangedPropertyTracker |
The PropertyTracker we want to associate with the RepState. |