31 lines
861 B
C++
Executable file
31 lines
861 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "FSDUserWidget.h"
|
|
#include "SpaceRigBarMenuItem.generated.h"
|
|
|
|
class UDrinkableDataAsset;
|
|
|
|
UCLASS(Abstract, Blueprintable, EditInlineNew)
|
|
class USpaceRigBarMenuItem : public UFSDUserWidget {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
UDrinkableDataAsset* Drink;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
bool SpecialEditionSelected;
|
|
|
|
public:
|
|
USpaceRigBarMenuItem();
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void Unselect();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void Select();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent, BlueprintPure)
|
|
UDrinkableDataAsset* GetSelectedDrinkableType();
|
|
|
|
};
|
|
|