Files
AIGame/AIClient/Assets/AOT/Scripts/Boot/BootSettings.cs
T
udxandCursor 6550b8df4b Add AIServer, character art pipeline, and Art package boot integration.
Bring in MaleExplorer assets/shaders, model tooling and Hunyuan updates, plus boot/YooAsset Art package support.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-21 17:06:59 +08:00

43 lines
1.6 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using UnityEngine;
using YooAsset;
namespace AOT.Boot
{
/// <summary>
/// Boot 可序列化配置(挂在 BootDriver 上)。
/// </summary>
[System.Serializable]
public class BootSettings
{
[Tooltip("壳版本,对应提审包 appVersion")]
public string AppVersion = "1.0.0";
[Tooltip("CDN 总控 version.json")]
public string VersionUrl = "https://www.xworld.ren/wechat/version.json";
[Tooltip("CDN 根(version.json 未下发 cdnRoot 时回退;含 Package 名)")]
public string DefaultCdnRoot = "https://www.xworld.ren/wechat/1.0.0/DefaultPackage";
[Tooltip("YooAsset 默认包名")]
public string PackageName = "DefaultPackage";
[Tooltip("热更 DLL 在包内的定位地址")]
public string HotUpdateDllLocation = "HotUpdate.Runtime";
[Tooltip("登录服 HTTP 根(/register /login)")]
public string HttpBase = "https://game.xworld.ren";
[Tooltip("WebSocket 模板,{pid}/{token} 会被替换")]
public string WsUrlTemplate = "wss://game.xworld.ren/ws?pid={pid}&token={token}";
[Tooltip("运行模式;编辑器默认 EditorSimulateMode;M1 Offline/Host 验证时切换")]
public EPlayMode PlayMode = EPlayMode.EditorSimulateMode;
[Tooltip("编辑器下跳过 YooAsset 补丁,直接反射加载已编译热更程序集(M0 默认开;M1 验证补丁时关掉)")]
public bool EditorDirectHotUpdate = true;
[Tooltip("version.json 拉取失败时是否允许使用 StreamingAssets 本地回退")]
public bool AllowStreamingVersionFallback = true;
}
}