Bring in MaleExplorer assets/shaders, model tooling and Hunyuan updates, plus boot/YooAsset Art package support. Co-authored-by: Cursor <cursoragent@cursor.com>
43 lines
1.6 KiB
C#
43 lines
1.6 KiB
C#
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;
|
||
}
|
||
}
|