![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IrisFastArraySerializerInternal.h>
Public Types | |
| typedef FastArrayType::ItemArrayType | FastArrayItemArrayType |
| typedef FastArrayItemArrayType::ElementType | FastArrayItemType |
| using | FIrisFastArraySerializerPrivateAccessor = Private::FIrisFastArraySerializerPrivateAccessor |
Public Member Functions | |
| TIrisFastArrayEditor (FastArrayType &InFastArray) | |
| void | MarkItemDirty (FastArrayItemType &Item) |
| void | MarkArrayDirty () |
| void | AddLocal (const FastArrayItemType &ItemEntry) |
| FastArrayItemType & | EditLocal (int32 ItemIdx) |
| void | Add (const FastArrayItemType &ItemEntry) |
| FastArrayItemType & | Edit (int32 ItemIdx) |
| FastArrayItemType & | operator[] (int32 ItemIdx) |
| void | Remove (int32 ItemIdx) |
| void | RemoveAtSwap (int32 ItemIdx) |
| int32 | Num () const |
| void | Empty () |
Experimental support for more explicit interface to edit FastArrays which can be used to avoid polling The idea is that the interface would implement a subset of the Array interface and be used instead of directly modifying the array
| typedef FastArrayType::ItemArrayType UE::Net::TIrisFastArrayEditor< FastArrayType >::FastArrayItemArrayType |
| typedef FastArrayItemArrayType::ElementType UE::Net::TIrisFastArrayEditor< FastArrayType >::FastArrayItemType |
| using UE::Net::TIrisFastArrayEditor< FastArrayType >::FIrisFastArraySerializerPrivateAccessor = Private::FIrisFastArraySerializerPrivateAccessor |
|
inline |
| void UE::Net::TIrisFastArrayEditor< FastArrayType >::Add | ( | const FastArrayItemType & | ItemEntry | ) |
Add Item to array and call MarkItemDirty
|
inline |
Local add which will add item to array without dirtying it
| TIrisFastArrayEditor< FastArrayType >::FastArrayItemType & UE::Net::TIrisFastArrayEditor< FastArrayType >::Edit | ( | int32 | ItemIdx | ) |
Edit Item in array and call MarkItemDirty
|
inline |
Local edit which will modify local item without dirtying it
| void UE::Net::TIrisFastArrayEditor< FastArrayType >::Empty | ( | ) |
Empty array and call MarkArrayDirty
|
inline |
Forwards MarkArrayDirty call to FastArray and if the FastArray is bound it will also update DirtyState tracking
| void UE::Net::TIrisFastArrayEditor< FastArrayType >::MarkItemDirty | ( | FastArrayItemType & | Item | ) |
Forwards MarkItemDirty call to FastArray and if the FastArray is bound it will also update DirtyState tracking
|
inline |
|
inline |
Mutable access to Item, will call MarkItemDirty
| void UE::Net::TIrisFastArrayEditor< FastArrayType >::Remove | ( | int32 | ItemIdx | ) |
Remove item at the specified index, will forward call to MarkArrayDirty, if bound will mark all potentially moved items as dirty
| void UE::Net::TIrisFastArrayEditor< FastArrayType >::RemoveAtSwap | ( | int32 | ItemIdx | ) |
Remove item at the specified index, will only mark the affected item dirty