Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Net > API/Runtime/Engine/Net/FRepLayout
References
| Module | Engine |
| 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
&40;
const FConstRepObjectDataBuffer Source,
TSharedPtr< FRepChangedPropertyTracker > & InRepChangedPropertyTracker,
ECreateRepStateFlags Flags
&41; const
Remarks
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.
Parameters
| Name | 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. |