using PCL.Core.App.Configuration; namespace PCL.Core.App; /// /// 全局配置类。 /// // ReSharper disable InconsistentNaming public static partial class Config { /// /// 系统配置。 /// [ConfigGroup("System")] partial class SystemConfigGroup { // /// // /// 系统缓存目录。 // /// // [ConfigItem("SystemSystemCache", "")] public partial string CacheDirectory { get; set; } /// /// 禁用硬件加速。 /// [ConfigItem("SystemDisableHardwareAcceleration", false)] public partial bool DisableHardwareAcceleration { get; set; } /// /// 遥测。 /// [ConfigItem("SystemTelemetry", false)] public partial bool Telemetry { get; set; } /// /// 实时日志最大行数。 /// [ConfigItem("SystemMaxLog", 13)] public partial int MaxGameLog { get; set; } /// /// 动画帧率上限。 /// [ConfigItem("UiAniFPS", 59)] public partial int AnimationFpsLimit { get; set; } } /// /// 网络配置。 /// [ConfigGroup("Network")] partial class NetworkConfigGroup { [ConfigItem("SystemNetEnableDoH", true)] public partial bool EnableDoH { get; set; } [ConfigGroup("HttpProxy")] partial class HttpProxyConfigGroup { [ConfigItem("SystemHttpProxy", "", ConfigSource.SharedEncrypt)] public partial string CustomAddress { get; set; } [ConfigItem("SystemHttpProxyType", 1)] public partial int Type { get; set; } [ConfigItem("SystemHttpProxyCustomUsername", "")] public partial string CustomUsername { get; set; } [ConfigItem("SystemHttpProxyCustomPassword", "")] public partial string CustomPassword { get; set; } } } /// /// 调试配置 /// [ConfigGroup("Debug")] partial class DebugConfigGroup { [ConfigItem("SystemDebugMode", false)] public partial bool Enabled { get; set; } [ConfigItem("SystemDebugAnim", 9)] public partial int AnimationSpeed { get; set; } [ConfigItem("SystemDebugDelay", false)] public partial bool AddRandomDelay { get; set; } [ConfigItem("SystemDebugSkipCopy", false)] public partial bool DontCopy { get; set; } [ConfigItem("SystemDebugAllowRestrictedFeature", false)] public partial bool AllowRestrictedFeature { get; set; } } /// /// 下载配置。 /// [ConfigGroup("Download")] partial class DownloadConfigGroup { [ConfigItem("ToolDownloadThread", 63)] public partial int ThreadLimit { get; set; } [ConfigItem("ToolDownloadSpeed", 42)] public partial int SpeedLimit { get; set; } [ConfigItem("ToolDownloadSource", 1)] public partial int FileSource { get; set; } [ConfigItem("ToolDownloadVersion", 1)] public partial int VersionListSource { get; set; } [ConfigItem("ToolDownloadAutoSelectVersion", true)] public partial bool AutoSelectInstance { get; set; } [ConfigItem("ToolFixAuthlib", true)] public partial bool FixAuthLib { get; set; } /// /// 第三方资源配置。 /// [ConfigGroup("Comp")] partial class CompConfigGroup { [ConfigItem("ToolDownloadTranslate", 0)] public partial int NameFormatV1 { get; set; } [ConfigItem("ToolDownloadTranslateV2", 1)] public partial int NameFormatV2 { get; set; } [ConfigItem("ToolDownloadIgnoreQuilt", true)] public partial bool IgnoreQuilt { get; set; } [ConfigItem("ToolDownloadAutoInstallDependencies", true)] public partial bool AutoInstallDependencies { get; set; } [ConfigItem("ToolDownloadClipboard", false)] public partial bool ReadClipboard { get; set; } [ConfigItem("ToolDownloadMod", 1)] public partial int CompSourceSolution { get; set; } [ConfigItem("ToolModLocalNameStyle", 0)] public partial int UiCompNameSolution { get; set; } [ConfigItem("ToolDownloadQuickBehavior", 0)] public partial int QuickDownloadBehavior { get; set; } } } /// /// 工具配置。 /// [ConfigGroup("Tool")] partial class ToolConfigGroup { [ConfigItem("ToolHelpChinese", true)] public partial bool AutoChangeLanguage { get; set; } // [ConfigItem("ToolUpdateAlpha", 0, ConfigSource.SharedEncrypt)] public partial int Alpha { get; set; } [ConfigItem("ToolUpdateRelease", false)] public partial bool ReleaseNotification { get; set; } [ConfigItem("ToolUpdateSnapshot", false)] public partial bool SnapshotNotification { get; set; } } /// /// 更新配置。 /// [ConfigGroup("Update")] partial class UpdateConfigGroup { /// /// 自动更新行为。 /// [ConfigItem("SystemSystemUpdate", LauncherAutoUpdateBehavior.DownloadAndAnnounce, ConfigSource.Local)] public partial LauncherAutoUpdateBehavior UpdateMode { get; set; } /// /// 更新分支。 /// [ConfigItem("SystemUpdateChannel", UpdateChannel.Release, ConfigSource.Local)] public partial UpdateChannel UpdateChannel { get; set; } /// /// Mirror 酱 CDK。 /// [ConfigItem("SystemMirrorChyanKey", "", ConfigSource.SharedEncrypt)] public partial string MirrorChyanKey { get; set; } } /// /// 联机大厅配置。 /// [ConfigGroup("Link")] partial class LinkConfigGroup { /// /// 大厅用户名。 /// [ConfigItem("LinkUsername", "")] public partial string Username { get; set; } /// /// 中继方式。 /// [ConfigItem("LinkRelayType", LinkRelayBehavior.Default)] public partial LinkRelayBehavior RelayType { get; set; } /// /// 中继服务器类型 (社区/自有)。 /// [ConfigItem("LinkServerType", 1)] public partial int ServerType { get; set; } /// /// 延迟优先模式。 /// [ConfigItem("LinkLatencyFirstMode", true)] public partial bool UseLatencyFirstMode { get; set; } /// /// 自定义中继服务器。 /// [ConfigItem("LinkRelayServer", "")] public partial string CustomRelayServer { get; set; } /// /// 传输协议优先策略。 /// [ConfigItem("LinkProtocolPreference", LinkProtocolPreference.Tcp)] public partial LinkProtocolPreference ProtocolPreference { get; set; } /// /// 尝试使用端口猜测打通对称性 NAT。 /// [ConfigItem("LinkTryPunchSym", true)] public partial bool TryPunchSym { get; set; } /// /// 启用 IPv6。 /// [ConfigItem("LinkEnableIPv6", true)] public partial bool EnableIPv6 { get; set; } /// /// 在日志中输出 Cli 信息以用于调试。 /// [ConfigItem("LinkEnableCliOutput", false)] public partial bool EnableCliOutput { get; set; } } /// /// 个性化配置。 /// [ConfigGroup("Preference")] partial class PreferenceConfigGroup { /// /// 启动时显示 Logo。 /// [ConfigItem("UiLauncherLogo", true, ConfigSource.Local)] public partial bool ShowStartupLogo { get; set; } /// /// 锁定窗口大小。 /// [ConfigItem("UiLockWindowSize", false)] public partial bool LockWindowSize { get; set; } /// /// 在启动游戏时显示你知道吗。 /// [ConfigItem("UiShowLaunchingHint", true, ConfigSource.Local)] public partial bool ShowLaunchingHint { get; set; } /// /// 标题内容类型。 /// [ConfigItem("UiLogoType", LauncherTitleType.Default, ConfigSource.Local)] public partial LauncherTitleType WindowTitleType { get; set; } /// /// 窗口标题文本。 /// [ConfigItem("UiLogoText", "", ConfigSource.Local)] public partial string WindowTitleCustomText { get; set; } /// /// 导航栏居左。 /// [ConfigItem("UiLogoLeft", false, ConfigSource.Local)] public partial bool TopBarLeftAlign { get; set; } /// /// 全局字体。 /// [ConfigItem("UiFont", "", ConfigSource.Local)] public partial string Font { get; set; } /// /// MOTD 字体。 /// [ConfigItem("UiMotdFont", "", ConfigSource.Local)] public partial string MotdFont { get; set; } /// /// 详细实例分类。 /// [ConfigItem("DetailedInstanceClassification", false, ConfigSource.Local)] public partial bool DetailedInstanceClassification { get; set; } /// /// 本地化配置。 /// [ConfigGroup("Localization", ConfigSource.Local)] partial class LocalizationConfigGroup { /// /// UI 语言。auto 表示跟随系统语言。 /// [ConfigItem("UiLanguage", "auto")] public partial string Language { get; set; } /// /// UI 展示格式所使用的区域性。auto 表示跟随系统区域格式。 /// [ConfigItem("UiFormatCulture", "auto")] public partial string FormatCulture { get; set; } /// /// 区域覆盖。auto 表示自动判断。 /// [ConfigItem("UiRegion", "auto")] public partial string Region { get; set; } } /// /// 界面主题配置。 /// [ConfigGroup("Theme")] partial class ThemeConfigGroup { /// /// 配色主题模式。 /// [ConfigItem("UiDarkMode", ColorMode.System)] public partial ColorMode ColorMode { get; set; } /// /// 暗色配色主题。 /// [ConfigItem("UiDarkColor", ColorTheme.CatBlue)] public partial ColorTheme DarkColor { get; set; } /// /// 亮色配色主题。 /// [ConfigItem("UiLightColor", ColorTheme.CatBlue)] public partial ColorTheme LightColor { get; set; } /// /// 窗口透明度。 /// [ConfigItem("UiLauncherTransparent", 600, ConfigSource.Local)] public partial int WindowOpacity { get; set; } /// /// 自定义主题:色相 (H)。 /// [ConfigItem("UiLauncherHue", 180, ConfigSource.Local)] public partial int WindowHue { get; set; } /// /// 自定义主题:饱和度 (S)。 /// [ConfigItem("UiLauncherSat", 80, ConfigSource.Local)] public partial int WindowSat { get; set; } /// /// 自定义主题:明度 (L)。 /// [ConfigItem("UiLauncherLight", 20, ConfigSource.Local)] public partial int WindowLight { get; set; } /// /// 自定义主题:色相渐变。 /// [ConfigItem("UiLauncherDelta", 90, ConfigSource.Local)] public partial int WindowDelta { get; set; } /// /// 传说中的主题选择,但是没卵用。 /// [ConfigItem("UiLauncherTheme", 0, ConfigSource.Local)] public partial int ThemeSelected { get; set; } } /// /// 背景内容。 /// [ConfigGroup("Background")] partial class BackgroundConfigGroup { /// /// 彩色底部填充。 /// [ConfigItem("UiBackgroundColorful", true, ConfigSource.Local)] public partial bool BackgroundColorful { get; set; } /// /// 透明度。 /// [ConfigItem("UiBackgroundOpacity", 1000, ConfigSource.Local)] public partial int WallpaperOpacity { get; set; } /// /// 旋转。 /// [ConfigItem("UiBackgroundCarousel", 1000, ConfigSource.Local)] public partial int WallpaperCarousel { get; set; } /// /// 模糊遮罩。 /// [ConfigItem("UiBackgroundBlur", 0, ConfigSource.Local)] public partial int WallpaperBlurRadius { get; set; } /// /// 内容裁剪模式。 /// [ConfigItem("UiBackgroundSuit", 0, ConfigSource.Local)] public partial int WallpaperSuitMode { get; set; } /// /// 视频自动暂停。 /// [ConfigItem("UiAutoPauseVideo", true, ConfigSource.Local)] public partial bool AutoPauseVideo { get; set; } } /// /// 高级材质。 /// [ConfigGroup("Blur")] partial class BlurConfigGroup { /// /// 是否启用。 /// [ConfigItem("UiBlur", false, ConfigSource.Local)] public partial bool IsEnabled { get; set; } /// /// 模糊半径。 /// [ConfigItem("UiBlurValue", 16, ConfigSource.Local)] public partial int Radius { get; set; } /// /// 采样率。 /// [ConfigItem("UiBlurSamplingRate", 70, ConfigSource.Local)] public partial int SamplingRate { get; set; } /// /// 模糊方法。 /// [ConfigItem("UiBlurType", 0, ConfigSource.Local)] public partial int KernelType { get; set; } } /// /// 自定义主页。 /// [ConfigGroup("Homepage")] partial class HomepageConfigGroup { /// /// 主页来源类型。 /// [ConfigItem("UiCustomType", 0, ConfigSource.Local)] public partial int Type { get; set; } /// /// 预设选项。 /// [ConfigItem("UiCustomPreset", 0, ConfigSource.Local)] public partial int SelectedPreset { get; set; } /// /// 自定义 URL。 /// [ConfigItem("UiCustomNet", "", ConfigSource.Local)] public partial string CustomUrl { get; set; } } /// /// 背景音乐。 /// [ConfigGroup("Music")] partial class MusicConfigGroup { /// /// 音量。 /// [ConfigItem("UiMusicVolume", 500, ConfigSource.Local)] public partial int Volume { get; set; } /// /// 启动游戏后自动暂停。 /// [ConfigItem("UiMusicStop", false, ConfigSource.Local)] public partial bool StopInGame { get; set; } /// /// 启动游戏后自动开始播放。 /// [ConfigItem("UiMusicStart", false, ConfigSource.Local)] public partial bool StartInGame { get; set; } /// /// 自动开始播放。 /// [ConfigItem("UiMusicAuto", true, ConfigSource.Local)] public partial bool StartOnStartup { get; set; } /// /// 随机播放。 /// [ConfigItem("UiMusicRandom", true, ConfigSource.Local)] public partial bool ShufflePlayback { get; set; } /// /// 启用 SMTC。 /// [ConfigItem("UiMusicSMTC", true, ConfigSource.Local)] public partial bool EnableSMTC { get; set; } } /// /// 功能隐藏。 /// [ConfigGroup("Hide")] partial class HideConfigGroup { // 主页面 [ConfigItem("UiHiddenPageDownload", false, ConfigSource.Local)] public partial bool PageDownload { get; set; } [ConfigItem("UiHiddenPageSetup", false, ConfigSource.Local)] public partial bool PageSetup { get; set; } [ConfigItem("UiHiddenPageTools", false, ConfigSource.Local)] public partial bool PageTools { get; set; } // 子页面 设置 [ConfigItem("UiHiddenSetupLaunch", false, ConfigSource.Local)] public partial bool SetupLaunch { get; set; } [ConfigItem("UiHiddenSetupUi", false, ConfigSource.Local)] public partial bool SetupUi { get; set; } [ConfigItem("UiHiddenSetupLauncherLanguage", false, ConfigSource.Local)] public partial bool SetupLauncherLanguage { get; set; } [ConfigItem("UiHiddenSetupLauncherMisc", false, ConfigSource.Local)] public partial bool SetupLauncherMisc { get; set; } [ConfigItem("UiHiddenSetupGameManage", false, ConfigSource.Local)] public partial bool SetupGameManage { get; set; } [ConfigItem("UiHiddenSetupJava", false, ConfigSource.Local)] public partial bool SetupJava { get; set; } [ConfigItem("UiHiddenSetupUpdate", false, ConfigSource.Local)] public partial bool SetupUpdate { get; set; } [ConfigItem("UiHiddenSetupGameLink", false, ConfigSource.Local)] public partial bool SetupGameLink { get; set; } // 新增 [ConfigItem("UiHiddenSetupAbout", false, ConfigSource.Local)] public partial bool SetupAbout { get; set; } // 修正名称 [ConfigItem("UiHiddenSetupFeedback", false, ConfigSource.Local)] public partial bool SetupFeedback { get; set; } // 修正名称 [ConfigItem("UiHiddenSetupLog", false, ConfigSource.Local)] public partial bool SetupLog { get; set; } // 修正名称 // 子页面 工具 [ConfigItem("UiHiddenToolsGameLink", false, ConfigSource.Local)] public partial bool ToolsGameLink { get; set; } // 新增 [ConfigItem("UiHiddenToolsTest", false, ConfigSource.Local)] public partial bool ToolsTest { get; set; } // 新增 // 子页面 实例设置 [ConfigItem("UiHiddenVersionEdit", false, ConfigSource.Local)] public partial bool InstanceEdit { get; set; } [ConfigItem("UiHiddenVersionExport", false, ConfigSource.Local)] public partial bool InstanceExport { get; set; } [ConfigItem("UiHiddenVersionSave", false, ConfigSource.Local)] public partial bool InstanceSave { get; set; } [ConfigItem("UiHiddenVersionScreenshot", false, ConfigSource.Local)] public partial bool InstanceScreenshot { get; set; } [ConfigItem("UiHiddenVersionMod", false, ConfigSource.Local)] public partial bool InstanceMod { get; set; } [ConfigItem("UiHiddenVersionResourcePack", false, ConfigSource.Local)] public partial bool InstanceResourcePack { get; set; } [ConfigItem("UiHiddenVersionShader", false, ConfigSource.Local)] public partial bool InstanceShader { get; set; } [ConfigItem("UiHiddenVersionSchematic", false, ConfigSource.Local)] public partial bool InstanceSchematic { get; set; } [ConfigItem("UiHiddenVersionServer", false, ConfigSource.Local)] public partial bool InstanceServer { get; set; } // 特定功能 [ConfigItem("UiHiddenFunctionSelect", false, ConfigSource.Local)] public partial bool FunctionSelect { get; set; } [ConfigItem("UiHiddenFunctionModUpdate", false, ConfigSource.Local)] public partial bool FunctionModUpdate { get; set; } [ConfigItem("UiHiddenFunctionHidden", false, ConfigSource.Local)] public partial bool FunctionHidden { get; set; } } } /// /// 启动配置。 /// [ConfigGroup("Launch")] partial class LaunchConfigGroup { /// /// 内存分配模式。 /// [ConfigItem("LaunchRamType", 0, ConfigSource.Local)] public partial int MemoryAllocationMode { get; set; } /// /// 自定义内存分配大小。 /// [ConfigItem("LaunchRamCustom", 15, ConfigSource.Local)] public partial int CustomMemorySize { get; set; } /// /// 是否固定堆大小:启用后额外追加 -Xms 并使其等于 -Xmx,隐式禁用内存归还以降低延迟抖动、利于 ZGC。见 #3282。 /// [ConfigItem("LaunchAdvanceLockMemory", false, ConfigSource.Local)] public partial bool LockMemory { get; set; } /// /// 优先 IP 协议栈。 /// [ConfigItem("LaunchPreferredIpStack", JvmPreferredIpStack.Default)] public partial JvmPreferredIpStack PreferredIpStack { get; set; } /// /// 附加 JVM 参数。 /// [ConfigItem("LaunchAdvanceJvm", "-XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Djdk.lang.Process.allowAmbiguousCommands=true -Dfml.ignoreInvalidMinecraftCertificates=True -Dfml.ignorePatchDiscrepancies=True -Dlog4j2.formatMsgNoLookups=true", ConfigSource.Local)] public partial string JvmArgs { get; set; } /// /// 附加游戏参数。 /// [ConfigItem("LaunchAdvanceGame", "", ConfigSource.Local)] public partial string GameArgs { get; set; } /// /// 预启动指令。 /// [ConfigItem("LaunchAdvanceRun", "", ConfigSource.Local)] public partial string PreLaunchCommand { get; set; } /// /// 是否等待预启动指令完成。 /// [ConfigItem("LaunchAdvanceRunWait", true, ConfigSource.Local)] public partial bool PreLaunchCommandWait { get; set; } /// /// 禁用 Java Launch Wrapper。 /// [ConfigItem("LaunchAdvanceDisableJLW", true, ConfigSource.Local)] public partial bool DisableJlw { get; set; } /// /// 禁用 LegacyFix /// [ConfigItem("LaunchAdvanceDisableLF", false, ConfigSource.Local)] public partial bool DisableLF { get; set; } /// /// 强制使用高性能显卡。 /// [ConfigItem("LaunchAdvanceGraphicCard", true)] public partial bool SetGpuPreference { get; set; } /// /// 使用 java 而不是 javaw。 /// [ConfigItem("LaunchAdvanceNoJavaw", false)] public partial bool NoJavaw { get; set; } /// /// 禁用 LWJGL Unsafe Agent。 /// [ConfigItem("LaunchAdvanceDisableLwjglUnsafeAgent", false)] public partial bool DisableLwjglUnsafeAgent { get; set; } /// /// 禁用自动崩溃分析。 /// [ConfigItem("LaunchAdvanceDisableCrashAnalysis", false, ConfigSource.Local)] public partial bool DisableCrashAnalysis { get; set; } /// /// 渲染器。 /// [ConfigItem("LaunchAdvanceRenderer", 0 ,ConfigSource.Local)] public partial int Renderer { get; set; } /// /// 游戏窗口标题。 /// [ConfigItem("LaunchArgumentTitle", "", ConfigSource.Local)] public partial string Title { get; set; } /// /// 自定义左下角版本信息。 /// [ConfigItem("LaunchArgumentInfo", "PCLCE", ConfigSource.Local)] public partial string TypeInfo { get; set; } /// /// 选择的默认 Java 实例。 /// [ConfigItem("LaunchArgumentJavaSelect", "")] public partial string SelectedJava { get; set; } /// /// 版本隔离 V2。 /// [ConfigItem("LaunchArgumentIndieV2", 4, ConfigSource.Local)] public partial int IndieSolutionV2 { get; set; } /// /// 游戏启动后启动器可见性。 /// [ConfigItem("LaunchArgumentVisible", LauncherVisibility.DoNothing)] public partial LauncherVisibility LauncherVisibility { get; set; } /// /// 游戏进程优先级。 /// [ConfigItem("LaunchArgumentPriority", GameProcessPriority.Normal)] public partial GameProcessPriority ProcessPriority { get; set; } /// /// 游戏窗口宽度。 /// [ConfigItem("LaunchArgumentWindowWidth", 854, ConfigSource.Local)] public partial int GameWindowWidth { get; set; } /// /// 游戏窗口高度。 /// [ConfigItem("LaunchArgumentWindowHeight", 480, ConfigSource.Local)] public partial int GameWindowHeight { get; set; } /// /// 游戏窗口模式 (正常/最大化/全屏)。 /// [ConfigItem("LaunchArgumentWindowType", GameWindowSizeMode.Default, ConfigSource.Local)] public partial GameWindowSizeMode GameWindowMode { get; set; } /// /// 正版登录方式。 /// [ConfigItem("LoginMsAuthType", 1)] public partial int LoginMsAuthType { get; set; } } /// /// 实例独立配置。
/// 懒得写注释了,自己理解吧。 ///
[ConfigGroup("Instance", ConfigSource.GameInstance)] partial class InstanceConfigGroup { [ConfigItem("VersionAdvanceJvm", "")] public partial ArgConfig JvmArgs { get; } [ConfigItem("VersionAdvanceGame", "")] public partial ArgConfig GameArgs { get; } [ConfigItem("VersionAdvanceRenderer", 0)] public partial ArgConfig Renderer { get; } [ConfigItem("VersionAdvanceAssets", 0)] public partial ArgConfig AssetVerifySolutionV1 { get; } [ConfigItem("VersionAdvanceAssetsV2", false)] public partial ArgConfig DisableAssetVerifyV2 { get; } [ConfigItem("VersionAdvanceJava", false)] public partial ArgConfig IgnoreJavaCompatibility { get; } [ConfigItem("VersionAdvanceDisableJlw", false)] public partial ArgConfig DisableJlwObsolete { get; } [ConfigItem("VersionAdvanceRun", "")] public partial ArgConfig PreLaunchCommand { get; } [ConfigItem("VersionAdvanceClasspathHead", "")] public partial ArgConfig ClasspathHead { get; } [ConfigItem("VersionAdvanceRunWait", true)] public partial ArgConfig PreLaunchCommandWait { get; } [ConfigItem("VersionAdvanceDisableJLW", false)] public partial ArgConfig DisableJlw { get; } [ConfigItem("VersionAdvanceDisableLwjglUnsafeAgent", false)] public partial ArgConfig DisableLwjglUnsafeAgent { get; } [ConfigItem("VersionAdvanceUseProxyV2", false)] public partial ArgConfig UseProxy { get; } [ConfigItem("VersionAdvanceDisableLF", false)] public partial ArgConfig DisableLF { get; } [ConfigItem("VersionUseDebugLog4j2Config", false)] public partial ArgConfig UseDebugLof4j2Config { get; } [ConfigItem("VersionRamType", 2)] public partial ArgConfig MemorySolution { get; } [ConfigItem("VersionRamCustom", 15)] public partial ArgConfig CustomMemorySize { get; } [ConfigItem("VersionArgumentTitle", "")] public partial ArgConfig Title { get; } [ConfigItem("VersionArgumentTitleEmpty", false)] public partial ArgConfig UseGlobalTitle { get; } [ConfigItem("VersionArgumentInfo", "")] public partial ArgConfig TypeInfo { get; } [ConfigItem("VersionArgumentIndie", -1)] public partial ArgConfig IndieV1 { get; } [ConfigItem("VersionArgumentIndieV2", false)] public partial ArgConfig IndieV2 { get; } [ConfigItem("VersionArgumentJavaSelect", "使用全局设置")] public partial ArgConfig SelectedJava { get; } [ConfigItem("VersionServerEnter", "")] public partial ArgConfig ServerToEnter { get; } } /// /// 实例独立配置的认证部分 /// [ConfigGroup("InstanceAuth", ConfigSource.GameInstance)] partial class InstanceAuthConfigGroup { [ConfigItem("VersionServerLoginRequire", 0)] public partial ArgConfig LoginRequirementSolution { get; } [ConfigItem("VersionServerAuthRegister", "")] public partial ArgConfig AuthRegisterAddress { get; } [ConfigItem("VersionServerAuthName", "")] public partial ArgConfig AuthServerDisplayName { get; } [ConfigItem("VersionServerAuthServer", "")] public partial ArgConfig AuthServerAddress { get; } [ConfigItem("VersionServerLoginLock", false)] public partial ArgConfig AuthLocked { get; } } }