DRG-Femboy-Voice/Source/FSD/Public/ShoutWidget.h
2025-04-15 12:39:31 -07:00

29 lines
761 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "ShoutWidget.generated.h"
class APlayerCharacter;
UCLASS(Abstract, Blueprintable, EditInlineNew)
class UShoutWidget : public UUserWidget {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
TWeakObjectPtr<APlayerCharacter> Sender;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
FText Text;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
float Duration;
public:
UShoutWidget();
protected:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void OnShout();
};