#pragma once

#include "CoreMinimal.h"
#include "CoreSelectableButtonWidget.h"
#include "OnMoveToCharactersBioPageButtonClickedDelegate.h"
#include "StoreFeaturedCharacterViewData.h"
#include "CoreStoreFeaturedCharacterWidget.generated.h"

class UCoreButtonWidget;

UCLASS(Blueprintable, EditInlineNew)
class UCoreStoreFeaturedCharacterWidget : public UCoreSelectableButtonWidget
{
	GENERATED_BODY()

public:
	UPROPERTY(EditAnywhere, BlueprintReadWrite)
	FOnMoveToCharactersBioPageButtonClickedDelegate OnMoveToCharactersBioPageButtonClickedDelegate;

protected:
	UPROPERTY(EditAnywhere, BlueprintReadWrite, meta=(BindWidgetOptional))
	UCoreButtonWidget* MoveToCharactersBioPageButton;

public:
	UFUNCTION(BlueprintCallable, BlueprintNativeEvent)
	void SetCharacterData(const FStoreFeaturedCharacterViewData& characterData);

	UFUNCTION(BlueprintCallable)
	FStoreFeaturedCharacterViewData GetCharacterViewData();

public:
	UCoreStoreFeaturedCharacterWidget();
};

FORCEINLINE uint32 GetTypeHash(const UCoreStoreFeaturedCharacterWidget) { return 0; }
