FNetPacketNotify::WriteHeader

Write NotificationHeader, and update outgoing ack record if bRefresh is true we will attempt to refresh a previously written header if the resulting size will be the same as the already written header.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Net/NetPacketNotify.h"

Source

/Engine/Source/Runtime/Engine/Private/Net/NetPacketNotify.cpp

Syntax

bool WriteHeader
(
    FBitWriter & Writer,
    bool bRefresh
)

Remarks

Write NotificationHeader, and update outgoing ack record if bRefresh is true we will attempt to refresh a previously written header if the resulting size will be the same as the already written header. returns true if data was written, and false if no data was written which might be the case if we try to rewrite an existing header but the required size differs.

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