UAbilitySystemComponent::CallServerTryActivateAbility

Batching client->server RPCs This is a WIP feature to batch up client->server communication.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemComponent.h

Include

#include "AbilitySystemComponent.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemComponent_Abilities.cpp

Syntax

void CallServerTryActivateAbility
(
    FGameplayAbilitySpecHandle AbilityToActivate,
    bool InputPressed,
    FPredictionKey PredictionKey
)

Remarks

Batching client->server RPCs This is a WIP feature to batch up client->server communication. It is opt in and not complete. It only batches the below functions. Other Server RPCs are not safe to call during a batch window. Only opt in if you know what you are doing!

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss