|
| | TNetRewindHistory (const int32 FrameCount, const bool bIsHistoryLocal) |
| |
| | TNetRewindHistory (const int32 FrameCount) |
| |
| virtual | ~TNetRewindHistory () |
| |
| virtual TUniquePtr< Chaos::FBaseRewindHistory > | CreateNew () const |
| |
| virtual TUniquePtr< Chaos::FBaseRewindHistory > | Clone () const |
| |
| virtual void | ValidateDataInHistory (const void *ActorComponent) override |
| |
| virtual int32 | CountValidData (const uint32 StartFrame, const uint32 EndFrame, const bool bIncludeUnimportant=true, const bool bIncludeImportant=false) override |
| |
| virtual int32 | CountAlteredData (const bool bIncludeUnimportant=true, const bool bIncludeImportant=false) override |
| |
| virtual void | SetImportant (const bool bImportant, const int32 Frame=INDEX_NONE) override |
| |
| virtual void | ApplyDataRange (const int32 FromFrame, const int32 ToFrame, void *ActorComponent, const bool bOnlyImportant=false) override |
| |
| virtual bool | CopyAllData (Chaos::FBaseRewindHistory &OutHistory, bool bIncludeUnimportant=true, bool bIncludeImportant=false) override |
| |
| virtual bool | CopyAlteredData (Chaos::FBaseRewindHistory &OutHistory, bool bIncludeUnimportant=true, bool bIncludeImportant=false) override |
| |
| virtual bool | CopyData (Chaos::FBaseRewindHistory &OutHistory, const uint32 StartFrame, const uint32 EndFrame, bool bIncludeUnimportant=true, bool bIncludeImportant=false) override |
| |
| virtual TUniquePtr< Chaos::FBaseRewindHistory > | CopyFramesWithOffset (const uint32 StartFrame, const uint32 EndFrame, const int32 FrameOffset) override |
| |
| virtual int32 | ReceiveNewData (Chaos::FBaseRewindHistory &NewData, const int32 FrameOffset, bool CompareDataForRewind=false, const bool bImportant=false, int32 TryInjectAtFrame=INDEX_NONE) override |
| |
| virtual bool | ShouldRecordReceivedDataOnFrame (const DataType &ReceivedData, DataType *NextReceivedData=nullptr) |
| |
| virtual bool | TriggerRewindFromNewData (DataType &NewData) |
| |
| virtual void | NetSerialize (FArchive &Ar, UPackageMap *InPackageMap) override |
| |
| virtual void | NetSerialize (FArchive &Ar, UPackageMap *InPackageMap, TUniqueFunction< void(void *Data, const int32 DataIndex)> DataSetupFunction) override |
| |
| virtual void | DebugData (const Chaos::FBaseRewindHistory &DebugHistory, TArray< int32 > &LocalFrames, TArray< int32 > &ServerFrames, TArray< int32 > &InputFrames) override |
| |
| virtual void | DebugData (const FString &DebugText) override |
| |
| FORCEINLINE | TDataRewindHistory (const int32 FrameCount, const bool bIsHistoryLocal) |
| |
| FORCEINLINE | TDataRewindHistory (const int32 FrameCount) |
| |
| virtual FORCEINLINE | ~TDataRewindHistory () |
| |
| virtual void | Initialize () |
| |
| virtual FORCEINLINE bool | HasValidData (const int32 ValidFrame) const override |
| |
| virtual FORCEINLINE bool | ExtractData (const int32 ExtractFrame, const bool bResetSolver, void *HistoryData, const bool bExactFrame=false) override |
| |
| virtual FORCEINLINE void | MergeData (int32 FromFrame, void *ToData) override |
| |
| FORCEINLINE bool | LoadData (const int32 LoadFrame) |
| |
| FORCEINLINE bool | EvalData (const int32 EvalFrame) |
| |
| virtual FORCEINLINE bool | RecordData (const int32 RecordFrame, const void *HistoryData) override |
| |
| virtual FORCEINLINE bool | RecordDataGrowingOrdered (const void *HistoryData) override |
| |
| virtual FORCEINLINE void | SetRecordDataIncremental (const bool bInIncremental) override |
| |
| virtual bool | CopyAllDataGrowingOrdered (Chaos::FBaseRewindHistory &OutHistory) override |
| |
| DataType & | GetCurrentData () |
| |
| const DataType & | GetCurrentData () const |
| |
| DataType & | GetAndLoadEarliestData () |
| |
| DataType * | GetAndLoadNextIncrementalData () |
| |
| FORCEINLINE uint32 | NumValidData (const uint32 StartFrame, const uint32 EndFrame) const |
| |
| TArray< DataType > & | GetDataHistory () |
| |
| const TArray< DataType > & | GetDataHistoryConst () const |
| |
| virtual const int32 | GetLatestFrame () const override |
| |
| virtual const int32 | GetEarliestFrame () const override |
| |
| virtual const int32 | GetHistorySize () const |
| |
| virtual const bool | HasDataInHistory () const |
| |
| FORCEINLINE void | ResizeDataHistory (const int32 FrameCount, const EAllowShrinking AllowShrinking=EAllowShrinking::Default) override |
| |
| FORCEINLINE const uint32 | GetFrameIndex (const int32 Frame) const |
| |
| virtual FORCEINLINE void | ResetFast () |
| |
| virtual FORCEINLINE | ~FBaseRewindHistory () |
| |
| virtual FORCEINLINE void | SetPackageMap (class UPackageMap *InPackageMap) |
| |
| virtual int32 | ReceiveNewData (FBaseRewindHistory &NewData, const int32 FrameOffset, const bool CompareDataForRewind=false, const bool bImportant=false) |
| |
| virtual FORCEINLINE bool | RewindStates (const int32 RewindFrame, const bool bResetSolver) |
| |
| virtual FORCEINLINE bool | ApplyInputs (const int32 ApplyFrame, const bool bResetSolver) |
| |
template<
typename DataType,
bool bLegacyData = false>
struct TNetRewindHistory< DataType, bLegacyData >
Templated data history, holding a data buffer