37 lines
1.2 KiB
C++
Executable file
37 lines
1.2 KiB
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
|
#include "SchematicBlueprintLibrary.generated.h"
|
|
|
|
class UItemSkinSchematicCollection;
|
|
class UItemUpgrade;
|
|
class UObject;
|
|
class UPlayerCharacterID;
|
|
class USchematic;
|
|
class USchematicCategory;
|
|
|
|
UCLASS(Blueprintable)
|
|
class USchematicBlueprintLibrary : public UBlueprintFunctionLibrary {
|
|
GENERATED_BODY()
|
|
public:
|
|
USchematicBlueprintLibrary();
|
|
UFUNCTION(BlueprintCallable)
|
|
static void PriceSchematics(const TSet<USchematic*>& Schematics);
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
static void PriceAllSchematics(bool lockPrices);
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
static void LockSchematics(const TSet<USchematic*>& Schematics);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure, meta=(WorldContext="WorldContextObject"))
|
|
static bool HasAnyUnlockableSchematics(UObject* WorldContextObject, UPlayerCharacterID* characterID, TSet<USchematicCategory*>& Categories);
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
static USchematicCategory* FindItemUpgradeSchematicCategory(UItemUpgrade* Upgrade);
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
static void AddSkinSchematicCollectionToSettings(UItemSkinSchematicCollection* Collection);
|
|
|
|
};
|
|
|