Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
How an ability replicates state/events to everyone on the network
| Name | EGameplayAbilityReplicationPolicy::Type |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityTypes.h |
| Include Path | #include "Abilities/GameplayAbilityTypes.h" |
Syntax
namespace EGameplayAbilityReplicationPolicy
{
enum Type
{
ReplicateNo,
ReplicateYes,
}
}
Values
| Name | Remarks |
|---|---|
| ReplicateNo | We don't replicate the instance of the ability to anyone. |
| ReplicateYes | We replicate the instance of the ability to the owner. |