mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-15 05:51:29 -07:00
starting to add the hud in the sample
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "CogSampleDamageEvent.generated.h"
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------------------
|
||||
USTRUCT(BlueprintType)
|
||||
struct FCogSampleDamageEventParams
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
UPROPERTY(BlueprintReadWrite)
|
||||
float MitigatedDamage = 0;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite)
|
||||
float UnmitigatedDamage = 0;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite)
|
||||
AActor* DamageDealer = nullptr;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite)
|
||||
AActor* DamageReceiver = nullptr;
|
||||
};
|
||||
|
||||
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FCogSampleDamageEventDelegate, const FCogSampleDamageEventParams&, Params);
|
||||
Reference in New Issue
Block a user