Ship the WeChat hot-update catalogs and the camp, TideWhale T2, UI atlas, and animation-lab work.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -9,11 +9,15 @@ namespace AOT.Boot
|
||||
{
|
||||
public string AppVersion;
|
||||
public string ResVersion;
|
||||
public string PackVersion;
|
||||
public string CdnRoot;
|
||||
public string PackageName;
|
||||
public ResourcePackage Package;
|
||||
public string HttpBase;
|
||||
public string WsUrlTemplate;
|
||||
/// <summary>Hot update signals the authored home UI is ready before the boot mask is hidden.</summary>
|
||||
public bool MainUiReady;
|
||||
public string MainUiError;
|
||||
/// <summary>CDN version.json 下发的维护/公告文案(可空)。</summary>
|
||||
public string Notice;
|
||||
/// <summary>业务 UI 当前仅使用 candy;字段保留用于旧启动配置兼容。</summary>
|
||||
@@ -24,8 +28,8 @@ namespace AOT.Boot
|
||||
if (string.IsNullOrEmpty(WsUrlTemplate))
|
||||
{
|
||||
if (string.IsNullOrEmpty(token))
|
||||
return $"wss://game.xworld.ren/ws?pid={pid}";
|
||||
return $"wss://game.xworld.ren/ws?pid={pid}&token={UnityEngine.Networking.UnityWebRequest.EscapeURL(token)}";
|
||||
return $"wss://BuddyDefense.xworld.ren:15888/ws?pid={pid}";
|
||||
return $"wss://BuddyDefense.xworld.ren:15888/ws?pid={pid}&token={UnityEngine.Networking.UnityWebRequest.EscapeURL(token)}";
|
||||
}
|
||||
|
||||
var url = WsUrlTemplate.Replace("{pid}", pid ?? string.Empty);
|
||||
|
||||
Reference in New Issue
Block a user