Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Net/NetPacketNotify.h |
Include |
#include "Net/NetPacketNotify.h" |
template<class Functor>
SequenceNumberT::DifferenceT Update
(
const FNotificationHeader & NotificationData,
Functor && InFunc
)
Update state of PacketNotification based on received header and invoke packet notifications for received acks.
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.
Parameter |
Description |
---|---|
NotificationData |
The header to update from |
InFunc |
A function in the format (void)(FNetPacketNotify::SequenceNumberT AckedSequence, bool bDelivered) to handle packet notifications. |