Files
UnrealEngineUWP/Engine/Source/Editor/Blutility/Classes/EditorUtilityObject.h
daren cheng a5235ffd58 Add interface to add tags to BlueprintGeneratedClasses so BlueprintGeneratedClass assets can effectively replace BP assets.
#rb ben.zeigler, dan.oconnor, Phillip.Kavan

[CL 27569143 by daren cheng in ue5-main branch]
2023-09-01 18:24:03 -04:00

33 lines
827 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
/**
* Base class of any editor-only objects
*/
#pragma once
#include "UObject/Object.h"
#include "UObject/ObjectMacros.h"
#include "UObject/UObjectGlobals.h"
#include "IAssetRegistryTagProviderInterface.h"
#include "EditorUtilityObject.generated.h"
UCLASS(Abstract, Blueprintable, meta = (ShowWorldContextPin))
class BLUTILITY_API UEditorUtilityObject : public UObject, public IAssetRegistryTagProviderInterface
{
GENERATED_UCLASS_BODY()
// Standard function to execute
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent, Category = "Editor")
void Run();
//~ Begin IAssetRegistryTagProviderInterface interface
virtual bool ShouldAddCDOTagsToBlueprintClass() const override
{
return true;
}
//~ End IAssetRegistryTagProviderInterface interface
};