From efdf8a133f5ae1ae45e395f759e2accaaf4c589d Mon Sep 17 00:00:00 2001 From: "Lukasz \"iniside\" Baran" Date: Sun, 6 Jan 2019 16:59:13 +0100 Subject: [PATCH] fix compilation when plugin with source in placed inside engine --- .../PrefabricatorRuntime/Public/Prefab/PrefabActor.h | 12 ++++++------ .../Public/Prefab/Random/PrefabRandomizerActor.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/PrefabricatorRuntime/Public/Prefab/PrefabActor.h b/Source/PrefabricatorRuntime/Public/Prefab/PrefabActor.h index 96707427..5d381b17 100644 --- a/Source/PrefabricatorRuntime/Public/Prefab/PrefabActor.h +++ b/Source/PrefabricatorRuntime/Public/Prefab/PrefabActor.h @@ -10,7 +10,7 @@ UCLASS(Blueprintable, ConversionRoot, ComponentWrapperClass) class PREFABRICATORRUNTIME_API APrefabActor : public AActor { GENERATED_UCLASS_BODY() public: - UPROPERTY(BlueprintReadOnly, meta = (ExposeFunctionCategories = "Prefabricator", AllowPrivateAccess = "true")) + UPROPERTY(BlueprintReadOnly, Category = "Components", meta = (ExposeFunctionCategories = "Prefabricator", AllowPrivateAccess = "true")) class UPrefabComponent* PrefabComponent; public: @@ -26,19 +26,19 @@ class PREFABRICATORRUNTIME_API APrefabActor : public AActor { #endif // WITH_EDITOR /// End of AActor Interface - UFUNCTION(BlueprintCallable) + UFUNCTION(BlueprintCallable, Category = "Prefabricator") void LoadPrefab(); - UFUNCTION(BlueprintCallable) + UFUNCTION(BlueprintCallable, Category = "Prefabricator") void SavePrefab(); - UFUNCTION(BlueprintCallable, BlueprintPure) + UFUNCTION(BlueprintCallable, BlueprintPure, Category = "Prefabricator") bool IsPrefabOutdated(); - UFUNCTION(BlueprintCallable, BlueprintPure) + UFUNCTION(BlueprintCallable, BlueprintPure, Category = "Prefabricator") UPrefabricatorAsset* GetPrefabAsset(); - UFUNCTION(BlueprintCallable) + UFUNCTION(BlueprintCallable, Category = "Prefabricator") void RandomizeSeed(const FRandomStream& InRandom, bool bRecursive = true); void HandleBuildComplete(); diff --git a/Source/PrefabricatorRuntime/Public/Prefab/Random/PrefabRandomizerActor.h b/Source/PrefabricatorRuntime/Public/Prefab/Random/PrefabRandomizerActor.h index 8e406f38..15422130 100644 --- a/Source/PrefabricatorRuntime/Public/Prefab/Random/PrefabRandomizerActor.h +++ b/Source/PrefabricatorRuntime/Public/Prefab/Random/PrefabRandomizerActor.h @@ -14,7 +14,7 @@ class PREFABRICATORRUNTIME_API APrefabRandomizer : public AActor { virtual void BeginPlay() override; - UFUNCTION(BlueprintCallable) + UFUNCTION(BlueprintCallable, Category = "Prefabricator") void Randomize(int32 InSeed); #if WITH_EDITOR