feat(04-14): 部分 UI 进一步接口适配·第二步(D-74..D-78)

D-78: main.tsx 状态栏更新改为在 client.hero.attribute 上 addHook({ onUpdateAttribute }) 并在 onUnmounted 注销;移除全局 hook 残留与手工调用垫片。

D-74/D-75: load.tsx 改依新加载系统 client.loader.start() + client.loader.manager.get*;移除旧接口成员与失效 @ts-expect-error。

D-76/D-77: 删除 render/index.tsx 的 restart 注释块、client.ts 两段兼容层注释、entry-client/src/create.ts 被注释接线与模块创建函数块。

仅含五个生产文件与 04-14-SUMMARY.md;未触用户 04-CONTEXT.md 并发改动。
This commit is contained in:
AncTe committed 2026-09-30 16:36:19 +08:00
1 parent cab6fe2e5a
commit bc7d631dc2
6 files changed
+227 -53

No files matched your search

@@ -85,12 +85,6 @@ export class ClientCore extends CoreState implements IClientCore {
//#endregion
// 兼容层
// loading.once('loaded', () => {
// fallbackLoad(this.materials);
// loading.emit('assetBuilt');
// });
//#region 渲染系统
const rafExcitation = new RafExcitation();
@@ -121,11 +115,6 @@ export class ClientCore extends CoreState implements IClientCore {
this.mainMapRenderer = new MapRenderer(this.materials);
this.mainMapExtension = new MapExtensionManager(this.mainMapRenderer);
// 兼容层
// loading.once('assetBuilt', () => {
// this.initMapExtensions();
// });
//#endregion
this.loader.addCoreConfig('client', config.clientURL);