![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SequenceHistory.h>
Public Types | |
| typedef uint32 | WordT |
Public Member Functions | |
| TSequenceHistory () | |
| void | Reset () |
| void | AddDeliveryStatus (bool Delivered) |
| bool | IsDelivered (SIZE_T Index) const |
| bool | operator== (const TSequenceHistory &Other) const |
| bool | operator!= (const TSequenceHistory &Other) const |
| void | Write (FBitWriter &Writer, SIZE_T NumWords) const |
| void | Read (FBitReader &Reader, SIZE_T NumWords) |
Static Public Attributes | |
| static constexpr SIZE_T | BitsPerWord = sizeof(WordT) * 8 |
| static constexpr SIZE_T | WordCount = HistorySize / BitsPerWord |
| static constexpr SIZE_T | MaxSizeInBits = WordCount * BitsPerWord |
| static constexpr SIZE_T | Size = HistorySize |
Util class to manage history of received sequence numbers
| typedef uint32 TSequenceHistory< HistorySize >::WordT |
| TSequenceHistory< HistorySize >::TSequenceHistory | ( | ) |
| void TSequenceHistory< HistorySize >::AddDeliveryStatus | ( | bool | Delivered | ) |
Store delivery status, oldest will be dropped
| bool TSequenceHistory< HistorySize >::IsDelivered | ( | SIZE_T | Index | ) | const |
Query the status of a specific index, index 0 is last stored status
|
inline |
|
inline |
| void TSequenceHistory< HistorySize >::Read | ( | FBitReader & | Reader, |
| SIZE_T | NumWords | ||
| ) |
Read history from BitStream
| void TSequenceHistory< HistorySize >::Reset | ( | ) |
Reset
| void TSequenceHistory< HistorySize >::Write | ( | FBitWriter & | Writer, |
| SIZE_T | NumWords | ||
| ) | const |
Write history to BitStream
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |