Navigation
API > API/Plugins > API/Plugins/ReplicationGraph
Holds a list of replicated actors that can be added/removed to.
| Name | FActorRepListRefView |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/ReplicationGraph/Source/Public/ReplicationGraphTypes.h |
| Include Path | #include "ReplicationGraphTypes.h" |
Syntax
struct FActorRepListRefView
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FActorRepListRefView() |
ReplicationGraphTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAllowShrink | bool | ReplicationGraphTypes.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RepList | TArray< FActorRepListType > | ReplicationGraphTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
const FActorRepListType& NewElement |
ReplicationGraphTypes.h | ||
void AppendContentsFrom
(
const FActorRepListRefView& Source |
ReplicationGraphTypes.h | ||
void AppendToTArray
(
TArray< FActorRepListType >& OutArray |
Add contents to TArray/TSet. this is intended for debugging/ease of use | ReplicationGraphTypes.h | |
void AppendToTSet
(
TSet< FActorRepListType >& OutSet |
ReplicationGraphTypes.h | ||
TArray< FActorRepListType >::RangedForConstIteratorType begin () |
ReplicationGraphTypes.h | ||
TArray< FActorRepListType >::RangedForIteratorType begin () |
ReplicationGraphTypes.h | ||
FString BuildDebugString() |
ReplicationGraphTypes.h | ||
bool ConditionalAdd
(
const FActorRepListType& NewElement |
ReplicationGraphTypes.h | ||
bool Contains
(
const FActorRepListType& Value |
ReplicationGraphTypes.h | ||
void CopyContentsFrom
(
const FActorRepListRefView& Source |
ReplicationGraphTypes.h | ||
void CountBytes
(
FArchive& Ar |
ReplicationGraphTypes.h | ||
TArray< FActorRepListType >::RangedForConstIteratorType end () |
ReplicationGraphTypes.h | ||
TArray< FActorRepListType >::RangedForIteratorType end () |
ReplicationGraphTypes.h | ||
int32 IndexOf
(
const FActorRepListType& Value |
ReplicationGraphTypes.h | ||
bool IsEmpty() |
ReplicationGraphTypes.h | ||
int32 Num() |
ReplicationGraphTypes.h | ||
void RemoveAtSwap
(
int32 idx |
ReplicationGraphTypes.h | ||
bool RemoveFast
(
const FActorRepListType& ElementToRemove, |
Removes the element quickly but changes the list order | ReplicationGraphTypes.h | |
bool RemoveSlow
(
const FActorRepListType& ElementToRemove |
Removes the element but keeps the order intact. Generally not recommended for large lists. | ReplicationGraphTypes.h | |
void Reserve
(
int32 Size |
Preallocate the array so it can hold the specified size | ReplicationGraphTypes.h | |
void Reset
(
int32 ExpectedMaxSize |
Empties the array but does not deallocate the internal memory. | ReplicationGraphTypes.h | |
void TearDown() |
Resets the container and returns the memory it held | ReplicationGraphTypes.h | |
bool VerifyContents_Slow() |
ReplicationGraphTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FActorRepListType & operator[]
(
int32 idx |
ReplicationGraphTypes.h | ||
FActorRepListType & operator[]
(
int32 idx |
Base view functions. | ReplicationGraphTypes.h |
Deprecated Functions
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UE_ALLOWSHRINKING_BOOL_DEPRECATED
(
"RemoveFast" |
ReplicationGraphTypes.h |