FPacketAudit::AddStage

On the send side, marks a named stage during packet writing, which should be audited on the receive side.

Windows
MacOS
Linux

References

Module

NetCore

Header

/Engine/Source/Runtime/Net/Core/Public/Net/Core/Misc/PacketAudit.h

Include

#include "Net/Core/Misc/PacketAudit.h"

Syntax

static void AddStage
(
    FString StageName,
    FBitWriter & OutPacket,
    bool bByteAligned
)

Remarks

On the send side, marks a named stage during packet writing, which should be audited on the receive side.

Parameters

Parameter

Description

StageName

The unique name to provide this stage of packet writing

OutPacket

The packet the data is being written to - used for gathering audit information

bByteAligned

Whether or not to treat the packet as if it is byte aligned (used in rare circumstances)

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