Patch Update - Shortcut Fix - V0.2.3
This commit is contained in:
Binary file not shown.
8
Plugin/Plugins/ReloadEditor/Config/FilterPlugin.ini
Normal file
8
Plugin/Plugins/ReloadEditor/Config/FilterPlugin.ini
Normal file
@@ -0,0 +1,8 @@
|
||||
[FilterPlugin]
|
||||
; This section lists additional files which will be packaged along with your plugin. Paths should be listed relative to the root plugin directory, and
|
||||
; may include "...", "*", and "?" wildcards to match directories, files, and individual characters respectively.
|
||||
;
|
||||
; Examples:
|
||||
; /README.txt
|
||||
; /Extras/...
|
||||
; /Binaries/ThirdParty/*.dll
|
@@ -17,7 +17,7 @@ void EmptyLinkFunctionForGeneratedCodeReloadEditor_init() {}
|
||||
nullptr,
|
||||
0,
|
||||
PKG_CompiledIn | 0x00000040,
|
||||
0xD7AD0F40,
|
||||
0x3CC6A0C1,
|
||||
0x034928BB,
|
||||
METADATA_PARAMS(0, nullptr)
|
||||
};
|
||||
@@ -25,5 +25,5 @@ void EmptyLinkFunctionForGeneratedCodeReloadEditor_init() {}
|
||||
}
|
||||
return Z_Registration_Info_UPackage__Script_ReloadEditor.OuterSingleton;
|
||||
}
|
||||
static FRegisterCompiledInInfo Z_CompiledInDeferPackage_UPackage__Script_ReloadEditor(Z_Construct_UPackage__Script_ReloadEditor, TEXT("/Script/ReloadEditor"), Z_Registration_Info_UPackage__Script_ReloadEditor, CONSTRUCT_RELOAD_VERSION_INFO(FPackageReloadVersionInfo, 0xD7AD0F40, 0x034928BB));
|
||||
static FRegisterCompiledInInfo Z_CompiledInDeferPackage_UPackage__Script_ReloadEditor(Z_Construct_UPackage__Script_ReloadEditor, TEXT("/Script/ReloadEditor"), Z_Registration_Info_UPackage__Script_ReloadEditor, CONSTRUCT_RELOAD_VERSION_INFO(FPackageReloadVersionInfo, 0x3CC6A0C1, 0x034928BB));
|
||||
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
||||
|
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "UObject/GeneratedCppIncludes.h"
|
||||
#include "ReloadEditor/Public/ReloadEditorSettings.h"
|
||||
#include "Runtime/Slate/Public/Framework/Commands/InputChord.h"
|
||||
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
||||
void EmptyLinkFunctionForGeneratedCodeReloadEditorSettings() {}
|
||||
|
||||
@@ -13,6 +14,7 @@ void EmptyLinkFunctionForGeneratedCodeReloadEditorSettings() {}
|
||||
COREUOBJECT_API UClass* Z_Construct_UClass_UObject();
|
||||
RELOADEDITOR_API UClass* Z_Construct_UClass_UReloadEditorSettings();
|
||||
RELOADEDITOR_API UClass* Z_Construct_UClass_UReloadEditorSettings_NoRegister();
|
||||
SLATE_API UScriptStruct* Z_Construct_UScriptStruct_FInputChord();
|
||||
UPackage* Z_Construct_UPackage__Script_ReloadEditor();
|
||||
// End Cross Module References
|
||||
|
||||
@@ -40,11 +42,16 @@ struct Z_Construct_UClass_UReloadEditorSettings_Statics
|
||||
{ "Category", "Options" },
|
||||
{ "ModuleRelativePath", "Public/ReloadEditorSettings.h" },
|
||||
};
|
||||
static constexpr UECodeGen_Private::FMetaDataPairParam NewProp_CustomShortcut_MetaData[] = {
|
||||
{ "Category", "Options" },
|
||||
{ "ModuleRelativePath", "Public/ReloadEditorSettings.h" },
|
||||
};
|
||||
#endif // WITH_METADATA
|
||||
static void NewProp_bAutoSaveBeforeReload_SetBit(void* Obj);
|
||||
static const UECodeGen_Private::FBoolPropertyParams NewProp_bAutoSaveBeforeReload;
|
||||
static void NewProp_bAutoReloadLastMap_SetBit(void* Obj);
|
||||
static const UECodeGen_Private::FBoolPropertyParams NewProp_bAutoReloadLastMap;
|
||||
static const UECodeGen_Private::FStructPropertyParams NewProp_CustomShortcut;
|
||||
static const UECodeGen_Private::FPropertyParamsBase* const PropPointers[];
|
||||
static UObject* (*const DependentSingletons[])();
|
||||
static constexpr FCppClassTypeInfoStatic StaticCppClassTypeInfo = {
|
||||
@@ -62,9 +69,11 @@ void Z_Construct_UClass_UReloadEditorSettings_Statics::NewProp_bAutoReloadLastMa
|
||||
((UReloadEditorSettings*)Obj)->bAutoReloadLastMap = 1;
|
||||
}
|
||||
const UECodeGen_Private::FBoolPropertyParams Z_Construct_UClass_UReloadEditorSettings_Statics::NewProp_bAutoReloadLastMap = { "bAutoReloadLastMap", nullptr, (EPropertyFlags)0x0010000000004001, UECodeGen_Private::EPropertyGenFlags::Bool | UECodeGen_Private::EPropertyGenFlags::NativeBool, RF_Public|RF_Transient|RF_MarkAsNative, nullptr, nullptr, 1, sizeof(bool), sizeof(UReloadEditorSettings), &Z_Construct_UClass_UReloadEditorSettings_Statics::NewProp_bAutoReloadLastMap_SetBit, METADATA_PARAMS(UE_ARRAY_COUNT(NewProp_bAutoReloadLastMap_MetaData), NewProp_bAutoReloadLastMap_MetaData) };
|
||||
const UECodeGen_Private::FStructPropertyParams Z_Construct_UClass_UReloadEditorSettings_Statics::NewProp_CustomShortcut = { "CustomShortcut", nullptr, (EPropertyFlags)0x0010000000004001, UECodeGen_Private::EPropertyGenFlags::Struct, RF_Public|RF_Transient|RF_MarkAsNative, nullptr, nullptr, 1, STRUCT_OFFSET(UReloadEditorSettings, CustomShortcut), Z_Construct_UScriptStruct_FInputChord, METADATA_PARAMS(UE_ARRAY_COUNT(NewProp_CustomShortcut_MetaData), NewProp_CustomShortcut_MetaData) }; // 4109060215
|
||||
const UECodeGen_Private::FPropertyParamsBase* const Z_Construct_UClass_UReloadEditorSettings_Statics::PropPointers[] = {
|
||||
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UReloadEditorSettings_Statics::NewProp_bAutoSaveBeforeReload,
|
||||
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UReloadEditorSettings_Statics::NewProp_bAutoReloadLastMap,
|
||||
(const UECodeGen_Private::FPropertyParamsBase*)&Z_Construct_UClass_UReloadEditorSettings_Statics::NewProp_CustomShortcut,
|
||||
};
|
||||
static_assert(UE_ARRAY_COUNT(Z_Construct_UClass_UReloadEditorSettings_Statics::PropPointers) < 2048);
|
||||
UObject* (*const Z_Construct_UClass_UReloadEditorSettings_Statics::DependentSingletons[])() = {
|
||||
@@ -107,10 +116,10 @@ UReloadEditorSettings::~UReloadEditorSettings() {}
|
||||
struct Z_CompiledInDeferFile_FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_Statics
|
||||
{
|
||||
static constexpr FClassRegisterCompiledInInfo ClassInfo[] = {
|
||||
{ Z_Construct_UClass_UReloadEditorSettings, UReloadEditorSettings::StaticClass, TEXT("UReloadEditorSettings"), &Z_Registration_Info_UClass_UReloadEditorSettings, CONSTRUCT_RELOAD_VERSION_INFO(FClassReloadVersionInfo, sizeof(UReloadEditorSettings), 2977088711U) },
|
||||
{ Z_Construct_UClass_UReloadEditorSettings, UReloadEditorSettings::StaticClass, TEXT("UReloadEditorSettings"), &Z_Registration_Info_UClass_UReloadEditorSettings, CONSTRUCT_RELOAD_VERSION_INFO(FClassReloadVersionInfo, sizeof(UReloadEditorSettings), 2272502016U) },
|
||||
};
|
||||
};
|
||||
static FRegisterCompiledInInfo Z_CompiledInDeferFile_FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_237890257(TEXT("/Script/ReloadEditor"),
|
||||
static FRegisterCompiledInInfo Z_CompiledInDeferFile_FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_1956622029(TEXT("/Script/ReloadEditor"),
|
||||
Z_CompiledInDeferFile_FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_Statics::ClassInfo, UE_ARRAY_COUNT(Z_CompiledInDeferFile_FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_Statics::ClassInfo),
|
||||
nullptr, 0,
|
||||
nullptr, 0);
|
||||
|
@@ -14,7 +14,7 @@ PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
||||
#endif
|
||||
#define RELOADEDITOR_ReloadEditorSettings_generated_h
|
||||
|
||||
#define FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_11_INCLASS_NO_PURE_DECLS \
|
||||
#define FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_10_INCLASS_NO_PURE_DECLS \
|
||||
private: \
|
||||
static void StaticRegisterNativesUReloadEditorSettings(); \
|
||||
friend struct Z_Construct_UClass_UReloadEditorSettings_Statics; \
|
||||
@@ -25,7 +25,7 @@ public: \
|
||||
|
||||
|
||||
|
||||
#define FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_11_ENHANCED_CONSTRUCTORS \
|
||||
#define FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_10_ENHANCED_CONSTRUCTORS \
|
||||
private: \
|
||||
/** Private move- and copy-constructors, should never be used */ \
|
||||
UReloadEditorSettings(UReloadEditorSettings&&); \
|
||||
@@ -37,12 +37,12 @@ public: \
|
||||
NO_API virtual ~UReloadEditorSettings();
|
||||
|
||||
|
||||
#define FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_8_PROLOG
|
||||
#define FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_11_GENERATED_BODY \
|
||||
#define FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_7_PROLOG
|
||||
#define FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_10_GENERATED_BODY \
|
||||
PRAGMA_DISABLE_DEPRECATION_WARNINGS \
|
||||
public: \
|
||||
FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_11_INCLASS_NO_PURE_DECLS \
|
||||
FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_11_ENHANCED_CONSTRUCTORS \
|
||||
FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_10_INCLASS_NO_PURE_DECLS \
|
||||
FID_Github_Repo_UTB_Plugin_Plugin_Plugins_ReloadEditor_Source_ReloadEditor_Public_ReloadEditorSettings_h_10_ENHANCED_CONSTRUCTORS \
|
||||
private: \
|
||||
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
||||
|
||||
|
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"Version": "1.2",
|
||||
"Data": {
|
||||
"Source": "f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\private\\customkeyselector.cpp",
|
||||
"ProvidedModule": "",
|
||||
"PCH": "f:\\github_repo\\utb-plugin\\plugin\\intermediate\\build\\win64\\x64\\plugineditor\\development\\unrealed\\sharedpch.unrealed.project.valapi.cpp20.inclorderoldest.h.pch",
|
||||
"Includes": [
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\intermediate\\build\\win64\\x64\\unrealeditor\\development\\reloadeditor\\definitions.reloadeditor.h",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\public\\customkeyselector.h"
|
||||
],
|
||||
"ImportedModules": [],
|
||||
"ImportedHeaderUnits": []
|
||||
}
|
||||
}
|
@@ -0,0 +1,51 @@
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Source\ReloadEditor\Private\CustomKeySelector.cpp"
|
||||
/FI"F:\Github_Repo\UTB-Plugin\Plugin\Intermediate\Build\Win64\x64\PluginEditor\Development\UnrealEd\SharedPCH.UnrealEd.Project.ValApi.Cpp20.InclOrderOldest.h"
|
||||
/FI"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Definitions.ReloadEditor.h"
|
||||
/Yu"F:\Github_Repo\UTB-Plugin\Plugin\Intermediate\Build\Win64\x64\PluginEditor\Development\UnrealEd\SharedPCH.UnrealEd.Project.ValApi.Cpp20.InclOrderOldest.h"
|
||||
/Fp"F:\Github_Repo\UTB-Plugin\Plugin\Intermediate\Build\Win64\x64\PluginEditor\Development\UnrealEd\SharedPCH.UnrealEd.Project.ValApi.Cpp20.InclOrderOldest.h.pch"
|
||||
/Fo"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\CustomKeySelector.cpp.obj"
|
||||
/sourceDependencies "F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\CustomKeySelector.cpp.dep.json"
|
||||
@"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.Shared.rsp"
|
||||
/Zc:inline
|
||||
/nologo
|
||||
/Oi
|
||||
/FC
|
||||
/c
|
||||
/Gw
|
||||
/Gy
|
||||
/utf-8
|
||||
/wd4819
|
||||
/DSAL_NO_ATTRIBUTE_DECLARATIONS=1
|
||||
/permissive-
|
||||
/Zc:strictStrings-
|
||||
/Zc:__cplusplus
|
||||
/D_CRT_STDIO_LEGACY_WIDE_SPECIFIERS=1
|
||||
/D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS=1
|
||||
/D_WINDLL
|
||||
/D_DISABLE_EXTENDED_ALIGNED_STORAGE
|
||||
/Ob2
|
||||
/d2ExtendedWarningInfo
|
||||
/Ox
|
||||
/Ot
|
||||
/GF
|
||||
/errorReport:prompt
|
||||
/EHsc
|
||||
/DPLATFORM_EXCEPTIONS_DISABLED=0
|
||||
/Z7
|
||||
/MD
|
||||
/bigobj
|
||||
/fp:fast
|
||||
/Zo
|
||||
/Zp8
|
||||
/we4456
|
||||
/we4458
|
||||
/we4459
|
||||
/we4668
|
||||
/wd4244
|
||||
/wd4838
|
||||
/TP
|
||||
/GR-
|
||||
/W4
|
||||
/std:c++20
|
||||
/Zc:preprocessor
|
||||
/wd5054
|
@@ -2,12 +2,12 @@
|
||||
"RemapUnityFiles":
|
||||
{
|
||||
"Module.ReloadEditor.cpp.obj": [
|
||||
"ReloadEditorStyle.cpp.obj",
|
||||
"ReloadEditor.init.gen.cpp.obj",
|
||||
"ReloadEditorSettings.gen.cpp.obj",
|
||||
"ReloadEditor.cpp.obj",
|
||||
"ReloadEditorCommands.cpp.obj",
|
||||
"ReloadEditorSettings.cpp.obj",
|
||||
"ReloadEditorStyle.cpp.obj",
|
||||
"ReloadEditor.cpp.obj"
|
||||
"ReloadEditorSettings.cpp.obj"
|
||||
]
|
||||
}
|
||||
}
|
@@ -2,12 +2,13 @@
|
||||
"RemapUnityFiles":
|
||||
{
|
||||
"Module.ReloadEditor.cpp.obj": [
|
||||
"ReloadEditorStyle.cpp.obj",
|
||||
"ReloadEditor.init.gen.cpp.obj",
|
||||
"ReloadEditorSettings.gen.cpp.obj",
|
||||
"CustomKeySelector.cpp.obj",
|
||||
"ReloadEditor.cpp.obj",
|
||||
"ReloadEditorCommands.cpp.obj",
|
||||
"ReloadEditorSettings.cpp.obj",
|
||||
"ReloadEditorStyle.cpp.obj"
|
||||
"ReloadEditorSettings.cpp.obj"
|
||||
]
|
||||
}
|
||||
}
|
@@ -1,6 +1,2 @@
|
||||
// This file is automatically generated at compile-time to include some subset of the user-created cpp files.
|
||||
#include "F:/Github_Repo/UTB-Plugin/Plugin/Plugins/ReloadEditor/Intermediate/Build/Win64/UnrealEditor/Inc/ReloadEditor/UHT/ReloadEditor.init.gen.cpp"
|
||||
#include "F:/Github_Repo/UTB-Plugin/Plugin/Plugins/ReloadEditor/Intermediate/Build/Win64/UnrealEditor/Inc/ReloadEditor/UHT/ReloadEditorSettings.gen.cpp"
|
||||
#include "F:/Github_Repo/UTB-Plugin/Plugin/Plugins/ReloadEditor/Source/ReloadEditor/Private/ReloadEditorCommands.cpp"
|
||||
#include "F:/Github_Repo/UTB-Plugin/Plugin/Plugins/ReloadEditor/Source/ReloadEditor/Private/ReloadEditorSettings.cpp"
|
||||
#include "F:/Github_Repo/UTB-Plugin/Plugin/Plugins/ReloadEditor/Source/ReloadEditor/Private/ReloadEditorStyle.cpp"
|
||||
|
@@ -6,21 +6,8 @@
|
||||
"PCH": "f:\\github_repo\\utb-plugin\\plugin\\intermediate\\build\\win64\\x64\\plugineditor\\development\\unrealed\\sharedpch.unrealed.project.valapi.cpp20.inclorderoldest.h.pch",
|
||||
"Includes": [
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\intermediate\\build\\win64\\x64\\unrealeditor\\development\\reloadeditor\\definitions.reloadeditor.h",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\intermediate\\build\\win64\\unrealeditor\\inc\\reloadeditor\\uht\\reloadeditor.init.gen.cpp",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\intermediate\\build\\win64\\unrealeditor\\inc\\reloadeditor\\uht\\reloadeditorsettings.gen.cpp",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\public\\reloadeditorsettings.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\coreuobject\\public\\uobject\\noexporttypes.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\coreuobject\\public\\uobject\\propertyaccessutil.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\coreuobject\\public\\serialization\\testundeclaredscriptstructobjectreferences.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\core\\public\\math\\unitconversion.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\core\\public\\math\\unitconversion.inl",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\core\\public\\internationalization\\polyglottextdata.h",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\intermediate\\build\\win64\\unrealeditor\\inc\\reloadeditor\\uht\\reloadeditorsettings.generated.h",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\private\\reloadeditorcommands.cpp",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\public\\reloadeditorcommands.h",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\public\\reloadeditorstyle.h",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\private\\reloadeditorsettings.cpp",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\private\\reloadeditorstyle.cpp",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\public\\reloadeditorstyle.h",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\public\\reloadeditor.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\slatecore\\public\\styling\\slatestyleregistry.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\engine\\public\\slate\\slategameresources.h",
|
||||
|
@@ -1,7 +1,4 @@
|
||||
// This file is automatically generated at compile-time to include some subset of the user-created cpp files.
|
||||
#include "F:/Github_Repo/UTB-Plugin/Plugin/Plugins/ReloadEditor/Intermediate/Build/Win64/UnrealEditor/Inc/ReloadEditor/UHT/ReloadEditor.init.gen.cpp"
|
||||
#include "F:/Github_Repo/UTB-Plugin/Plugin/Plugins/ReloadEditor/Intermediate/Build/Win64/UnrealEditor/Inc/ReloadEditor/UHT/ReloadEditorSettings.gen.cpp"
|
||||
#include "F:/Github_Repo/UTB-Plugin/Plugin/Plugins/ReloadEditor/Source/ReloadEditor/Private/ReloadEditor.cpp"
|
||||
#include "F:/Github_Repo/UTB-Plugin/Plugin/Plugins/ReloadEditor/Source/ReloadEditor/Private/ReloadEditorCommands.cpp"
|
||||
#include "F:/Github_Repo/UTB-Plugin/Plugin/Plugins/ReloadEditor/Source/ReloadEditor/Private/ReloadEditorSettings.cpp"
|
||||
#include "F:/Github_Repo/UTB-Plugin/Plugin/Plugins/ReloadEditor/Source/ReloadEditor/Private/ReloadEditorStyle.cpp"
|
||||
|
@@ -26,7 +26,16 @@
|
||||
"f:\\ue_5.4\\engine\\source\\developer\\sourcecontrol\\public\\isourcecontrolstate.h",
|
||||
"f:\\ue_5.4\\engine\\source\\developer\\sourcecontrol\\public\\isourcecontroloperation.h",
|
||||
"f:\\ue_5.4\\engine\\source\\developer\\sourcecontrol\\public\\sourcecontrolresultinfo.h",
|
||||
"f:\\ue_5.4\\engine\\intermediate\\build\\win64\\unrealeditor\\inc\\unrealed\\uht\\filehelpers.generated.h"
|
||||
"f:\\ue_5.4\\engine\\intermediate\\build\\win64\\unrealeditor\\inc\\unrealed\\uht\\filehelpers.generated.h",
|
||||
"f:\\ue_5.4\\engine\\source\\editor\\leveleditor\\public\\leveleditor.h",
|
||||
"f:\\ue_5.4\\engine\\source\\editor\\leveleditor\\public\\ileveleditor.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\engine\\public\\elements\\framework\\engineelementslibrary.h",
|
||||
"f:\\ue_5.4\\engine\\intermediate\\build\\win64\\unrealeditor\\inc\\engine\\uht\\engineelementslibrary.generated.h",
|
||||
"f:\\ue_5.4\\engine\\source\\editor\\leveleditor\\public\\viewporttypedefinition.h",
|
||||
"f:\\ue_5.4\\engine\\source\\editor\\leveleditor\\public\\leveleditoroutlinersettings.h",
|
||||
"f:\\ue_5.4\\engine\\source\\developer\\toolwidgets\\public\\filters\\genericfilter.h",
|
||||
"f:\\ue_5.4\\engine\\source\\developer\\toolwidgets\\public\\filters\\filterbase.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\slate\\public\\widgets\\input\\sinputkeyselector.h"
|
||||
],
|
||||
"ImportedModules": [],
|
||||
"ImportedHeaderUnits": []
|
||||
|
@@ -7,7 +7,15 @@
|
||||
"Includes": [
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\intermediate\\build\\win64\\x64\\unrealeditor\\development\\reloadeditor\\definitions.reloadeditor.h",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\public\\reloadeditorcommands.h",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\public\\reloadeditorstyle.h"
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\public\\reloadeditorstyle.h",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\source\\reloadeditor\\public\\reloadeditorsettings.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\coreuobject\\public\\uobject\\noexporttypes.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\coreuobject\\public\\uobject\\propertyaccessutil.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\coreuobject\\public\\serialization\\testundeclaredscriptstructobjectreferences.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\core\\public\\math\\unitconversion.h",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\core\\public\\math\\unitconversion.inl",
|
||||
"f:\\ue_5.4\\engine\\source\\runtime\\core\\public\\internationalization\\polyglottextdata.h",
|
||||
"f:\\github_repo\\utb-plugin\\plugin\\plugins\\reloadeditor\\intermediate\\build\\win64\\unrealeditor\\inc\\reloadeditor\\uht\\reloadeditorsettings.generated.h"
|
||||
],
|
||||
"ImportedModules": [],
|
||||
"ImportedHeaderUnits": []
|
||||
|
@@ -37,6 +37,11 @@
|
||||
/FUNCTIONPADMIN:6
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Intermediate\Build\Win64\x64\PluginEditor\Development\UnrealEd\SharedPCH.UnrealEd.Project.ValApi.Cpp20.InclOrderOldest.h.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Module.ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorCommands.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.init.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Default.rc2.res"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Projects\UnrealEditor-Projects.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\InputCore\UnrealEditor-InputCore.lib"
|
||||
@@ -47,6 +52,7 @@
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Engine\UnrealEditor-Engine.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Slate\UnrealEditor-Slate.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\SlateCore\UnrealEditor-SlateCore.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\PropertyEditor\UnrealEditor-PropertyEditor.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Core\UnrealEditor-Core.lib"
|
||||
"delayimp.lib"
|
||||
"wininet.lib"
|
||||
|
Binary file not shown.
@@ -8,5 +8,10 @@
|
||||
/NODEFAULTLIB
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Intermediate\Build\Win64\x64\PluginEditor\Development\UnrealEd\SharedPCH.UnrealEd.Project.ValApi.Cpp20.InclOrderOldest.h.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Module.ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorCommands.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.init.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Default.rc2.res"
|
||||
/OUT:"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\UnrealEditor-ReloadEditor-0001.lib"
|
@@ -38,6 +38,10 @@
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Intermediate\Build\Win64\x64\PluginEditor\Development\UnrealEd\SharedPCH.UnrealEd.Project.ValApi.Cpp20.InclOrderOldest.h.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Module.ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorCommands.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.init.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Default.rc2.res"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Projects\UnrealEditor-Projects.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\InputCore\UnrealEditor-InputCore.lib"
|
||||
@@ -48,6 +52,7 @@
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Engine\UnrealEditor-Engine.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Slate\UnrealEditor-Slate.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\SlateCore\UnrealEditor-SlateCore.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\PropertyEditor\UnrealEditor-PropertyEditor.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Core\UnrealEditor-Core.lib"
|
||||
"delayimp.lib"
|
||||
"wininet.lib"
|
||||
|
@@ -37,6 +37,12 @@
|
||||
/FUNCTIONPADMIN:6
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Intermediate\Build\Win64\x64\PluginEditor\Development\UnrealEd\SharedPCH.UnrealEd.Project.ValApi.Cpp20.InclOrderOldest.h.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Module.ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\CustomKeySelector.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorCommands.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.init.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Default.rc2.res"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Projects\UnrealEditor-Projects.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\InputCore\UnrealEditor-InputCore.lib"
|
||||
@@ -47,6 +53,7 @@
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Engine\UnrealEditor-Engine.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Slate\UnrealEditor-Slate.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\SlateCore\UnrealEditor-SlateCore.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\PropertyEditor\UnrealEditor-PropertyEditor.lib"
|
||||
"..\Intermediate\Build\Win64\x64\UnrealEditor\Development\Core\UnrealEditor-Core.lib"
|
||||
"delayimp.lib"
|
||||
"wininet.lib"
|
||||
|
Binary file not shown.
@@ -9,5 +9,9 @@
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Intermediate\Build\Win64\x64\PluginEditor\Development\UnrealEd\SharedPCH.UnrealEd.Project.ValApi.Cpp20.InclOrderOldest.h.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Module.ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorCommands.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.init.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Default.rc2.res"
|
||||
/OUT:"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\UnrealEditor-ReloadEditor.lib"
|
@@ -8,5 +8,11 @@
|
||||
/NODEFAULTLIB
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Intermediate\Build\Win64\x64\PluginEditor\Development\UnrealEd\SharedPCH.UnrealEd.Project.ValApi.Cpp20.InclOrderOldest.h.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Module.ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\CustomKeySelector.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorCommands.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditor.init.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\ReloadEditorSettings.gen.cpp.obj"
|
||||
"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\Default.rc2.res"
|
||||
/OUT:"F:\Github_Repo\UTB-Plugin\Plugin\Plugins\ReloadEditor\Intermediate\Build\Win64\x64\UnrealEditor\Development\ReloadEditor\UnrealEditor-ReloadEditor.lib"
|
@@ -3,9 +3,9 @@
|
||||
"Version": 1,
|
||||
"VersionName": "1.0",
|
||||
"FriendlyName": "ReloadEditor",
|
||||
"Description": "A Simple Button to reload the editor",
|
||||
"Category": "Other",
|
||||
"CreatedBy": "Catchow0",
|
||||
"Description": "A Simple Button to reload the editor with option to reload last map open in editor",
|
||||
"Category": "Engine Tools",
|
||||
"CreatedBy": "TheShibaDoggo",
|
||||
"CreatedByURL": "",
|
||||
"DocsURL": "",
|
||||
"MarketplaceURL": "",
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -5,12 +5,14 @@
|
||||
#include "ReloadEditorCommands.h"
|
||||
#include "ReloadEditorSettings.h"
|
||||
#include "FileHelpers.h"
|
||||
#include "LevelEditor.h"
|
||||
#include "Misc/MessageDialog.h"
|
||||
#include "Misc/ConfigCacheIni.h"
|
||||
#include "ToolMenus.h"
|
||||
#include "Widgets/SBoxPanel.h"
|
||||
#include "Widgets/Input/SButton.h"
|
||||
#include "Widgets/Input/SCheckBox.h"
|
||||
#include "Widgets/Input/SInputKeySelector.h"
|
||||
#include "Widgets/Text/STextBlock.h"
|
||||
#include "Widgets/Input/SMenuAnchor.h"
|
||||
#include "Widgets/Images/SImage.h"
|
||||
@@ -34,6 +36,14 @@ void FReloadEditorModule::StartupModule()
|
||||
FCanExecuteAction()
|
||||
);
|
||||
|
||||
FGlobalTabmanager::Get()->RegisterNomadTabSpawner(ReloadEditorTabName,
|
||||
FOnSpawnTab())
|
||||
.SetDisplayName(LOCTEXT("ReloadEditorTitle", "Reload Editor"))
|
||||
.SetMenuType(ETabSpawnerMenuType::Hidden);
|
||||
|
||||
FLevelEditorModule& LevelEditorModule = FModuleManager::LoadModuleChecked<FLevelEditorModule>("LevelEditor");
|
||||
LevelEditorModule.GetGlobalLevelEditorActions()->Append(PluginCommands.ToSharedRef());
|
||||
|
||||
// Initialiser l'objet de configuration
|
||||
Settings = GetMutableDefault<UReloadEditorSettings>();
|
||||
|
||||
@@ -46,15 +56,11 @@ void FReloadEditorModule::StartupModule()
|
||||
if (!bMapReloaded)
|
||||
{
|
||||
bMapReloaded = true;
|
||||
UE_LOG(LogTemp, Warning, TEXT("ReloadEditor: Forçage d'ouverture de la map: %s"), *ReloadMap);
|
||||
UEditorLoadingAndSavingUtils::LoadMap(ReloadMap);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
UE_LOG(LogTemp, Warning, TEXT("bAutoSaveBeforeReload = %s"), Settings->bAutoSaveBeforeReload ? TEXT("true") : TEXT("false"));
|
||||
UE_LOG(LogTemp, Warning, TEXT("bAutoReloadLastMap = %s"), Settings->bAutoReloadLastMap ? TEXT("true") : TEXT("false"));
|
||||
|
||||
UToolMenus::RegisterStartupCallback(FSimpleMulticastDelegate::FDelegate::CreateRaw(this, &FReloadEditorModule::RegisterMenus));
|
||||
}
|
||||
|
||||
@@ -79,6 +85,7 @@ TSharedRef<SWidget> FReloadEditorModule::CreateReloadButton()
|
||||
.ButtonStyle(FAppStyle::Get(), "NoBorder")
|
||||
.HasDownArrow(false)
|
||||
.MenuPlacement(MenuPlacement_BelowRightAnchor)
|
||||
.ToolTipText(LOCTEXT("ReloadButtonTooltip", "Restart the Unreal Engine Editor"))
|
||||
.ButtonContent()
|
||||
[
|
||||
SNew(SOverlay)
|
||||
@@ -115,6 +122,7 @@ TSharedRef<SWidget> FReloadEditorModule::CreateReloadButton()
|
||||
.ButtonStyle(FAppStyle::Get(), "NoBorder")
|
||||
.HasDownArrow(false)
|
||||
.MenuPlacement(MenuPlacement_BelowRightAnchor)
|
||||
.ToolTipText(LOCTEXT("ReloadButtonTooltip", "Restart settings"))
|
||||
.ButtonContent()
|
||||
[
|
||||
SNew(SOverlay)
|
||||
@@ -136,16 +144,15 @@ TSharedRef<SWidget> FReloadEditorModule::CreateReloadButton()
|
||||
]
|
||||
.OnGetMenuContent_Lambda([this]() {
|
||||
FMenuBuilder MenuBuilder(true, nullptr);
|
||||
// Option d'auto-sauvegarde
|
||||
MenuBuilder.AddMenuEntry(
|
||||
LOCTEXT("AutoSaveOption", "Sauvegarder automatiquement avant reload"),
|
||||
LOCTEXT("AutoSaveOption", "Auto save before reload"),
|
||||
TAttribute<FText>(),
|
||||
FSlateIcon(),
|
||||
FUIAction(
|
||||
FExecuteAction::CreateLambda([this]() {
|
||||
Settings->bAutoSaveBeforeReload = !Settings->bAutoSaveBeforeReload;
|
||||
Settings->SaveConfig();
|
||||
UE_LOG(LogTemp, Warning, TEXT("Option changée: bAutoSaveBeforeReload = %s"),
|
||||
Settings->bAutoSaveBeforeReload ? TEXT("true") : TEXT("false"));
|
||||
}),
|
||||
FCanExecuteAction(),
|
||||
FIsActionChecked::CreateLambda([this]() { return Settings->bAutoSaveBeforeReload; })
|
||||
@@ -153,17 +160,16 @@ TSharedRef<SWidget> FReloadEditorModule::CreateReloadButton()
|
||||
NAME_None,
|
||||
EUserInterfaceActionType::ToggleButton
|
||||
);
|
||||
// Ajoute la nouvelle option ici
|
||||
|
||||
// Option de rechargement automatique de la dernière carte
|
||||
MenuBuilder.AddMenuEntry(
|
||||
LOCTEXT("AutoReloadLastMapOption", "Reload automatique dans la dernière map ouverte"),
|
||||
LOCTEXT("AutoReloadLastMapOption", "Auto reload last map opened"),
|
||||
TAttribute<FText>(),
|
||||
FSlateIcon(),
|
||||
FUIAction(
|
||||
FExecuteAction::CreateLambda([this]() {
|
||||
Settings->bAutoReloadLastMap = !Settings->bAutoReloadLastMap;
|
||||
Settings->SaveConfig();
|
||||
UE_LOG(LogTemp, Warning, TEXT("Option changée: bAutoReloadLastMap = %s"),
|
||||
Settings->bAutoReloadLastMap ? TEXT("true") : TEXT("false"));
|
||||
}),
|
||||
FCanExecuteAction(),
|
||||
FIsActionChecked::CreateLambda([this]() { return Settings->bAutoReloadLastMap; })
|
||||
@@ -171,6 +177,80 @@ TSharedRef<SWidget> FReloadEditorModule::CreateReloadButton()
|
||||
NAME_None,
|
||||
EUserInterfaceActionType::ToggleButton
|
||||
);
|
||||
|
||||
// Séparateur avant l'option de raccourci
|
||||
MenuBuilder.AddSeparator();
|
||||
|
||||
// Option pour changer le raccourci clavier
|
||||
MenuBuilder.AddMenuEntry(
|
||||
LOCTEXT("ChangeShortcutOption", "Change shortcut"),
|
||||
TAttribute<FText>(),
|
||||
FSlateIcon(),
|
||||
FUIAction(
|
||||
FExecuteAction::CreateLambda([this]() {
|
||||
TSharedRef<SWindow> KeyBindingWindow = SNew(SWindow)
|
||||
.Title(LOCTEXT("ChangeShortcutTitle", "Shortcut Key Binding"))
|
||||
.SizingRule(ESizingRule::Autosized)
|
||||
.SupportsMaximize(false)
|
||||
.SupportsMinimize(false);
|
||||
|
||||
// Création d'un pointeur partagé qui sera utilisé après pour la capture
|
||||
TSharedPtr<SInputKeySelector> KeySelectorPtr;
|
||||
|
||||
KeyBindingWindow->SetContent(
|
||||
SNew(SBox)
|
||||
.WidthOverride(300)
|
||||
.Padding(10)
|
||||
[
|
||||
SNew(SVerticalBox)
|
||||
+ SVerticalBox::Slot()
|
||||
.AutoHeight()
|
||||
.Padding(0, 0, 0, 10)
|
||||
[
|
||||
SNew(STextBlock)
|
||||
.Text(LOCTEXT("ShortcutInstructions", "Click on the button below and press the new shortcut key"))
|
||||
]
|
||||
+ SVerticalBox::Slot()
|
||||
.AutoHeight()
|
||||
[
|
||||
SAssignNew(KeySelectorPtr, SInputKeySelector)
|
||||
.SelectedKey(Settings->CustomShortcut)
|
||||
.AllowModifierKeys(true)
|
||||
.AllowGamepadKeys(false)
|
||||
.EscapeKeys({ EKeys::Escape })
|
||||
.IsFocusable(true)
|
||||
.OnKeySelected_Lambda([this, WeakWindow = TWeakPtr<SWindow>(KeyBindingWindow)](FInputChord NewChord)
|
||||
{
|
||||
if (NewChord.IsValidChord())
|
||||
{
|
||||
Settings->CustomShortcut = NewChord;
|
||||
|
||||
Settings->SaveConfig();
|
||||
FReloadEditorCommands::Unregister();
|
||||
FReloadEditorCommands::Register();
|
||||
PluginCommands->UnmapAction(FReloadEditorCommands::Get().PluginAction);
|
||||
PluginCommands->MapAction(
|
||||
FReloadEditorCommands::Get().PluginAction,
|
||||
FExecuteAction::CreateRaw(this, &FReloadEditorModule::PluginButtonClicked),
|
||||
FCanExecuteAction()
|
||||
);
|
||||
}
|
||||
|
||||
if (TSharedPtr<SWindow> Win = WeakWindow.Pin())
|
||||
{
|
||||
Win->RequestDestroyWindow();
|
||||
}
|
||||
})
|
||||
]
|
||||
]
|
||||
);
|
||||
|
||||
FSlateApplication::Get().AddWindow(KeyBindingWindow);
|
||||
}),
|
||||
FCanExecuteAction()
|
||||
)
|
||||
);
|
||||
|
||||
return MenuBuilder.MakeWidget();
|
||||
})
|
||||
];
|
||||
@@ -188,7 +268,7 @@ void FReloadEditorModule::PluginButtonClicked()
|
||||
|
||||
if (!Settings->bAutoSaveBeforeReload && DirtyPackages.Num() > 0)
|
||||
{
|
||||
if (FMessageDialog::Open(EAppMsgType::YesNo, FText::FromString(TEXT("Des fichiers non sauvegardés existent. Voulez-vous vraiment redémarrer ?"))) != EAppReturnType::Yes)
|
||||
if (FMessageDialog::Open(EAppMsgType::YesNo, FText::FromString(TEXT("Some files are not saved. Would you like to restart"))) != EAppReturnType::Yes)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -224,7 +304,7 @@ void FReloadEditorModule::RegisterMenus()
|
||||
Section.AddEntry(FToolMenuEntry::InitWidget(
|
||||
"ReloadEditorWidget",
|
||||
CreateReloadButton(),
|
||||
FText::FromString(TEXT("Redémarrer l'éditeur"))
|
||||
FText::FromString(TEXT("Restart Editor"))
|
||||
));
|
||||
}
|
||||
|
||||
@@ -234,7 +314,7 @@ void FReloadEditorModule::RegisterMenus()
|
||||
Section.AddEntry(FToolMenuEntry::InitWidget(
|
||||
"ReloadEditorWidgetToolbar",
|
||||
CreateReloadButton(),
|
||||
FText::FromString(TEXT("Redémarrer l'éditeur"))
|
||||
FText::FromString(TEXT("Restart Editor"))
|
||||
));
|
||||
}
|
||||
}
|
||||
|
@@ -2,11 +2,21 @@
|
||||
|
||||
#include "ReloadEditorCommands.h"
|
||||
|
||||
#include "ReloadEditorSettings.h"
|
||||
|
||||
#define LOCTEXT_NAMESPACE "FReloadEditorModule"
|
||||
|
||||
void FReloadEditorCommands::RegisterCommands()
|
||||
{
|
||||
UI_COMMAND(PluginAction, "ReloadEditor", "Execute ReloadEditor action", EUserInterfaceActionType::Button, FInputChord());
|
||||
|
||||
UReloadEditorSettings* Settings = GetMutableDefault<UReloadEditorSettings>();
|
||||
|
||||
UI_COMMAND(PluginAction,
|
||||
"ReloadEditor",
|
||||
"Execute ReloadEditor action",
|
||||
EUserInterfaceActionType::Button,
|
||||
Settings->CustomShortcut
|
||||
);
|
||||
}
|
||||
|
||||
#undef LOCTEXT_NAMESPACE
|
||||
|
@@ -1,8 +1,8 @@
|
||||
// ReloadEditorSettings.cpp
|
||||
#include "ReloadEditorSettings.h"
|
||||
#include "ReloadEditorSettings.h"
|
||||
|
||||
UReloadEditorSettings::UReloadEditorSettings()
|
||||
{
|
||||
bAutoSaveBeforeReload = false;
|
||||
bAutoReloadLastMap = false;
|
||||
CustomShortcut = FInputChord(EModifierKey::Control | EModifierKey::Shift, EKeys::R);
|
||||
}
|
@@ -1,5 +1,4 @@
|
||||
// ReloadEditorSettings.h
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "UObject/NoExportTypes.h"
|
||||
@@ -18,4 +17,7 @@ public:
|
||||
|
||||
UPROPERTY(config, EditAnywhere, Category = "Options")
|
||||
bool bAutoReloadLastMap;
|
||||
|
||||
UPROPERTY(config, EditAnywhere, Category = "Options")
|
||||
FInputChord CustomShortcut;
|
||||
};
|
@@ -43,6 +43,7 @@ public class ReloadEditor : ModuleRules
|
||||
"Engine",
|
||||
"Slate",
|
||||
"SlateCore",
|
||||
"PropertyEditor",
|
||||
// ... add private dependencies that you statically link with here ...
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user