Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
What protections does this ability have? Should the client be allowed to request changes to the execution of the ability?
| Name | EGameplayAbilityNetSecurityPolicy::Type |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityTypes.h |
| Include Path | #include "Abilities/GameplayAbilityTypes.h" |
Syntax
namespace EGameplayAbilityNetSecurityPolicy
{
enum Type
{
ClientOrServer,
ServerOnlyExecution,
ServerOnlyTermination,
ServerOnly,
}
}
Values
| Name | Remarks |
|---|---|
| ClientOrServer | No security requirements. |
| ServerOnlyExecution | A client requesting execution of this ability will be ignored by the server. |
| ServerOnlyTermination | A client requesting cancellation or ending of this ability will be ignored by the server. |
| ServerOnly | Server controls both execution and termination of this ability. |