UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Net::FPropertyNetSerializerInfo Struct Reference

#include <PropertyNetSerializerInfoRegistry.h>

+ Inheritance diagram for UE::Net::FPropertyNetSerializerInfo:

Public Member Functions

virtual const FFieldClassGetPropertyTypeClass () const
 
virtual bool IsSupported (const FProperty *Property) const
 
virtual const FNetSerializerGetNetSerializer (const FProperty *Property) const
 
virtual bool CanUseDefaultConfig (const FProperty *Property) const
 
virtual const FNetSerializerConfigBuildNetSerializerConfig (void *NetSerializerConfigBuffer, const FProperty *Property) const
 
virtual CreateAndRegisterReplicationFragmentFunc GetCreateAndRegisterReplicationFragmentFunction () const
 
bool IsSupportedStruct (FName InStructName) const
 

Protected Attributes

FName StructName
 

Detailed Description

Currently we require each supported type to register FPropertyNetSerializerInfo It provides information on what NetSerializer to use for which property and how to build the required NetSerializer config which is used when we build the dynamic descriptor It is possible to register multiple FPropertyNetSerializerInfo for the same PropertyType-class as long as the IsSupportedFunction only matches a single Property, i.e. bool/nativebool enums of different sizes

Member Function Documentation

◆ BuildNetSerializerConfig()

◆ CanUseDefaultConfig()

◆ GetCreateAndRegisterReplicationFragmentFunction()

virtual CreateAndRegisterReplicationFragmentFunc UE::Net::FPropertyNetSerializerInfo::GetCreateAndRegisterReplicationFragmentFunction ( ) const
inlinevirtual

Custom replication fragments are currently only supported by structs with a custom NetSerializer. See UE_NET_IMPLEMENT_NAMED_STRUCT_NETSERIALIZER_WITH_CUSTOM_FRAGMENT_INFO.

Reimplemented in UE::Net::FNamedStructPropertyNetSerializerInfo.

◆ GetNetSerializer()

◆ GetPropertyTypeClass()

◆ IsSupported()

◆ IsSupportedStruct()

bool UE::Net::FPropertyNetSerializerInfo::IsSupportedStruct ( FName  InStructName) const
inline

Member Data Documentation

◆ StructName

FName UE::Net::FPropertyNetSerializerInfo::StructName
protected

The documentation for this struct was generated from the following file: