Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UMoverComponent
Description
Called after applying a new tag snapshot from simulation output. In principle, every queued simulation tag event should account for every change between PreviousTags and NewTags. If that invariant is violated (i.e. a tag changed state without a corresponding event), this is a bug - we recover by emitting the missing events and logging a warning for each discrepancy. Delegates to DispatchGameplayTagTransitionEvents for the actual dispatch.
| Name | DispatchUnexpectedTagDriftEvents |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverComponent.h |
| Include Path | #include "MoverComponent.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoverComponent.cpp |
void DispatchUnexpectedTagDriftEvents
(
const FGameplayTagContainer & PreviousTags,
const FGameplayTagContainer & NewTags,
const TArray < TSharedPtr < FMoverSimulationEventData > > & Events,
const FMoverTimeStep & TimeStep
)