FRepSerializationSharedInfo::WriteSharedProperty

Creates a new SharedPropertyInfo and adds it to the SharedPropertyInfo list.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Net/RepLayout.h

Include

#include "Net/RepLayout.h"

Source

/Engine/Source/Runtime/Engine/Private/RepLayout.cpp

Syntax

const FRepSerializedPropertyInfo * WriteSharedProperty
(
    const FRepLayoutCmd & Cmd,
    const FGuid & PropertyGuid,
    const int32 CmdIndex,
    const uint16 Handle,
    const FConstRepObjectDataBuffer Data,
    const bool bWriteHandle,
    const bool bDoChecksum
)

Remarks

Creates a new SharedPropertyInfo and adds it to the SharedPropertyInfo list.

Parameters

Parameter

Description

Cmd

The command that represents the property we want to share.

PropertyGuid

A guid used to identify the property.

CmdIndex

Index of the property command. Only used if bDoChecksum is true.

Handle

Relative Handle of the property command. Only used if bWriteHandle is true.

Data

Pointer to the raw property memory that will be serialized.

bWriteHandle

Whether or not we should write Command handles into the serialized data.

bDoChecksum

Whether or not we should do checksums. Only used if ENABLE_PROPERTY_CHECKSUMS is enabled.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss