feat(SP): New buildings data assets
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "RRDADataAssetBase.h"
|
||||
#include "ItemAmount.h"
|
||||
|
||||
#include "RRDADataAssetSolarPower.generated.h"
|
||||
|
||||
UCLASS( BlueprintType )
|
||||
class REFINEDRDAPI_API URRDADataAssetSolarPower : public URRDADataAssetBase
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
/**
|
||||
* Fuel item that this uses
|
||||
*/
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "SolarPower")
|
||||
FItemAmount mInput;
|
||||
|
||||
/**
|
||||
* What this produces
|
||||
*/
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "SolarPower")
|
||||
FItemAmount mOutput;
|
||||
|
||||
/**
|
||||
* What the min heat is needed to produce
|
||||
*/
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "SolarPower")
|
||||
float mMinHeatValue = 0.0f;
|
||||
};
|
||||
Reference in New Issue
Block a user