Files
UnrealEngineUWP/Engine/Source/Editor/LevelInstanceEditor/Private/LevelInstanceEditorModeCommands.h
patrick enfedaque e94b7f660e LevelInstance: Editor Mode
#rb jeanfrancois.dube, richard.malo
#preflight 61a517c4664cbb92c7a2d602

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18313364 in //UE5/Release-5.0/... via CL 18313817
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18314184 by patrick enfedaque in ue5-release-engine-test branch]
2021-11-29 14:47:15 -05:00

33 lines
765 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Framework/Commands/Commands.h"
#include "EditorStyleSet.h"
class FLevelInstanceEditorModeCommands : public TCommands<FLevelInstanceEditorModeCommands>
{
public:
FLevelInstanceEditorModeCommands() : TCommands<FLevelInstanceEditorModeCommands>
(
"LevelInstanceEditorMode",
NSLOCTEXT("Contexts", "LevelInstanceEditor", "Level Instance Editor"),
NAME_None,
FEditorStyle::GetStyleSetName() // Icon Style Set
)
{}
/** Exit Editor Mode */
TSharedPtr<FUICommandInfo> ExitMode;
/** Toggle Restrict Selection */
TSharedPtr<FUICommandInfo> ToggleContextRestriction;
/**
* Initialize commands
*/
virtual void RegisterCommands() override;
};