
joywayerandClaude Opus 5
fa4dbec3a6
feat(ui): 响应式视图组件 PlayerInfoView + prefab
views/player-info-view.ts:
- 继承 cc.Component,持有 StoreBinder + session 引用
- bindTo(session) 订阅 PlayerStore.state,自动刷新 nickname/bean/avatar
- onDestroy 退订
- 替代旧 setHallRoomCard/setBean 等手工回调
prefab: 3 子节点(NicknameLabel/BeanLabel/AvatarSprite) + PlayerInfoView 脚本,
脚本组件 UUID = 76ec1wXb3tPT7yT3odu/daO (MCP add_component 真实挂载).
验证日志已确认:
- script hasScript: true (Cocos 识别)
- 3 个节点引用写入 actualValue uuid 均非空
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 20:09:41 +08:00
..
2026-08-31 20:03:22 +08:00
2026-06-28 11:58:20 +08:00
2026-08-28 01:49:51 +08:00
2026-08-27 21:15:26 +08:00
2026-08-28 01:49:51 +08:00
2026-08-31 20:09:41 +08:00
2026-08-28 00:31:36 +08:00
2026-08-28 00:31:36 +08:00
2026-08-31 18:16:56 +08:00