-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Call SetLogLevel during InitializeAsync to ensure it's set correctly in PIE * Expose Percentage_Unsigned64 blueprint function for FModioUnsigned64 * Update NativeSDK
- Loading branch information
1 parent
69c167e
commit ccfbe72
Showing
15 changed files
with
152 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Copyright (C) 2021 mod.io Pty Ltd. <https://mod.io> | ||
* | ||
* This file is part of the mod.io UE4 Plugin. | ||
* | ||
* Distributed under the MIT License. (See accompanying file LICENSE or | ||
* view online at <https://github.com/modio/modio-ue4/blob/main/LICENSE>) | ||
* | ||
*/ | ||
|
||
#include "ModioTestSettings.h" | ||
|
||
UModioTestSettings::UModioTestSettings() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright (C) 2021 mod.io Pty Ltd. <https://mod.io> | ||
* | ||
* This file is part of the mod.io UE4 Plugin. | ||
* | ||
* Distributed under the MIT License. (See accompanying file LICENSE or | ||
* view online at <https://github.com/modio/modio-ue4/blob/main/LICENSE>) | ||
* | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include "Types/ModioCommonTypes.h" | ||
#include "Types/ModioInitializeOptions.h" | ||
|
||
#include "ModioTestSettings.generated.h" | ||
|
||
/** | ||
* | ||
*/ | ||
UCLASS(Config = ModioTest, defaultconfig) | ||
class MODIO_API UModioTestSettings : public UObject | ||
{ | ||
GENERATED_BODY() | ||
public: | ||
UModioTestSettings(); | ||
|
||
#if WITH_EDITORONLY_DATA | ||
UPROPERTY(EditDefaultsOnly, config, Category = "Automation Testing") | ||
FModioInitializeOptions AutomationTestOptions; | ||
|
||
UPROPERTY(EditDefaultsOnly, config, Category = "Automation Testing") | ||
FString AutomationSessionID; | ||
#endif | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,46 @@ | ||
#include "ModioTestsModule.h" | ||
#include "Core.h" | ||
#include "Engine/Engine.h" | ||
#include "ModioTestsModule.h" | ||
#include "PropertyEditorModule.h" | ||
#include "ModioTestSettings.h" | ||
|
||
#if WITH_EDITOR | ||
#include "ISettingsModule.h" | ||
#endif | ||
|
||
#define LOCTEXT_NAMESPACE "FModioTestsModule" | ||
|
||
void FModioTestsModule::StartupModule() | ||
{ | ||
|
||
RegisterSettings(); | ||
} | ||
|
||
|
||
void FModioTestsModule::ShutdownModule() | ||
{ | ||
UnregisterSettings(); | ||
} | ||
|
||
void FModioTestsModule::RegisterSettings() | ||
{ | ||
#if WITH_EDITOR | ||
if (ISettingsModule* SettingsModule = FModuleManager::GetModulePtr<ISettingsModule>("Settings")) | ||
{ | ||
SettingsModule->RegisterSettings("Project", "Plugins", "mod.io unit tests", LOCTEXT("UnitTestsSettingsName", "mod.io unit tests"), | ||
LOCTEXT("UnitTestsSettingsDescription", "Configure the mod.io plugin unit tests"), | ||
GetMutableDefault<UModioTestSettings>()); | ||
} | ||
#endif | ||
} | ||
void FModioTestsModule::UnregisterSettings() | ||
{ | ||
#if WITH_EDITOR | ||
if (ISettingsModule* SettingsModule = FModuleManager::GetModulePtr <ISettingsModule>("Settings")) | ||
{ | ||
SettingsModule->UnregisterSettings("Project", "Plugins", "mod.io unit tests"); | ||
} | ||
#endif // WITH_EDITOR | ||
} | ||
|
||
IMPLEMENT_MODULE(FModioTestsModule, ModioTests) | ||
|
||
#undef LOCTEXT_NAMESPACE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule NativeSDK
updated
12 files