Navigation
API > API/Plugins > API/Plugins/GameplayAbilities
Handles configuration of a CustomApplicationRequirement function to see if this GameplayEffect should apply
| Name | UCustomCanApplyGameplayEffectComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectComponents/CustomCanApplyGameplayEffectComponent.h |
| Include Path | #include "GameplayEffectComponents/CustomCanApplyGameplayEffectComponent.h" |
Syntax
UCLASS (DisplayName="Custom Can Apply This Effect", MinimalAPI)
class UCustomCanApplyGameplayEffectComponent : public UGameplayEffectComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGameplayEffectComponent → UCustomCanApplyGameplayEffectComponent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCustomCanApplyGameplayEffectComponent() |
GameplayEffectComponents/CustomCanApplyGameplayEffectComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ApplicationRequirements | TArray< TSubclassOf< UGameplayEffectCustomApplicationRequirement > > | Custom application requirements | GameplayEffectComponents/CustomCanApplyGameplayEffectComponent.h |
|
Functions
Public
Overridden from UGameplayEffectComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanGameplayEffectApply
(
const FActiveGameplayEffectsContainer& ActiveGEContainer, |
Determine if we can apply this GameplayEffect or not | GameplayEffectComponents/CustomCanApplyGameplayEffectComponent.h |