init
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
// © 2025 Naked People Team. All Rights Reserved.
|
||||
|
||||
|
||||
#include "NakedDesireUserSettings.h"
|
||||
|
||||
void UNakedDesireUserSettings::SetGlobalVolume(float Value)
|
||||
{
|
||||
GlobalVolume = Value;
|
||||
}
|
||||
|
||||
float UNakedDesireUserSettings::GetGlobalVolume() const
|
||||
{
|
||||
return GlobalVolume;
|
||||
}
|
||||
|
||||
void UNakedDesireUserSettings::SetIsCensorshipEnabled(bool Value)
|
||||
{
|
||||
IsCensorshipEnabled = Value;
|
||||
}
|
||||
|
||||
bool UNakedDesireUserSettings::GetIsCensorshipEnabled() const
|
||||
{
|
||||
return IsCensorshipEnabled;
|
||||
}
|
||||
|
||||
bool UNakedDesireUserSettings::GetHasAcceptedDisclaimer() const
|
||||
{
|
||||
return HasAcceptedDisclaimer;
|
||||
}
|
||||
|
||||
void UNakedDesireUserSettings::SetHasAcceptedDisclaimer(bool Value)
|
||||
{
|
||||
HasAcceptedDisclaimer = Value;
|
||||
}
|
||||
|
||||
void UNakedDesireUserSettings::SaveSettings()
|
||||
{
|
||||
Super::SaveSettings();
|
||||
|
||||
OnSettingsChanged.Broadcast(this);
|
||||
}
|
||||
|
||||
void UNakedDesireUserSettings::ApplyNonResolutionSettings()
|
||||
{
|
||||
Super::ApplyNonResolutionSettings();
|
||||
|
||||
OnSettingsChanged.Broadcast(this);
|
||||
}
|
||||
|
||||
void UNakedDesireUserSettings::ApplySettings(bool bCheckForCommandLineOverrides)
|
||||
{
|
||||
Super::ApplySettings(bCheckForCommandLineOverrides);
|
||||
|
||||
OnSettingsChanged.Broadcast(this);
|
||||
}
|
||||
|
||||
UNakedDesireUserSettings* UNakedDesireUserSettings::GetNakedDesireUserSettings()
|
||||
{
|
||||
return Cast<UNakedDesireUserSettings>(Super::GetGameUserSettings());
|
||||
}
|
||||
Reference in New Issue
Block a user