Files
youle_cocos/cocoscreator_projects/YouleNexus/assets/app/composition/build-identity.ts
T
joywayer 35216f75e7 feat: integrate room framework and isolated subgame bundles
Complete room UI and protocol integration, move game definitions and resources behind bundle entries, publish authoritative version XML, and document single-game builds. Include all current resource changes and experiment artifacts.
2026-09-09 03:13:18 +08:00

9 lines
519 B
TypeScript

import {resolveIdentity,type ChannelIdentity} from '../../framework/config/identity.ts';
import type {VersionManifest} from './version-manifest.js';
/** XML has no market field. This application value is for Web testing only. */
export const WEB_MARKET_ID=4;
export function createBuildIdentity(manifest:VersionManifest):Readonly<ChannelIdentity> {
return resolveIdentity([()=>({agentid:manifest.agentid,channelid:manifest.channelid,
gameid:manifest.gameid,version:manifest.versionCode,marketid:WEB_MARKET_ID})]);
}