blob: 43e41ea087d243ba146b30ddfde39392087d1fba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
class FSimpleUGCPluginWizardDefinition;
class SDockTab;
class FSimpleUGCCreator : public TSharedFromThis<FSimpleUGCCreator>
{
public:
FSimpleUGCCreator();
~FSimpleUGCCreator();
/**
* 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 SimpleUGCEditorPluginCreatorName;
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<SDockTab> HandleSpawnPluginTab(const class FSpawnTabArgs& SpawnTabArgs);
};
|