20 lines
491 B
C++
Executable file
20 lines
491 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Components/ActorComponent.h"
|
|
#include "ItemAggregator.generated.h"
|
|
|
|
UCLASS(Blueprintable, ClassGroup=Custom, meta=(BlueprintSpawnableComponent))
|
|
class UItemAggregator : public UActorComponent {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
FText CounterText;
|
|
|
|
public:
|
|
UItemAggregator();
|
|
UFUNCTION(BlueprintCallable)
|
|
void UnbindAllEvents();
|
|
|
|
};
|
|
|