Navigation
API > API/Runtime > API/Runtime/Chaos
Inheritance Hierarchy
- FBaseRewindHistory
- TDataRewindHistory
- TNetRewindHistory
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/RewindData.h |
| Include | #include "RewindData.h" |
Syntax
struct FBaseRewindHistory
Remarks
Base rewind history used in the rewind data
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ApplyInputs
(
const int32 ApplyFrame, |
Legacy interface to apply inputs | |
| TUniquePtr< FBaseRewindHistory > | Clone () |
Create a polymorphic copy of the history | |
| TUniquePtr< FBaseRewindHistory > | CopyFramesWithOffset
(
const uint32 StartFrame, |
Create a polymorphic copy of only a range of frames, applying the frame offset to the copies | |
| TUniquePtr< FBaseRewindHistory > | CreateNew () |
Create a new, empty instance with the same concrete type as this object | |
| void | Debug the data from the array of uint8 that will be transferred from client to server | ||
| void | DebugDatas
(
const Chaos::FBaseRewindHistory& NewDatas, |
||
| bool | ExtractData
(
const int32 ExtractFrame, |
Extract data from the history buffer at a given time | |
| bool | ExtractDatas
(
const int32 ExtractFrame, |
||
| bool | HasValidData
(
const int32 ValidFrame |
Check if the history buffer contains an entry for the given frame | |
| bool | HasValidDatas
(
const int32 ValidFrame |
||
| void | Iterate over and merge data | ||
| void | NetSerialize
(
FArchive& Ar, |
Serialize the data to or from a network archive | |
| int32 | ReceiveNewData
(
FBaseRewindHistory& NewData, |
Copy new data (received from the network) into this history, returns frame to resimulate from if | |
| void | ReceiveNewDatas
(
FBaseRewindHistory& NewDatas, |
||
| bool | RecordData
(
const int32 RecordFrame, |
Record data into the history buffer at a given time | |
| bool | RecordDatas
(
const int32 RecordFrame, |
||
| bool | RewindStates
(
const int32 RewindFrame, |
Legacy interface to rewind states | |
| void | SetPackageMap
(
UPackageMap* InPackageMap |
Set the package map for serialization | |
| bool | TriggerRewindFromNewData
(
void* NewData |
Compares new received data with local predicted data and returns true if they differ enough to trigger a resimulation | |
| void | ValidateDataInHistory
(
const void* ActorComponent |
Validate data in history buffer received from clients on the server |