// Copyright Epic Games, Inc. All Rights Reserved. //~============================================================================= // LevelFactory //~============================================================================= #pragma once #include "CoreMinimal.h" #include "UObject/ObjectMacros.h" #include "Factories/Factory.h" #include "LevelFactory.generated.h" #define NEW_LEVELFACTORY_PROPERTY 1 UCLASS(MinimalAPI) class ULevelFactory: public UFactory { GENERATED_UCLASS_BODY() public: bool ReplaceFoundActors = false; bool DeleteOldOne = false; //~ Begin UFactory Interface virtual UObject* FactoryCreateText(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, const TCHAR* Type, const TCHAR*& Buffer, const TCHAR* BufferEnd, FFeedbackContext* Warn) override; //~ Begin UFactory Interface };