AquaDX/AquaMai/WindowState/Config.cs

32 lines
1.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using AquaMai.Attributes;
namespace AquaMai.WindowState;
public class Config
{
[ConfigComment(
en: "If not enabled, no operations will be performed on the game window",
zh: "不启用的话,不会对游戏窗口做任何操作")]
public bool Enable { get; set; }
[ConfigComment(
en: "Window the game",
zh: "窗口化游戏")]
public bool Windowed { get; set; }
[ConfigComment(
en: """
Width and height for windowed mode, rendering resolution for fullscreen mode
If set to 0, windowed mode will remember the user-set size, fullscreen mode will use the current display resolution
""",
zh: """
宽度和高度窗口化时为游戏窗口大小,全屏时为渲染分辨率
如果设为 0窗口化将记住用户设定的大小全屏时将使用当前显示器分辨率
""")]
public int Width { get; set; }
[ConfigComment(
zh: "高度")]
public int Height { get; set; }
}