2024-11-11 17:08:26 +00:00

41 lines
931 B
C++

#pragma once
#include "Enums/RRDADSEnums.h"
#include "Math/Transform.h"
#include "RRDADSStructs.generated.h"
USTRUCT(BlueprintType)
struct REFINEDRDAPI_API FRRDADSAdapterOffset
{
GENERATED_BODY()
public:
/* The relative transform from the buildings origin */
UPROPERTY(EditDefaultsOnly)
FTransform mRelativeTransform;
/* If the cover should be a conveyor cover or a pipe cover */
UPROPERTY(EditDefaultsOnly)
bool bIsConveyor = true;
};
USTRUCT(BlueprintType)
struct REFINEDRDAPI_API FRRDADSModAdapterInventoryAccess
{
GENERATED_BODY()
public:
/* The Inventory Name to search for */
UPROPERTY(EditDefaultsOnly)
FName mInventoryName;
/* The Inventory index to search for in case couldn't find by name */
UPROPERTY(EditDefaultsOnly)
int mInventoryIndex = 0;
/* The Inventory slots to allow access to Digital Storage */
UPROPERTY(EditDefaultsOnly)
TMap<int, ERRDADSInventorySlotAccess> mInventorySlots;
};