Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FReplayHelper
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ReplayHelper.h |
Include | #include "ReplayHelper.h" |
Source | /Engine/Source/Runtime/Engine/Private/ReplayHelper.cpp |
static const EReadPacketState ReadPacket
&40;
FArchive & Archive,
TArray< uint8 > & OutBuffer,
const EReadPacketMode Mode
&41;
Remarks
Reads a formatted Demo Packet from the given archive (which is expected to be in Demo Frame format). EReadPacketState
Parameters
Name | Description |
---|---|
Archive | The archive from which to read. |
OutBuffer | Data used to store the read packet data. Note, this will stomp on existing memory instead of appending. |
MaxBufferSize | Largest expected packet buffer size. Used to detect corruption. |
Mode | How to handle packet data |