Navigation
API > API/Runtime > API/Runtime/IrisCore
RollbackScope, if the provided BitWriter is in an invalid state when exiting the scope, the BitWriter will be restored to the state it had when entering the FNetBitStreamRollbackScope
| Name | FNetBitStreamRollbackScope |
| Type | class |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/Serialization/NetBitStreamUtil.h |
| Include Path | #include "Iris/Serialization/NetBitStreamUtil.h" |
Syntax
class FNetBitStreamRollbackScope
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetBitStreamRollbackScope
(
FNetBitStreamWriter& InWriter |
Iris/Serialization/NetBitStreamUtil.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FNetBitStreamRollbackScope() |
Iris/Serialization/NetBitStreamUtil.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| StartPos | const uint32 | Iris/Serialization/NetBitStreamUtil.h | ||
| Writer | FNetBitStreamWriter & | Iris/Serialization/NetBitStreamUtil.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 GetStartPos() |
Iris/Serialization/NetBitStreamUtil.h | ||
void Rollback() |
Iris/Serialization/NetBitStreamUtil.h |