Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayAbilitySpec.h |
Include |
#include "GameplayAbilitySpec.h" |
namespace EGameplayAbilityActivationMode
{
enum Type
{
Authority,
NonAuthority,
Predicting,
Confirmed,
Rejected,
}
}
Name |
Description |
---|---|
Authority |
We are the authority activating this ability |
NonAuthority |
We are not the authority but aren't predicting yet. This is a mostly invalid state to be in |
Predicting |
We are predicting the activation of this ability |
Confirmed |
We are not the authority, but the authority has confirmed this activation |
Rejected |
We tried to activate it, and server told us we couldn't (even though we thought we could) |
Describes the status of activating this ability, this is updated as prediction is handled