41 lines
999 B
C++
41 lines
999 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "RRDADataAssetBase.h"
|
|
#include "ItemAmount.h"
|
|
|
|
#include "RRDATurbineDataAsset.generated.h"
|
|
|
|
UCLASS( BlueprintType )
|
|
class REFINEDRDAPI_API URRDATurbineDataAsset : public URRDADataAssetBase
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
/**
|
|
* Fuel item that this heater uses
|
|
*/
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Turbine", meta=( UIMin = "1", UIMax = "2" ))
|
|
int32 mTier = 1;
|
|
|
|
/**
|
|
* Fuel item that this heater uses
|
|
*/
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Turbine")
|
|
FItemAmount mItem;
|
|
|
|
/**
|
|
* Item that this turbine produces
|
|
* @Note - Can be nullptr so that the turbine doesn't produce anything
|
|
*/
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Turbine")
|
|
FItemAmount mWasteItem;
|
|
|
|
/**
|
|
* Duration for one production
|
|
*/
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Turbine")
|
|
float mDuration = 6.f;
|
|
}; |