2024-04-13 10:19:45 -04:00
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "AbilitySystemComponent.h"
|
2024-04-13 11:09:22 -04:00
|
|
|
|
#include "GasaCommon.h"
|
2024-04-13 10:19:45 -04:00
|
|
|
|
|
|
|
|
|
#include "GasaAbilitySystemComponent.generated.h"
|
|
|
|
|
|
2024-04-26 20:08:08 -04:00
|
|
|
|
|
|
|
|
|
DECLARE_MULTICAST_DELEGATE_OneParam(FEffectAssetTagsSig, FGameplayTagContainer const& /*Tags*/);
|
|
|
|
|
|
|
|
|
|
|
2024-04-13 18:35:19 -04:00
|
|
|
|
UCLASS(BlueprintType)
|
2024-04-13 10:19:45 -04:00
|
|
|
|
class GASA_API UGasaAbilitySystemComp : public UAbilitySystemComponent
|
|
|
|
|
{
|
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
public:
|
2024-04-26 20:08:08 -04:00
|
|
|
|
|
|
|
|
|
FEffectAssetTagsSig Event_OnEffectAppliedAssetTags;
|
|
|
|
|
|
2024-04-25 12:46:26 -04:00
|
|
|
|
void OnAbilityActorInfoSet();
|
|
|
|
|
|
|
|
|
|
void EffectApplied(UAbilitySystemComponent* AbilitySystem, FGameplayEffectSpec const& Spec, FActiveGameplayEffectHandle ActiveEffect);
|
|
|
|
|
|
|
|
|
|
#pragma region AbilitySystemComponent
|
|
|
|
|
void InitAbilityActorInfo(AActor* InOwnerActor, AActor* InAvatarActor) override;
|
|
|
|
|
#pragma endregion AbilitySystemComponent
|
2024-04-26 21:36:09 -04:00
|
|
|
|
};
|