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

47 lines
1.3 KiB
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "ClaimableRewardEntry.h"
#include "ClaimableRewardEntryWidget.generated.h"
class UClaimableRewardEntryWidget;
UCLASS(Abstract, Blueprintable, EditInlineNew)
class UClaimableRewardEntryWidget : public UUserWidget {
GENERATED_BODY()
public:
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FWidgetDelegate, UClaimableRewardEntryWidget*, EntryWidget);
UPROPERTY(BlueprintAssignable, BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
FWidgetDelegate OnRewardClaimed;
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
FClaimableRewardEntry Data;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
FText ButtonText;
public:
UClaimableRewardEntryWidget();
protected:
UFUNCTION(BlueprintCallable)
void SignalRewardClaimed();
public:
UFUNCTION(BlueprintCallable)
void SetData(FClaimableRewardEntry InData);
protected:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void ReceiveMoveIn(float InStartDelay);
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void ReceiveDataChanged();
public:
UFUNCTION(BlueprintCallable)
void MoveIn(float InStartDelay);
};