feat: functions for cooler data

This commit is contained in:
2024-10-27 13:48:39 +01:00
parent ce944794dc
commit b4e8796e74
3 changed files with 46 additions and 10 deletions

View File

@@ -75,6 +75,19 @@ public:
UFUNCTION(BlueprintPure, Category = "RRDA|DataAsset|RP|MP")
TArray<URRDATurbineDataAsset*> GetAllTurbineAssets(int32 Tier) const;
// Cooler Functions
UFUNCTION(BlueprintPure, Category = "RRDA|DataAsset|RP|MP")
bool GetAllCoolerItems(TArray<TSubclassOf<UFGItemDescriptor>>& Items, ERRDACoolerType Type) const;
UFUNCTION(BlueprintPure, Category = "RRDA|DataAsset|RP|MP")
URRDACoolerDataAsset* GetCoolerItemData(TSubclassOf<UFGItemDescriptor>Item, ERRDACoolerType Type) const;
UFUNCTION(BlueprintPure, Category = "RRDA|DataAsset|RP|MP")
URRDACoolerDataAsset* GetDefaultCoolerAsset(ERRDACoolerType Type) const;
UFUNCTION(BlueprintPure, Category = "RRDA|DataAsset|RP|MP")
TArray<URRDACoolerDataAsset*> GetAllCoolerAssets(ERRDACoolerType Type) const;
public:
/**
* Find all data assets of a specific class