rename SGGameUserSettingSettings to SGGameUserSettingsSettings

This commit is contained in:
Mamadou Babaei
2024-08-16 16:43:24 +02:00
parent 641ae2897c
commit e82aed2625
3 changed files with 12 additions and 12 deletions
@@ -33,14 +33,14 @@
*/ */
#include "SGSettings/SGGameUserSettingSettings.h" #include "SGSettings/SGGameUserSettingsSettings.h"
FSGGameUserSettingSettings::FSGGameUserSettingSettings() FSGGameUserSettingsSettings::FSGGameUserSettingsSettings()
: HardwareBenchmarkingSettings{FSGHardwareBenchmarkingSettings{}} : HardwareBenchmarkingSettings{FSGHardwareBenchmarkingSettings{}}
{ {
} }
FSGGameUserSettingSettings::FSGGameUserSettingSettings( FSGGameUserSettingsSettings::FSGGameUserSettingsSettings(
const FSGHardwareBenchmarkingSettings& InHardwareBenchmarkingSettings) const FSGHardwareBenchmarkingSettings& InHardwareBenchmarkingSettings)
: HardwareBenchmarkingSettings{InHardwareBenchmarkingSettings} : HardwareBenchmarkingSettings{InHardwareBenchmarkingSettings}
{ {
@@ -39,23 +39,23 @@
#include "SGSettings/SGHardwareBenchmarkingSettings.h" #include "SGSettings/SGHardwareBenchmarkingSettings.h"
#include "SGGameUserSettingSettings.generated.h" #include "SGGameUserSettingsSettings.generated.h"
/** /**
* Implements the game user settings. * Implements the game user settings.
*/ */
USTRUCT(BlueprintType) USTRUCT(BlueprintType)
struct SENSEGLOVESETTINGS_API FSGGameUserSettingSettings struct SENSEGLOVESETTINGS_API FSGGameUserSettingsSettings
{ {
GENERATED_USTRUCT_BODY() GENERATED_USTRUCT_BODY()
public: public:
UPROPERTY(Config, EditDefaultsOnly, Category = "Game User Setting") UPROPERTY(Config, EditDefaultsOnly, Category = "Game User Settings")
FSGHardwareBenchmarkingSettings HardwareBenchmarkingSettings; FSGHardwareBenchmarkingSettings HardwareBenchmarkingSettings;
public: public:
FSGGameUserSettingSettings(); FSGGameUserSettingsSettings();
FSGGameUserSettingSettings( FSGGameUserSettingsSettings(
const FSGHardwareBenchmarkingSettings& InHardwareBenchmarkingSettings); const FSGHardwareBenchmarkingSettings& InHardwareBenchmarkingSettings);
}; };
@@ -39,7 +39,7 @@
#include "Templates/UniquePtr.h" #include "Templates/UniquePtr.h"
#include "UObject/ObjectMacros.h" #include "UObject/ObjectMacros.h"
#include "SGSettings/SGGameUserSettingSettings.h" #include "SGSettings/SGGameUserSettingsSettings.h"
#include "SGSettings/SGInitializationSettings.h" #include "SGSettings/SGInitializationSettings.h"
#include "SGSettings/SGTrackingSettings.h" #include "SGSettings/SGTrackingSettings.h"
#include "SGSettings/SGVirtualHandSettings.h" #include "SGSettings/SGVirtualHandSettings.h"
@@ -73,7 +73,7 @@ private:
FSGInitializationSettings InitializationSettings; FSGInitializationSettings InitializationSettings;
UPROPERTY(Config, EditDefaultsOnly, Category = "SenseGlove") UPROPERTY(Config, EditDefaultsOnly, Category = "SenseGlove")
FSGGameUserSettingSettings GameUserSettings; FSGGameUserSettingsSettings GameUserSettings;
UPROPERTY(Config, EditDefaultsOnly, Category = "SenseGlove") UPROPERTY(Config, EditDefaultsOnly, Category = "SenseGlove")
FSGTrackingSettings TrackingSettings; FSGTrackingSettings TrackingSettings;
@@ -95,12 +95,12 @@ public:
InitializationSettings = InInitializationSettings; InitializationSettings = InInitializationSettings;
} }
FORCEINLINE const FSGGameUserSettingSettings& GetGameUserSettings() const FORCEINLINE const FSGGameUserSettingsSettings& GetGameUserSettings() const
{ {
return GameUserSettings; return GameUserSettings;
} }
void SetGameUserSettings(const FSGGameUserSettingSettings& InGameUserSettings) void SetGameUserSettings(const FSGGameUserSettingsSettings& InGameUserSettings)
{ {
GameUserSettings = InGameUserSettings; GameUserSettings = InGameUserSettings;
} }