unreal.GameplayAbilityNetSecurityPolicy

class unreal.GameplayAbilityNetSecurityPolicy

Bases: unreal.EnumBase

What protections does this ability have? Should the client be allowed to request changes to the execution of the ability?

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: GameplayAbilityTypes.h

CLIENT_OR_SERVER

No security requirements. Client or server can trigger execution and termination of this ability freely.

Type

0

SERVER_ONLY

Server controls both execution and termination of this ability. A client making any requests will be ignored.

Type

3

SERVER_ONLY_EXECUTION

A client requesting execution of this ability will be ignored by the server. Clients can still request that the server cancel or end this ability.

Type

1

SERVER_ONLY_TERMINATION

A client requesting cancellation or ending of this ability will be ignored by the server. Clients can still request execution of the ability.

Type

2