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