레전드 복잡해서 자고 일어나서 해야겠다.
This commit is contained in:
20
Source/Promether/GAS/DefaultAbilitySystemComponent.h
Normal file
20
Source/Promether/GAS/DefaultAbilitySystemComponent.h
Normal file
@@ -0,0 +1,20 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "AbilitySystemComponent.h"
|
||||
#include "DefaultAbilitySystemComponent.generated.h"
|
||||
|
||||
DECLARE_DYNAMIC_DELEGATE_ThreeParams(FReceivedDamageDelegate, UDefaultAbilitySystemComponent*, SourceASC, float, UnmitigatedDamage, float, MitigatedDamage);
|
||||
|
||||
UCLASS()
|
||||
class PROMETHER_API UDefaultAbilitySystemComponent : public UAbilitySystemComponent
|
||||
{
|
||||
GENERATED_BODY()
|
||||
public:
|
||||
FReceivedDamageDelegate ReceivedDamage;
|
||||
|
||||
virtual void ReceiveDamage(UDefaultAbilitySystemComponent* SourceASC, float UnmitigatedDamage, float MitigatedDamage);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user