TSequenceHistory

Util class to manage history of received sequence numbers

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Net/Util/SequenceHistory.h

Include

#include "Net/Util/SequenceHistory.h"

Syntax

template<SIZE_T HistorySize>
class TSequenceHistory

Remarks

Util class to manage history of received sequence numbers

Constructors

Name Description

Public function

TSequenceHistory()

Functions

Name Description

Public function

void

 

AddDeliveryStatus

(
    bool Delivered
)

Store delivery status, oldest will be dropped

Public function Const

bool

 

IsDelivered

(
    SIZE_T Index
)

Query the status of a specific index, index 0 is last stored status

Public function

void

 

Read

(
    FBitReader& Reader,
    SIZE_T NumWords
)

Read history from BitStream

Public function

void

 

Reset()

Reset

Public function Const

void

 

Write

(
    FBitWriter& Writer,
    SIZE_T NumWords
)

Write history to BitStream

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const TSequenceHistory& Other
)

Public function Const

bool

 

operator==

(
    const TSequenceHistory& Other
)

Typedefs

Name

Description

WordT

Constants

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