// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Framework/Commands/Commands.h" #include "ModSupportEditorStyle.h" class FModSupportEditorCommands : public TCommands { public: FModSupportEditorCommands() : TCommands(TEXT("ModSupportEditor"), NSLOCTEXT("Contexts", "ModSupportEditor", "ModSupportEditor Plugin"), NAME_None, FModSupportEditorStyle::GetStyleSetName()) { } // TCommands<> interface virtual void RegisterCommands() override; TArray> RegisterModCommands(const TArray>& ModList) const; void UnregisterModCommands(TArray>& UICommands) const; public: TSharedPtr< FUICommandInfo > CreateModAction; TSharedPtr< FUICommandInfo > PackageModAction; };