Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
app::SettingsState Struct Reference

State owned by the settings, log viewer, and saved-file workflows. More...

#include <src/app/client_state.h>

Public Attributes

std::vector< VIDEO_MODE > availableVideoModes
 Detected Xbox video modes exposed as stream-resolution choices.
 
bool dirty = false
 True when persisted TOML-backed settings changed and should be saved.
 
SettingsFocusArea focusArea = SettingsFocusArea::categories
 Focused pane within the settings screen.
 
std::string logFilePath
 Path currently loaded into the log viewer.
 
logging::LogLevel loggingLevel = logging::LogLevel::none
 Minimum runtime log level written to the persisted log file.
 
std::vector< std::string > logViewerLines
 Loaded log file lines shown in the log viewer.
 
LogViewerPlacement logViewerPlacement = LogViewerPlacement::full
 Log viewer pane placement relative to the shell.
 
std::size_t logViewerScrollOffset = 0U
 Zero-based vertical scroll offset inside the log viewer.
 
bool playAudioOnPc = false
 True when the host PC should continue local audio playback during streaming.
 
bool playAudioOnXbox = true
 True when the Xbox should decode and play streamed audio locally.
 
VIDEO_MODE preferredVideoMode {}
 Preferred stream resolution requested from the host.
 
bool preferredVideoModeSet = false
 True when preferredVideoMode contains a user-selected or default mode.
 
std::vector< startup::SavedFileEntrysavedFiles
 Saved-file catalog shown on the reset settings page.
 
bool savedFilesDirty = true
 True when the saved-file catalog should be refreshed.
 
SettingsCategory selectedCategory = SettingsCategory::logging
 Settings category selected in the left pane.
 
bool showPerformanceStats = false
 True when stream telemetry should be shown after streaming ends.
 
int streamBitrateKbps = 1000
 Preferred stream bitrate in kilobits per second.
 
int streamFramerate = 30
 Preferred stream frame rate in frames per second.
 
logging::LogLevel xemuConsoleLoggingLevel = logging::LogLevel::none
 Minimum runtime log level mirrored through DbgPrint() to xemu's serial console.
 

Detailed Description

State owned by the settings, log viewer, and saved-file workflows.


The documentation for this struct was generated from the following file: