/Engine/Source/Runtime/Engine/Classes/Animation/AnimNode_StateMachine.h
Behaves like QueryTransitionEvent but additionally marks the event for consumption
bool QueryAndMarkTransitionEvent ( const int32 TransitionIndex, const [FName](API\Runtime\Core\UObject\FName) & EventName )