// Copyright Epic Games, Inc. All Rights Reserved. #pragma once class FModSupportPluginWizardDefinition; class SDockTab; class FModCreator : public TSharedFromThis { public: FModCreator(); ~FModCreator(); /** * Opens the mod creator wizard. * @param bSuppressErrors If false, a dialog will be shown if the wizard cannot be opened for whatever reason */ void OpenNewPluginWizard(bool bSuppressErrors = false) const; /** The name to use when creating the tab for the tab spawner */ static const FName ModSupportEditorPluginCreatorName; private: /** Registers a nomad tab spawner that will create the mod wizard */ void RegisterTabSpawner(); /** Unregisters the nomad tab spawner */ void UnregisterTabSpawner(); /** Spawns the tab that hosts the mod creator wizard widget */ TSharedRef HandleSpawnPluginTab(const class FSpawnTabArgs& SpawnTabArgs); };