레전드 복잡해서 자고 일어나서 해야겠다.

This commit is contained in:
2023-10-28 03:31:01 +09:00
parent 832a889afd
commit 9c071ad3fc
28 changed files with 306 additions and 122 deletions

View 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);
};