/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayPrediction.h
To be called on server when a new prediction key is received from the client (In an RPC). InSetReplicatedPredictionKey should be set to false in cases where we want a scoped prediction key but have already repped the prediction key. (For example, cached target data will restore the prediction key that the TD was sent with, but this key was already repped down as confirmed when received)
FScopedPredictionWindow ( [UAbilitySystemComponent](API\Plugins\GameplayAbilities\UAbilitySystemComponent) * AbilitySystemComponent, [FPredictionKey](API\Plugins\GameplayAbilities\FPredictionKey) InPredictionKey, bool InSetReplicatedPredictionKey )