Files
UnrealEngine/Engine/Source/Editor/LevelInstanceEditor/Private/LevelInstanceEditorModeCommands.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

38 lines
921 B
C++

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