|
|
|
|
| #pragma once
|
|
|
| #include "Components/ControllerComponent.h"
|
| #include "GameplayTagContainer.h"
|
|
|
| #include "LyraNumberPopComponent.generated.h"
|
|
|
| class UObject;
|
| struct FFrame;
|
|
|
| USTRUCT(BlueprintType)
|
| struct FLyraNumberPopRequest
|
| {
|
| GENERATED_BODY()
|
|
|
|
|
| UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Lyra|Number Pops")
|
| FVector WorldLocation;
|
|
|
|
|
| UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Lyra|Number Pops")
|
| FGameplayTagContainer SourceTags;
|
|
|
|
|
| UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Lyra|Number Pops")
|
| FGameplayTagContainer TargetTags;
|
|
|
|
|
| UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Lyra|Number Pops")
|
| int32 NumberToDisplay = 0;
|
|
|
|
|
| UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Lyra|Number Pops")
|
| bool bIsCriticalDamage = false;
|
|
|
| FLyraNumberPopRequest()
|
| : WorldLocation(ForceInitToZero)
|
| {
|
| }
|
| };
|
|
|
|
|
| UCLASS(Abstract)
|
| class ULyraNumberPopComponent : public UControllerComponent
|
| {
|
| GENERATED_BODY()
|
|
|
| public:
|
|
|
| ULyraNumberPopComponent(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());
|
|
|
|
|
| UFUNCTION(BlueprintCallable, Category = Foo)
|
| virtual void AddNumberPop(const FLyraNumberPopRequest& NewRequest) {}
|
| };
|
|
|