![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NetSerializerArrayStorage.h>
Public Types | |
| typedef FNetSerializerArrayStorage< QuantizedElementType, AllocationPolicy > | ArrayType |
| typedef QuantizedElementType | ElementType |
| typedef AllocationPolicy::template ForElementType< ElementType > | ElementAllocatorType |
| typedef AllocationPolicy::SizeType | SizeType |
Public Member Functions | |
| FNetSerializerArrayStorage () | |
| void | AdjustSize (FNetSerializationContext &Context, SizeType InNum) |
| void | Free (FNetSerializationContext &Context) |
| void | Clone (FNetSerializationContext &Context, const ArrayType &Source) |
| const ElementType * | GetData () const |
| ElementType * | GetData () |
| SizeType | Num () const |
Helper class to manage storage of dynamic arrays in quantized data FNetSerializerArrayStorage is only intended to be used from within Quantized replication states that requires dynamic storage as it has very specific expectations and limitations. NOTE: A NetSerializer using FNetSerializerArrayStorage MUST specify the trait bHasDynamicState A zero constructed state is considered valid
| typedef FNetSerializerArrayStorage<QuantizedElementType, AllocationPolicy> UE::Net::FNetSerializerArrayStorage< QuantizedElementType, AllocationPolicy >::ArrayType |
| typedef AllocationPolicy::template ForElementType<ElementType> UE::Net::FNetSerializerArrayStorage< QuantizedElementType, AllocationPolicy >::ElementAllocatorType |
| typedef QuantizedElementType UE::Net::FNetSerializerArrayStorage< QuantizedElementType, AllocationPolicy >::ElementType |
| typedef AllocationPolicy::SizeType UE::Net::FNetSerializerArrayStorage< QuantizedElementType, AllocationPolicy >::SizeType |
|
inline |
Constructor - Typically not invoked as states containing FNetSerializerArrayStorage typically are zero initialized
|
inline |
AdjustSize - Adjust the size of FNetSerializerArrayStorage as needed The state storage in which the storage is located is expected to be in a valid state which can either be zero initialized or a previous valid state
|
inline |
Clone - Clone dynamic storage from Source No assumptions of the validity of the target is made, as this is typically called AFTER a memcopy is made to the target state which invalidates all dynamic data Should typically only be called from within a the implemntation of NetSerializer::CloneDynamicState()
|
inline |
Free - Free allocated memory and reset state. it is valid to pass in a zero-initialized state The state storage in which the storage is located is expected to be in a valid state which can either be zero initialized or a previous valid state.
Should typically only be called from within a the implemntation of NetSerializer::FreeDynamicState()
|
inline |
|
inline |
|
inline |