Navigation
API > API/Runtime > API/Runtime/Engine
Iterates over a changelist, taking each handle, and mapping to rep layout index, array index, etc.
| Name | FRepHandleIterator |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/RepLayout.h |
| Include Path | #include "Net/RepLayout.h" |
Syntax
class FRepHandleIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRepHandleIterator
(
UStruct const*const InOwner, |
Net/RepLayout.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ArrayElementSize | const int32 | Only used for Dynamic Arrays. | Net/RepLayout.h | |
| ArrayIndex | int32 | The index of the current element in a dynamic array. | Net/RepLayout.h | |
| ArrayOffset | int32 | The Byte offset of Serialized Property data for a dynamic array to the current element. | Net/RepLayout.h | |
| ChangelistIterator | FChangelistIterator & | Used to track current state of the iteration. | Net/RepLayout.h | |
| CmdIndex | int32 | The current Property Command index. | Net/RepLayout.h | |
| Cmds | const TArray< FRepLayoutCmd > & | List of all available Layout Commands. | Net/RepLayout.h | |
| Handle | int32 | The current Relative Property Command handle. | Net/RepLayout.h | |
| HandleToCmdIndex | const TArray< FHandleToCmdIndex > & | Used to map Relative Handles to absolute Property Command Indices. | Net/RepLayout.h | |
| MaxArrayIndex | const int32 | Number of elements in a Dynamic array. | Net/RepLayout.h | |
| MaxCmdIndex | const int32 | Highest index in Cmds where the iterator can go. | Net/RepLayout.h | |
| MinCmdIndex | const int32 | Lowest index in Cmds where the iterator can go. | Net/RepLayout.h | |
| NumHandlesPerElement | const int32 | The number of handles per Command. This should always be 1, except for Arrays. | Net/RepLayout.h | |
| Owner | UStruct const *const | Net/RepLayout.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LastSuccessfulCmdIndex | int32 | Net/RepLayout.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool JumpOverArray() |
Skips all the handles associated with a dynamic array at the iterators current position. | Net/RepLayout.h | |
bool NextHandle() |
Moves the iterator to the next available handle. | Net/RepLayout.h | |
int32 PeekNextHandle() |
Gets the handle at the iterators current position without advancing it. | Net/RepLayout.h |