AquaDX/AquaMai/WindowState/Config.cs

32 lines
1.0 KiB
C#
Raw Normal View History

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; }
}