This repository has been archived on 2024-11-16. You can view files and clone it, but cannot push or open issues or pull requests.
Unreal-ModSupport/Source/ModSupportEditor/Public/ModSupportEditor.h

31 lines
780 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleManager.h"
class FModSupportEditorModule : public IModuleInterface
{
public:
/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;
// When the Create Button is clicked
void CreateModButtonClicked();
/** Adds the plugin creator as a new toolbar button */
void AddModCreatorToolbarExtension(FToolBarBuilder& Builder);
/** Adds the plugin packager as a new toolbar button */
void AddModPackagerToolbarExtension(FToolBarBuilder& Builder);
private:
TSharedPtr<class FModCreator> ModCreator;
TSharedPtr<class FModPackager> ModPackager;
TSharedPtr<class FUICommandList> PluginCommands;
};