23 lines
557 B
C++
Executable file
23 lines
557 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Engine/DataAsset.h"
|
|
#include "CommunityReward.h"
|
|
#include "CommnuityRewardBundle.generated.h"
|
|
|
|
class UObject;
|
|
|
|
UCLASS(Blueprintable)
|
|
class UCommnuityRewardBundle : public UDataAsset {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
TArray<FCommunityReward> Rewards;
|
|
|
|
public:
|
|
UCommnuityRewardBundle();
|
|
UFUNCTION(BlueprintCallable, meta=(WorldContext="WorldContext"))
|
|
void AwardRewards(UObject* WorldContext);
|
|
|
|
};
|
|
|