UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Net::FNetBitStreamRollbackScope Class Reference

#include <NetBitStreamUtil.h>

Public Member Functions

 FNetBitStreamRollbackScope (FNetBitStreamWriter &InWriter)
 
 ~FNetBitStreamRollbackScope ()
 
void Rollback ()
 
uint32 GetStartPos () const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FNetBitStreamRollbackScope()

UE::Net::FNetBitStreamRollbackScope::FNetBitStreamRollbackScope ( FNetBitStreamWriter InWriter)
inlineexplicit

◆ ~FNetBitStreamRollbackScope()

UE::Net::FNetBitStreamRollbackScope::~FNetBitStreamRollbackScope ( )
inline

Member Function Documentation

◆ GetStartPos()

uint32 UE::Net::FNetBitStreamRollbackScope::GetStartPos ( ) const
inline

◆ Rollback()

void UE::Net::FNetBitStreamRollbackScope::Rollback ( )
inline

The documentation for this class was generated from the following file: