using System; using UnityEngine; namespace Framework.Storage.Containers { /// Machine-specific settings of a game /// /// This interface should be implemented by the game-specific machine settings /// container so generic UI and graphics switchers have access to select bits /// of information they need without needing to be re-coded for each game. /// public interface IMachineSettings { /// Index of the monitor the game should run on int MonitorIndex { get; set; } /// Whether the game should start in windowed mode bool Windowed { get; set; } /// Horizontal resolution of the game or window client area int ResolutionH { get; set; } /// Vertical resolution of the game or window client area int ResolutionV { get; set; } /// Selected refresh rate, ignored if is true int RefreshRate { get; set; } // graphics profile } } // namespace Framework.Storage.Containers