UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StructNetSerializerUtil.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7namespace UE::Net
8{
9 struct FReplicationStateDescriptor;
10 // Write a Struct value to the provided context using the provided Descriptor.
11 IRISCORE_API void WriteStruct(FNetSerializationContext& Context, NetSerializerValuePointer InValue, const FReplicationStateDescriptor* Descriptor);
12 // Read a Struct value to OutValue from the provided context using the provided Descriptor.
13 IRISCORE_API void ReadStruct(FNetSerializationContext& Context, NetSerializerValuePointer OutValue, const FReplicationStateDescriptor* Descriptor);
14}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition NetworkVersion.cpp:28
void WriteStruct(FNetSerializationContext &Context, NetSerializerValuePointer InValue, const FReplicationStateDescriptor *Descriptor)
Definition StructNetSerializerUtil.cpp:10
UPTRINT NetSerializerValuePointer
Definition NetSerializer.h:139
void ReadStruct(FNetSerializationContext &Context, NetSerializerValuePointer OutValue, const FReplicationStateDescriptor *Descriptor)
Definition StructNetSerializerUtil.cpp:40