Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FActionHistory |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsComponent.h" |
Syntax
struct FActionHistory
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FActionInstance | TInstancedStruct< FNetworkPhysicsActionPayload > | Physics/NetworkPhysicsComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FrameHistory | TArray< FActionHistoryFrameData > | Physics/NetworkPhysicsComponent.h | ||
| HistorySize | int32 | Physics/NetworkPhysicsComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddAction
(
const FActionInstance& ActionInstance, |
Physics/NetworkPhysicsComponent.h | ||
void ClearResimClaims() |
Reset bClaimedThisResim on every entry. Call once per resim pass. | Physics/NetworkPhysicsComponent.h | |
bool Deactivate
(
const FActionHistoryLocation& Location |
Physics/NetworkPhysicsComponent.h | ||
bool DeactivateAllByActionId
(
const uint16 ActionId |
Physics/NetworkPhysicsComponent.h | ||
bool DeactivateEquivalentActionsInRange
(
const FActionInstance& CandidateActionInstance, |
Physics/NetworkPhysicsComponent.h | ||
FActionHistoryLocation FindActiveActionById
(
const uint16 ActionId, |
Physics/NetworkPhysicsComponent.h | ||
FActionHistoryLocation FindEquivalentActionInRange
(
const FActionInstance& CandidateActionInstance, |
Physics/NetworkPhysicsComponent.h | ||
FActionHistoryFrameData * FindFrameData
(
const int32 LocalFrame |
Physics/NetworkPhysicsComponent.h | ||
const FActionHistoryFrameData * FindFrameData
(
const int32 LocalFrame |
Physics/NetworkPhysicsComponent.h | ||
FActionHistoryFrameData & FindOrAddFrameData
(
const int32 LocalFrame |
Physics/NetworkPhysicsComponent.h | ||
const FActionInstance * GetAction
(
const FActionHistoryLocation& Location |
Physics/NetworkPhysicsComponent.h | ||
| Split actions to replicate into unreliable and reliable output arrays based on FActionHistoryEntry::bReliable | Physics/NetworkPhysicsComponent.h | ||
int32 GetFrameIndex
(
const int32 LocalFrame |
Physics/NetworkPhysicsComponent.h | ||
int32 GetLocalFrame
(
const FActionHistoryLocation& Location |
Physics/NetworkPhysicsComponent.h | ||
bool HasEquivalentActionInRange
(
const FActionInstance& CandidateActionInstance, |
Physics/NetworkPhysicsComponent.h | ||
void Initialize
(
const int32 InHistorySize |
Physics/NetworkPhysicsComponent.h | ||
bool IsInitialized() |
Physics/NetworkPhysicsComponent.h | ||
FActionInstance MakeCopy
(
const FActionInstance& ActionInstance, |
End static helper functions | Physics/NetworkPhysicsComponent.h | |
bool MarkClaimed
(
const FActionHistoryLocation& Location |
Mark the entry at Location as claimed. | Physics/NetworkPhysicsComponent.h | |
void Reset() |
Physics/NetworkPhysicsComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AreEquivalent
(
const FActionInstance& ExistingActionInstance, |
Check if two actions are equal enough to be considered the same action. | Physics/NetworkPhysicsComponent.h | |
static bool AreSourceEquivalent
(
const FActionInstance& ExistingActionInstance, |
Check if two actions are of the same type and produced by the same source. | Physics/NetworkPhysicsComponent.h | |
static const FNetworkPhysicsActionPayload & GetRef
(
const FActionInstance& ActionInstance |
Start static helper functions | Physics/NetworkPhysicsComponent.h | |
static FNetworkPhysicsActionPayload & GetRefMutable
(
FActionInstance& ActionInstance |
Physics/NetworkPhysicsComponent.h | ||
static bool HasSameValidActionId
(
const FActionInstance& AActionInstance, |
Physics/NetworkPhysicsComponent.h | ||
static bool IsUsableEntry
(
const FActionHistoryEntry& Entry, |
Check if active, not applied and valid. | Physics/NetworkPhysicsComponent.h | |
static bool SameConcreteType
(
const FActionInstance& AActionInstance, |
Physics/NetworkPhysicsComponent.h |