23 lines
546 B
C++
Executable file
23 lines
546 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Blueprint/UserWidget.h"
|
|
#include "CustomAmmoCountWidget.generated.h"
|
|
|
|
class AItem;
|
|
|
|
UCLASS(Abstract, Blueprintable, EditInlineNew)
|
|
class UCustomAmmoCountWidget : public UUserWidget {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
TWeakObjectPtr<AItem> Item;
|
|
|
|
public:
|
|
UCustomAmmoCountWidget();
|
|
protected:
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void ReceiveItemSet();
|
|
|
|
};
|
|
|