Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
These are generic, nonpayload carrying events that are replicated between the client and server
| Name | EAbilityGenericReplicatedEvent::Type |
| Type | enum |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbilityTargetTypes.h |
| Include Path | #include "Abilities/GameplayAbilityTargetTypes.h" |
Syntax
namespace EAbilityGenericReplicatedEvent
{
enum Type
{
GenericConfirm = 0,
GenericCancel,
InputPressed,
InputReleased,
GenericSignalFromClient,
GenericSignalFromServer,
GameCustom1,
GameCustom2,
GameCustom3,
GameCustom4,
GameCustom5,
GameCustom6,
MAX,
}
}
Values
| Name | Remarks |
|---|---|
| GenericConfirm | A generic confirmation to commit the ability |
| GenericCancel | A generic cancellation event. |
| InputPressed | Additional input presses of the ability (Press X to activate ability, press X again while it is active to do other things within the GameplayAbility's logic) |
| InputReleased | Input release event of the ability |
| GenericSignalFromClient | A generic event from the client |
| GenericSignalFromServer | A generic event from the server |
| GameCustom1 | Custom events for game use |
| GameCustom2 | |
| GameCustom3 | |
| GameCustom4 | |
| GameCustom5 | |
| GameCustom6 | |
| MAX |