![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FastArrayReplicationFragment.h>
Inheritance diagram for UE::Net::TFastArrayReplicationFragment< FastArrayItemType, FastArrayType >:Public Types | |
| typedef TArray< FastArrayItemType > | ItemArrayType |
Public Member Functions | |
| TFastArrayReplicationFragment (EReplicationFragmentTraits InTraits, UObject *InOwner, const FReplicationStateDescriptor *InDescriptor, bool bValidateDescriptor=true) | |
Public Member Functions inherited from UE::Net::Private::FFastArrayReplicationFragmentBase | |
| IRISCORE_API void | Register (FFragmentRegistrationContext &Context, EReplicationFragmentTraits InTraits) |
Public Member Functions inherited from UE::Net::FReplicationFragment | |
| FReplicationFragment (const FReplicationFragment &)=delete | |
| FReplicationFragment & | operator= (const FReplicationFragment &)=delete |
| FReplicationFragment (EReplicationFragmentTraits InTraits) | |
| virtual | ~FReplicationFragment () |
| EReplicationFragmentTraits | GetTraits () const |
Protected Types | |
| enum | EAllowAdditionalPropertiesType { AllowAdditionalProperties } |
Protected Attributes | |
| TUniquePtr< FastArrayType > | AccumulatedReceivedState |
Protected Attributes inherited from UE::Net::Private::FFastArrayReplicationFragmentBase | |
| TRefCountPtr< const FReplicationStateDescriptor > | ReplicationStateDescriptor |
| TUniquePtr< FPropertyReplicationState > | ReplicationState |
| UObject * | Owner |
| SIZE_T | WrappedArrayOffsetRelativeFastArraySerializerProperty |
Protected Attributes inherited from UE::Net::FReplicationFragment | |
| EReplicationFragmentTraits | Traits |
TFastArrayReplicationFragment - Binds a typed FastArray to a FReplicationfragment Used to support FFastArray-based serialization with no required code modifications Backed by a PropertyReplicationState which means that we will have to poll source data for dirtiness, in the case of FastArrays this involves comparing the replication key of the array and its items.
| typedef TArray<FastArrayItemType> UE::Net::TFastArrayReplicationFragment< FastArrayItemType, FastArrayType >::ItemArrayType |
| UE::Net::TFastArrayReplicationFragment< FastArrayItemType, FastArrayType >::TFastArrayReplicationFragment | ( | EReplicationFragmentTraits | InTraits, |
| UObject * | InOwner, | ||
| const FReplicationStateDescriptor * | InDescriptor, | ||
| bool | bValidateDescriptor = true |
||
| ) |
TFastArrayReplicationFragment implementation
|
inlineprotected |
|
overrideprotectedvirtual |
This is called from the ReplicationSystem / ReplicationBridge whenever we have new data Depending on the traits of the fragment we either get pointer to a StateBuffer in the expected external format including changemask information or we get the raw quantized state buffer along with the changemask information for any received states.
Implements UE::Net::FReplicationFragment.
|
protected |
|
overrideprotectedvirtual |
Optional method required for backwards compatibility mode which will be invoked for all Fragment with the EReplicationFragmentTraits::HasRepNotifies trait set.
Reimplemented from UE::Net::FReplicationFragment.
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
overrideprotectedvirtual |
Optional Poll method required for backwards compatibility mode which will be invoked for all Fragment with the EReplicationFragmentTraits::NeedsPoll trait set.
Reimplemented from UE::Net::FReplicationFragment.
|
overrideprotectedvirtual |
Optional method to output state data to StringBuilder.
Reimplemented from UE::Net::FReplicationFragment.
|
protected |