added main and pause menus

This commit is contained in:
2026-06-05 20:00:33 +03:00
parent 0792f7cdfd
commit 61d5a57d8d
53 changed files with 1402 additions and 49 deletions
@@ -0,0 +1,39 @@
// © 2025 Naked People Team. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "CommonUserWidget.h"
#include "GameplaySettingsTab.generated.h"
class UCheckBox;
class UComboBoxString;
// Gameplay settings tab. Censorship toggle (§ compliance) — applies live through
// UNakedDesireUserSettings::OnSettingsChanged, which UCensorshipComponent listens to —
// plus the UI/text language selector (English / Ukrainian / Japanese).
UCLASS(Abstract)
class NAKEDDESIRE_API UGameplaySettingsTab : public UCommonUserWidget
{
GENERATED_BODY()
public:
// Re-reads the current values into the controls. Called by the settings screen on show.
void RefreshFromSettings();
protected:
virtual void NativeConstruct() override;
private:
UPROPERTY(meta = (BindWidget))
TObjectPtr<UCheckBox> CensorshipCheckBox;
UPROPERTY(meta = (BindWidget))
TObjectPtr<UComboBoxString> LanguageCombo;
UFUNCTION()
void OnCensorshipChanged(bool bIsChecked);
UFUNCTION()
void OnLanguageChanged(FString SelectedItem, ESelectInfo::Type SelectionType);
};