FNetPacketNotify::Update

Update state of PacketNotification based on received header and invoke packet notifications for received acks.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Net/NetPacketNotify.h"

Syntax

template<class Functor>
SequenceNumberT::DifferenceT Update
(
    const FNotificationHeader & NotificationData,
    Functor && InFunc
)

Remarks

Update state of PacketNotification based on received header and invoke packet notifications for received acks.

Returns

The > 0 delta of the incoming seq if within half the seq number space. 0 if the received seq is outside current window ,or the ack seq received is invalid.

Parameters

Parameter

Description

NotificationData

The header to update from

InFunc

A function in the format (void)(FNetPacketNotify::SequenceNumberT AckedSequence, bool bDelivered) to handle packet notifications.

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