diff --git a/cocoscreator_projects/YouleNexus/assets/framework/config/remote-config.ts b/cocoscreator_projects/YouleNexus/assets/framework/config/remote-config.ts index 9bdfa2a..8d2ed49 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/config/remote-config.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/config/remote-config.ts @@ -46,7 +46,11 @@ export function getParam(config: RemoteConfig, key: string, id: ChannelIdentity) return value; } -/** 连接相关参数键(逐字一致)。优先级即数组顺序。 */ +/** + * 连接相关参数键(键名逐字一致原 getConfig_Succ)。优先级即数组顺序。 + * 仅取 *_server_tcp:YouleNexus 为 WebSocket-only(原 netType==0 分支); + * 原工程的 *_server_http 属 HTTP 传输模式(netType==1),本期不在范围,故有意省略。 + */ const SERVER_KEYS = ['player_server_tcp', 'visitor_server_tcp', 'game_server_tcp'] as const; function toWs(addr: string): string {