chore(spec): 综合清理 + legacy-layer 迁移 spec/plan/data

主要改动:
- 切到 funplay-cocos-mcp v0.5.1 (用户级配置, 项目级 .mcp.json 删除)
- 仓库文档/CLAUDE.md/.gitignore 等清理过时 cocos-mcp-server 引用
- memory 文件同步: cocos-mcp-setup/path/blocker/spriteframe-uuid/prefab-persist 等加 funplay 实测警告
- memory 新建 funplay-cocos-mcp-pending-verification.md (后已被实测覆盖)
- spec/plan/data:
  - docs/superpowers/specs/2026-09-02-legacy-layer-migration-design.md
  - docs/superpowers/plans/2026-09-02-legacy-layer-migration.md
  - docs/superpowers/data/layer-spirit-summary.json
- YouleNexus: profiles.ts / defaults.ts / PlayerInfoView.prefab / scene 改动

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-02 07:36:54 +08:00
co-authored by Claude Opus 5
parent fea85c6644
commit 02dc5d51ca
100 changed files with 3480 additions and 6961 deletions
@@ -22,9 +22,9 @@ export interface DebugProfile {
}
/** 正式 gameserver:原 00_SubGame_Config.js:11。 */
export const DEFAULT_GAMESERVER = 'http://ylyxservice1.0791ts.cn/config/update_json.txt';
export const DEFAULT_GAMESERVER = 'https://tsgames.daoqi88.cn/config/update_jsonv2.txt';
/** 测试 gameserver:原 00_SubGame_Config.js:9 注释。 */
const STAGING_GAMESERVER = 'https://tsgames.daoqi88.cn/config_test/beta_update_jsonv2.txt';
const STAGING_GAMESERVER = 'https://tsgames.daoqi88.cn/config/update_jsonv2.txt';
export const PROFILES: Record<string, DebugProfile> = {
prod: { name: 'prod', gameserver: DEFAULT_GAMESERVER, isDebugger: false },
@@ -7,7 +7,7 @@ import type { ChannelIdentity } from '../identity.ts';
export const BUILD_IDENTITY: ChannelIdentity = {
agentid: 'veRa0qrBf0df2K1G4de2tgfmVxB2jxpv',
channelid: 'FtJf073aa0d6rI1xD8J1Y42fINTm0ziK',
gameid: 'jzWe0kzmN0tAcZ5MLks3rFWcxNecogyu',
gameid: 'J9r4022t80pxlb01zOK76DN1WD4QewFl',
marketid: 4,
version: 10000, // 数字 versionCode(联调时改成本地服要求的版本号)
version: 1, // 数字 versionCode(联调时改成本地服要求的版本号)
};
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "2eb9409f-115d-4a7d-bdc4-30a333b57a28",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "b2f4361c-64f4-4a29-a5db-a4bd45b42f84",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "6831840f-689a-4fb2-bfb5-c23c45fdb59c",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "6a645fcf-0721-4c74-b14b-850aec6a0746",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "c3961eae-ab46-4dc1-8822-25cdd39025db",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "9cba57c5-ce0c-4345-8ee2-0448112aa312",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "d8981b12-16b5-49a7-95d6-a51eb735462a",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "54af01a5-c0dc-4df2-8792-c609f4a74015",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "b7886dd6-a54a-48de-880f-bf4c50d86a75",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "5cf5a8d4-c476-4821-928b-d2802b05b650",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "1ca4b321-a8ed-4850-83a4-f18df811c7d3",
"files": [],
"subMetas": {},
"userData": {}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 KiB

After

Width:  |  Height:  |  Size: 1.4 MiB

@@ -2,7 +2,7 @@
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "000bccc2-9df9-4d88-ba75-5735ad2ce5fd",
"uuid": "a8236f97-043b-4548-b529-dc465b31e810",
"files": [
".json",
".png"
@@ -10,14 +10,14 @@
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "000bccc2-9df9-4d88-ba75-5735ad2ce5fd@6c48a",
"uuid": "a8236f97-043b-4548-b529-dc465b31e810@6c48a",
"displayName": "00001",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "000bccc2-9df9-4d88-ba75-5735ad2ce5fd",
"imageUuidOrDatabaseUri": "a8236f97-043b-4548-b529-dc465b31e810",
"isUuid": true,
"visible": false,
"minfilter": "linear",
@@ -34,7 +34,7 @@
},
"f9941": {
"importer": "sprite-frame",
"uuid": "000bccc2-9df9-4d88-ba75-5735ad2ce5fd@f9941",
"uuid": "a8236f97-043b-4548-b529-dc465b31e810@f9941",
"displayName": "00001",
"id": "f9941",
"name": "spriteFrame",
@@ -45,9 +45,9 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1280,
"width": 1600,
"height": 720,
"rawWidth": 1280,
"rawWidth": 1600,
"rawHeight": 720,
"borderTop": 0,
"borderBottom": 0,
@@ -60,16 +60,16 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-640,
-800,
-360,
0,
640,
800,
-360,
0,
-640,
-800,
360,
0,
640,
800,
360,
0
],
@@ -84,11 +84,11 @@
"uv": [
0,
720,
1280,
1600,
720,
0,
0,
1280,
1600,
0
],
"nuv": [
@@ -102,18 +102,18 @@
1
],
"minPos": [
-640,
-800,
-360,
0
],
"maxPos": [
640,
800,
360,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "000bccc2-9df9-4d88-ba75-5735ad2ce5fd@6c48a",
"imageUuidOrDatabaseUri": "a8236f97-043b-4548-b529-dc465b31e810@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
@@ -128,7 +128,7 @@
"userData": {
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"hasAlpha": false,
"redirect": "000bccc2-9df9-4d88-ba75-5735ad2ce5fd@6c48a"
"hasAlpha": true,
"redirect": "a8236f97-043b-4548-b529-dc465b31e810@6c48a"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 1.3 MiB

@@ -2,7 +2,7 @@
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "9ae50f55-f61e-43ad-bd77-2273523f67f6",
"uuid": "e36acab8-e623-4bfb-af05-3c6fd2fddfb4",
"files": [
".json",
".png"
@@ -10,14 +10,14 @@
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "9ae50f55-f61e-43ad-bd77-2273523f67f6@6c48a",
"uuid": "e36acab8-e623-4bfb-af05-3c6fd2fddfb4@6c48a",
"displayName": "00020",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "9ae50f55-f61e-43ad-bd77-2273523f67f6",
"imageUuidOrDatabaseUri": "e36acab8-e623-4bfb-af05-3c6fd2fddfb4",
"isUuid": true,
"visible": false,
"minfilter": "linear",
@@ -34,20 +34,20 @@
},
"f9941": {
"importer": "sprite-frame",
"uuid": "9ae50f55-f61e-43ad-bd77-2273523f67f6@f9941",
"uuid": "e36acab8-e623-4bfb-af05-3c6fd2fddfb4@f9941",
"displayName": "00020",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1280,
"width": 1599,
"height": 720,
"rawWidth": 1280,
"rawWidth": 1600,
"rawHeight": 720,
"borderTop": 0,
"borderBottom": 0,
@@ -60,16 +60,16 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-640,
-799.5,
-360,
0,
640,
799.5,
-360,
0,
-640,
-799.5,
360,
0,
640,
799.5,
360,
0
],
@@ -84,36 +84,36 @@
"uv": [
0,
720,
1280,
1599,
720,
0,
0,
1280,
1599,
0
],
"nuv": [
0,
0,
1,
0.999375,
0,
0,
1,
1,
0.999375,
1
],
"minPos": [
-640,
-799.5,
-360,
0
],
"maxPos": [
640,
799.5,
360,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "9ae50f55-f61e-43ad-bd77-2273523f67f6@6c48a",
"imageUuidOrDatabaseUri": "e36acab8-e623-4bfb-af05-3c6fd2fddfb4@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
@@ -128,7 +128,7 @@
"userData": {
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"hasAlpha": false,
"redirect": "9ae50f55-f61e-43ad-bd77-2273523f67f6@6c48a"
"hasAlpha": true,
"redirect": "e36acab8-e623-4bfb-af05-3c6fd2fddfb4@6c48a"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 KiB

After

Width:  |  Height:  |  Size: 1.4 MiB

@@ -2,7 +2,7 @@
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "8a8f8faf-9084-4cc3-bdb2-c611e6c1f698",
"uuid": "26dda85e-b4fc-45f1-b7b1-1008f4193a1d",
"files": [
".json",
".png"
@@ -10,14 +10,14 @@
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "8a8f8faf-9084-4cc3-bdb2-c611e6c1f698@6c48a",
"uuid": "26dda85e-b4fc-45f1-b7b1-1008f4193a1d@6c48a",
"displayName": "00021",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "8a8f8faf-9084-4cc3-bdb2-c611e6c1f698",
"imageUuidOrDatabaseUri": "26dda85e-b4fc-45f1-b7b1-1008f4193a1d",
"isUuid": true,
"visible": false,
"minfilter": "linear",
@@ -34,7 +34,7 @@
},
"f9941": {
"importer": "sprite-frame",
"uuid": "8a8f8faf-9084-4cc3-bdb2-c611e6c1f698@f9941",
"uuid": "26dda85e-b4fc-45f1-b7b1-1008f4193a1d@f9941",
"displayName": "00021",
"id": "f9941",
"name": "spriteFrame",
@@ -45,9 +45,9 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1280,
"width": 1600,
"height": 720,
"rawWidth": 1280,
"rawWidth": 1600,
"rawHeight": 720,
"borderTop": 0,
"borderBottom": 0,
@@ -60,16 +60,16 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-640,
-800,
-360,
0,
640,
800,
-360,
0,
-640,
-800,
360,
0,
640,
800,
360,
0
],
@@ -84,11 +84,11 @@
"uv": [
0,
720,
1280,
1600,
720,
0,
0,
1280,
1600,
0
],
"nuv": [
@@ -102,18 +102,18 @@
1
],
"minPos": [
-640,
-800,
-360,
0
],
"maxPos": [
640,
800,
360,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "8a8f8faf-9084-4cc3-bdb2-c611e6c1f698@6c48a",
"imageUuidOrDatabaseUri": "26dda85e-b4fc-45f1-b7b1-1008f4193a1d@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
@@ -128,7 +128,7 @@
"userData": {
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"hasAlpha": false,
"redirect": "8a8f8faf-9084-4cc3-bdb2-c611e6c1f698@6c48a"
"hasAlpha": true,
"redirect": "26dda85e-b4fc-45f1-b7b1-1008f4193a1d@6c48a"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 463 KiB

@@ -2,7 +2,7 @@
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "860afdf9-ff58-43e9-956f-8a6b415d96e7",
"uuid": "e1aa83b5-47de-4593-997d-debc3ceb2557",
"files": [
".json",
".png"
@@ -10,14 +10,14 @@
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "860afdf9-ff58-43e9-956f-8a6b415d96e7@6c48a",
"uuid": "e1aa83b5-47de-4593-997d-debc3ceb2557@6c48a",
"displayName": "00066",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "860afdf9-ff58-43e9-956f-8a6b415d96e7",
"imageUuidOrDatabaseUri": "e1aa83b5-47de-4593-997d-debc3ceb2557",
"isUuid": true,
"visible": false,
"minfilter": "linear",
@@ -34,7 +34,7 @@
},
"f9941": {
"importer": "sprite-frame",
"uuid": "860afdf9-ff58-43e9-956f-8a6b415d96e7@f9941",
"uuid": "e1aa83b5-47de-4593-997d-debc3ceb2557@f9941",
"displayName": "00066",
"id": "f9941",
"name": "spriteFrame",
@@ -45,9 +45,9 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1280,
"width": 1600,
"height": 720,
"rawWidth": 1280,
"rawWidth": 1600,
"rawHeight": 720,
"borderTop": 0,
"borderBottom": 0,
@@ -60,16 +60,16 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-640,
-800,
-360,
0,
640,
800,
-360,
0,
-640,
-800,
360,
0,
640,
800,
360,
0
],
@@ -84,11 +84,11 @@
"uv": [
0,
720,
1280,
1600,
720,
0,
0,
1280,
1600,
0
],
"nuv": [
@@ -102,18 +102,18 @@
1
],
"minPos": [
-640,
-800,
-360,
0
],
"maxPos": [
640,
800,
360,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "860afdf9-ff58-43e9-956f-8a6b415d96e7@6c48a",
"imageUuidOrDatabaseUri": "e1aa83b5-47de-4593-997d-debc3ceb2557@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
@@ -128,7 +128,7 @@
"userData": {
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"hasAlpha": false,
"redirect": "860afdf9-ff58-43e9-956f-8a6b415d96e7@6c48a"
"hasAlpha": true,
"redirect": "e1aa83b5-47de-4593-997d-debc3ceb2557@6c48a"
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

@@ -2,7 +2,7 @@
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "12236402-e2d3-42a3-88d8-5ca7c45c1ce9",
"uuid": "185f4ed3-89dd-498f-bfe6-1dc89cc4a5a9",
"files": [
".json",
".png"
@@ -10,14 +10,14 @@
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "12236402-e2d3-42a3-88d8-5ca7c45c1ce9@6c48a",
"uuid": "185f4ed3-89dd-498f-bfe6-1dc89cc4a5a9@6c48a",
"displayName": "00013",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "12236402-e2d3-42a3-88d8-5ca7c45c1ce9",
"imageUuidOrDatabaseUri": "185f4ed3-89dd-498f-bfe6-1dc89cc4a5a9",
"isUuid": true,
"visible": false,
"minfilter": "linear",
@@ -34,7 +34,7 @@
},
"f9941": {
"importer": "sprite-frame",
"uuid": "12236402-e2d3-42a3-88d8-5ca7c45c1ce9@f9941",
"uuid": "185f4ed3-89dd-498f-bfe6-1dc89cc4a5a9@f9941",
"displayName": "00013",
"id": "f9941",
"name": "spriteFrame",
@@ -45,9 +45,9 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1280,
"width": 1600,
"height": 720,
"rawWidth": 1280,
"rawWidth": 1600,
"rawHeight": 720,
"borderTop": 0,
"borderBottom": 0,
@@ -60,16 +60,16 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-640,
-800,
-360,
0,
640,
800,
-360,
0,
-640,
-800,
360,
0,
640,
800,
360,
0
],
@@ -84,11 +84,11 @@
"uv": [
0,
720,
1280,
1600,
720,
0,
0,
1280,
1600,
0
],
"nuv": [
@@ -102,18 +102,18 @@
1
],
"minPos": [
-640,
-800,
-360,
0
],
"maxPos": [
640,
800,
360,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "12236402-e2d3-42a3-88d8-5ca7c45c1ce9@6c48a",
"imageUuidOrDatabaseUri": "185f4ed3-89dd-498f-bfe6-1dc89cc4a5a9@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
@@ -128,7 +128,7 @@
"userData": {
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"hasAlpha": false,
"redirect": "12236402-e2d3-42a3-88d8-5ca7c45c1ce9@6c48a"
"hasAlpha": true,
"redirect": "185f4ed3-89dd-498f-bfe6-1dc89cc4a5a9@6c48a"
}
}
@@ -2,7 +2,7 @@
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "82713f86-4df3-4508-b1fa-88de8984d653",
"uuid": "7c1dfa70-5139-41be-82b2-5fd009c26520",
"files": [],
"subMetas": {},
"userData": {}
@@ -35,13 +35,10 @@
},
{
"__id__": 22
},
{
"__id__": 24
}
],
"_prefab": {
"__id__": 26
"__id__": 24
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -554,32 +551,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "y7NHSwQo2QkgmRmTmpYBca"
},
{
"__type__": "PlayerInfoView",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 23
},
"nicknameLabel": {
"uuid": "bdtAP7JtVCEbM8ECGGK/p0"
},
"beanLabel": {
"uuid": "c1yfHrAqNGVrPzKdCHKo1J"
},
"avatarSprite": {
"uuid": "c6dZktHNJMNoztQHZvHf2F"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c2tNehZHa9gREUUqhm5d6j"
},
{
"__type__": "b9890v4yONA+a/v2YVJMDO5",
"_name": "",
@@ -590,7 +561,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 25
"__id__": 23
},
"nicknameLabel": {
"__id__": 2
@@ -0,0 +1,14 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "911af015-64de-4bcb-af2d-53f12c97ef1b",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Group106_PhoneVerify",
"hasIcon": false
}
}
@@ -0,0 +1,14 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "3248fc15-f710-4c16-bc35-53f3e8ef5535",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Layer10_Protocol",
"hasIcon": false
}
}
@@ -0,0 +1,14 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "9993cb85-cba6-45f0-8ec6-bec9544550ae",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Layer609_Setting",
"hasIcon": false
}
}
@@ -0,0 +1,14 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "9503dbb8-4f71-422d-ad8e-e97386429b14",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Layer612_Tips",
"hasIcon": false
}
}
@@ -0,0 +1,14 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "07a74445-efe6-4d96-9e02-dc488ccbd2b9",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Layer613_RoomCardUpdate",
"hasIcon": false
}
}
@@ -0,0 +1,14 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "dbca3627-9e9f-4c1e-9958-acc25e009c8a",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Layer614_Loading",
"hasIcon": false
}
}
@@ -0,0 +1,14 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "959a896a-6af6-490c-b548-339af63b454b",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Layer615_Reconnect",
"hasIcon": false
}
}
@@ -0,0 +1,14 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "90aff576-e472-4c78-9da8-e15539d4777b",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Layer616_Kick",
"hasIcon": false
}
}
@@ -0,0 +1,14 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "2e99ed30-1e3c-4010-973a-dcb8d6050e4f",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Layer617_Notice",
"hasIcon": false
}
}
@@ -0,0 +1,14 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "ae001a9c-47ad-4056-a701-d6bb7ffc018c",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Layer619_BackOtherGame",
"hasIcon": false
}
}
@@ -0,0 +1,14 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "45af5255-83e7-40a1-b117-9743e88f3a47",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Layer620_Record",
"hasIcon": false
}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "7455434e-a60a-44ba-8ae3-89b7b608564b",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -26,7 +26,7 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 38
"__id__": 27
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -57,7 +57,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 39
"__id__": 28
},
"_id": "39e47c22-7aa0-4b0b-98a5-c5006cf3766b"
},
@@ -166,18 +166,15 @@
},
{
"__id__": 23
},
{
"__id__": 33
}
],
"_active": true,
"_components": [
{
"__id__": 36
"__id__": 25
},
{
"__id__": 37
"__id__": 26
}
],
"_prefab": null,
@@ -483,189 +480,7 @@
},
{
"__type__": "cc.Node",
"_name": "PlayerInfoView_Runtime",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
},
"_children": [
{
"__id__": 24
}
],
"_active": true,
"_components": [
{
"__id__": 32
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -100,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "fcIV9QMDtLGpt3/3eCUF9w"
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 23
},
"_prefab": {
"__id__": 25
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 24
},
"asset": {
"__uuid__": "9dd8661c-f764-4e33-b5be-47e02a7d6f41",
"__expectedType__": "cc.Prefab"
},
"fileId": "dflMFKQ9RAybmIkPF8a3Q5",
"instance": {
"__id__": 26
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "068gqTjUZHz4hmwVlaPi9D",
"prefabRootNode": null,
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 27
},
{
"__id__": 29
},
{
"__id__": 30
},
{
"__id__": 31
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 28
},
"propertyPath": [
"_name"
],
"value": "PlayerInfoView"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"dflMFKQ9RAybmIkPF8a3Q5"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 28
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 100,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 28
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 28
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "feGGV1vlZBXYEb9+YMs0YO"
},
{
"__type__": "cc.Node",
"_name": "SceneStart_Node",
"_name": "Layer613_Sample",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -675,17 +490,14 @@
"_active": true,
"_components": [
{
"__id__": 34
},
{
"__id__": 35
"__id__": 24
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 600,
"y": -300,
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
@@ -709,7 +521,7 @@
"y": 0,
"z": 0
},
"_id": "6eeU3KOvxGQbS6UwtxOvAd"
"_id": "fbENyIbVxJC7K+UuoOA3t/"
},
{
"__type__": "cc.UITransform",
@@ -717,7 +529,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 33
"__id__": 23
},
"_enabled": true,
"__prefab": null,
@@ -731,22 +543,7 @@
"x": 0.5,
"y": 0.5
},
"_id": "b4q29azdFN5o73K3kHuaVX"
},
{
"__type__": "c9dc3Tde6BMC7Mls6KOasWP",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 33
},
"_enabled": true,
"__prefab": null,
"playerInfoView": {
"__id__": 24
},
"_id": "c1JK5vephNPJufMYxFCDrz"
"_id": "1aJ7mKZUJPS55ChjdBgMZn"
},
{
"__type__": "cc.UITransform",
@@ -796,37 +593,34 @@
"nestedPrefabInstanceRoots": [
{
"__id__": 5
},
{
"__id__": 24
}
]
},
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 40
"__id__": 29
},
"shadows": {
"__id__": 41
"__id__": 30
},
"_skybox": {
"__id__": 42
"__id__": 31
},
"fog": {
"__id__": 43
"__id__": 32
},
"octree": {
"__id__": 44
"__id__": 33
},
"skin": {
"__id__": 45
"__id__": 34
},
"lightProbeInfo": {
"__id__": 46
"__id__": 35
},
"postSettings": {
"__id__": 47
"__id__": 36
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
@@ -26,7 +26,7 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 31
"__id__": 34
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -57,7 +57,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 32
"__id__": 35
},
"_id": "01dad306-a70d-4860-91b4-043edbbafbb2"
},
@@ -169,18 +169,21 @@
},
{
"__id__": 8
},
{
"__id__": 28
}
],
"_active": true,
"_components": [
{
"__id__": 28
"__id__": 31
},
{
"__id__": 29
"__id__": 32
},
{
"__id__": 30
"__id__": 33
}
],
"_prefab": null,
@@ -883,6 +886,88 @@
},
"_id": "789o7db/RIMbj3S6vsf0Ro"
},
{
"__type__": "cc.Node",
"_name": "RoomEventProbe_Node",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
},
{
"__id__": 30
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "18uZ5u6dlEM4B6zVXWqI6W"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "9a+gsZnFpD3Z4OGW3YbmW2"
},
{
"__type__": "55c96AqZCJGSK+7/uvza9W2",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": null,
"_id": "8dRHg8LZ9LxaYgUuEhgSb+"
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -965,29 +1050,29 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 33
},
"shadows": {
"__id__": 34
},
"_skybox": {
"__id__": 35
},
"fog": {
"__id__": 36
},
"octree": {
"shadows": {
"__id__": 37
},
"skin": {
"_skybox": {
"__id__": 38
},
"lightProbeInfo": {
"fog": {
"__id__": 39
},
"postSettings": {
"octree": {
"__id__": 40
},
"skin": {
"__id__": 41
},
"lightProbeInfo": {
"__id__": 42
},
"postSettings": {
"__id__": 43
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
},
@@ -1,576 +0,0 @@
[
{
"__type__": "cc.SceneAsset",
"_name": "UIFitCheck",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"scene": {
"__id__": 1
}
},
{
"__type__": "cc.Scene",
"_name": "UIFitCheck",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 4
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 16
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 17
},
"_id": "07d312ed-b82b-44c6-86ad-1417d81ee01a"
},
{
"__type__": "cc.Node",
"_name": "Camera",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 640,
"y": 360,
"z": 1000
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "feNMEEZ/BMgLbGFqys7jmm"
},
{
"__type__": "cc.Camera",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": null,
"_projection": 0,
"_priority": 0,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 360,
"_near": 1,
"_far": 2000,
"_color": {
"__type__": "cc.Color",
"r": 51,
"g": 51,
"b": 51,
"a": 255
},
"_depth": 1,
"_stencil": 0,
"_clearFlags": 7,
"_rect": {
"__type__": "cc.Rect",
"x": 0,
"y": 0,
"width": 1,
"height": 1
},
"_aperture": 19,
"_shutter": 7,
"_iso": 0,
"_screenScale": 1,
"_visibility": 1117782015,
"_targetTexture": null,
"_postProcess": null,
"_usePostProcess": false,
"_cameraType": -1,
"_trackingType": 0,
"_id": "5fv10Bsb1EaYtKmO8NF3Kh"
},
{
"__type__": "cc.Node",
"_name": "Canvas",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 5
}
],
"_active": true,
"_components": [
{
"__id__": 13
},
{
"__id__": 14
},
{
"__id__": 15
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 640,
"y": 360,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "138lq3FkpGYJfUzmyxff5/"
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 4
},
"_prefab": {
"__id__": 6
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 5
},
"asset": {
"__uuid__": "b209cefb-b381-4c7c-b765-94a5ab75a89c",
"__expectedType__": "cc.Prefab"
},
"fileId": "33yDavvzhB6IAjia4PLDbg",
"instance": {
"__id__": 7
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "f3+Nz150VGHrC868Bwzs9A",
"prefabRootNode": null,
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 8
},
{
"__id__": 10
},
{
"__id__": 11
},
{
"__id__": 12
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 9
},
"propertyPath": [
"_name"
],
"value": "Login_Layer"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"33yDavvzhB6IAjia4PLDbg"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 9
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 9
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 9
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "40MKatPZNDEJXH7iX1k6BP"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
},
"_enabled": true,
"__prefab": null,
"_cameraComponent": null,
"_alignCanvasWithScreen": true,
"_id": "c3vOk89jRFTbFekSp+aM/c"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 720,
"_alignMode": 1,
"_lockFlags": 0,
"_id": "948qweFNZLR6iR8qhKQHpH"
},
{
"__type__": "cc.PrefabInfo",
"root": null,
"asset": null,
"fileId": "07d312ed-b82b-44c6-86ad-1417d81ee01a",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 5
}
]
},
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 18
},
"shadows": {
"__id__": 19
},
"_skybox": {
"__id__": 20
},
"fog": {
"__id__": 21
},
"octree": {
"__id__": 22
},
"skin": {
"__id__": 23
},
"lightProbeInfo": {
"__id__": 24
},
"postSettings": {
"__id__": 25
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
},
{
"__type__": "cc.AmbientInfo",
"_skyColorHDR": {
"__type__": "cc.Vec4",
"x": 0.2,
"y": 0.5,
"z": 0.8,
"w": 0.520833125
},
"_skyColor": {
"__type__": "cc.Vec4",
"x": 0.2,
"y": 0.5,
"z": 0.8,
"w": 0.520833125
},
"_skyIllumHDR": 20000,
"_skyIllum": 20000,
"_groundAlbedoHDR": {
"__type__": "cc.Vec4",
"x": 0.2,
"y": 0.2,
"z": 0.2,
"w": 1
},
"_groundAlbedo": {
"__type__": "cc.Vec4",
"x": 0.2,
"y": 0.2,
"z": 0.2,
"w": 1
},
"_skyColorLDR": {
"__type__": "cc.Vec4",
"x": 0.2,
"y": 0.5,
"z": 0.8,
"w": 1
},
"_skyIllumLDR": 20000,
"_groundAlbedoLDR": {
"__type__": "cc.Vec4",
"x": 0.2,
"y": 0.2,
"z": 0.2,
"w": 1
}
},
{
"__type__": "cc.ShadowsInfo",
"_enabled": false,
"_type": 0,
"_normal": {
"__type__": "cc.Vec3",
"x": 0,
"y": 1,
"z": 0
},
"_distance": 0,
"_planeBias": 1,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 76
},
"_maxReceived": 4,
"_size": {
"__type__": "cc.Vec2",
"x": 1024,
"y": 1024
}
},
{
"__type__": "cc.SkyboxInfo",
"_envLightingType": 0,
"_envmapHDR": null,
"_envmap": null,
"_envmapLDR": null,
"_diffuseMapHDR": null,
"_diffuseMapLDR": null,
"_enabled": false,
"_useHDR": true,
"_editableMaterial": null,
"_reflectionHDR": null,
"_reflectionLDR": null,
"_rotationAngle": 0
},
{
"__type__": "cc.FogInfo",
"_type": 0,
"_fogColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_enabled": false,
"_fogDensity": 0.3,
"_fogStart": 0.5,
"_fogEnd": 300,
"_fogAtten": 5,
"_fogTop": 1.5,
"_fogRange": 1.2,
"_accurate": false
},
{
"__type__": "cc.OctreeInfo",
"_enabled": false,
"_minPos": {
"__type__": "cc.Vec3",
"x": -1024,
"y": -1024,
"z": -1024
},
"_maxPos": {
"__type__": "cc.Vec3",
"x": 1024,
"y": 1024,
"z": 1024
},
"_depth": 8
},
{
"__type__": "cc.SkinInfo",
"_enabled": true,
"_blurRadius": 0.01,
"_sssIntensity": 3
},
{
"__type__": "cc.LightProbeInfo",
"_giScale": 1,
"_giSamples": 1024,
"_bounces": 2,
"_reduceRinging": 0,
"_showProbe": true,
"_showWireframe": true,
"_showConvex": false,
"_data": null,
"_lightProbeSphereVolume": 1
},
{
"__type__": "cc.PostSettingsInfo",
"_toneMappingType": 0
}
]
@@ -1,11 +0,0 @@
{
"ver": "1.1.50",
"importer": "scene",
"imported": true,
"uuid": "07d312ed-b82b-44c6-86ad-1417d81ee01a",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,33 @@
import { _decorator, Component, Label } from 'cc';
const { ccclass, property } = _decorator;
/**
* PlayerInfoView: 自包含响应式视图组件(不依赖 framework/store-binder)。
*
* 设计:PlayerInfoView.ts 与 SceneStart.ts 配合工作。
* - PlayerInfoView 节点挂此脚本,声明 nicknameLabel/beanLabel/avatarSprite
* 三个 @property
* - SceneStart 构建 mock playerState,直接调用 view.applyPlayer() 触发
* 响应式更新(无需 binder 中间层)
*
* 此组件也接受 bindTo(session) API 形式(与之前兼容),内部创建极简
* signal 形式,避免依赖 framework/store-binder。
*/
@ccclass('PlayerInfoView')
export class PlayerInfoView extends Component {
@property(Label)
nicknameLabel: Label = null!;
@property(Label)
beanLabel: Label = null!;
/** avatar 暂不挂(简化版不展示头像) */
/** 公共方法:直接接受 player 数据,更新 Label */
applyPlayer(p: { nickname: string; bean: number }): void {
if (this.nicknameLabel) this.nicknameLabel.string = p.nickname ?? '';
if (this.beanLabel) this.beanLabel.string = String(p.bean ?? 0);
}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "08e6e0d0-570b-46e4-bcf8-2038993cc0e2",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "55c9602a-6422-4648-afbb-feebf36bd5b6",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "c9dc34dd-7ba0-4c0b-b325-b3a28e6ac58f",
"files": [],
"subMetas": {},
"userData": {}
}
@@ -5,16 +5,17 @@ const { ccclass, property } = _decorator;
/**
* PlayerInfoView: 响应式视图组件(自包含,便于 Cocos 编辑器挂载)。
*
* 设计取舍:不 import framework/store-binder,以避免 framework/ 的 .ts 在
* cocos-mcp-server 的 mount_script 下出现 ctor 错误(framework/ 路径下
* .ts 不被 Cocos 3.8 当 Component 子类编译;见 memory cocos-mcp-mount-script-blocker)。
* 设计取舍:不 import framework/store-binder,让本组件保持"纯 cc.Component 子类 +
* 极简内联 binder"的单文件结构,方便通过 funplay-cocos-mcp 的 mount 流程挂到 prefab
* (挂脚本路径与持久化限制见 memory `prefab-persist-mount-script` /
* `cocos-mcp-mount-script-path`)。
*
* 实际订阅契约与 framework/ui/store-binder 一致:
* - bindTo(binder) 接收外部 binder 实例
* - 调用方持有 binder,内部 subscribe + 自动刷新 Label.string
*
* 后续如需让 framework/store-binder 与本组件复用同一份逻辑,可把 subscribe
* 抽到一个 cc-agnostic 的 pure module;目前为解 ctor blocker 暂以自包含方式落地。
* 抽到一个 cc-agnostic 的 pure module;目前以"单文件自包含"落地,优先确保编辑器挂载稳定。
*/
/** 内联极简 binder(语义与 framework/ui/store-binder 对齐) */
@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "b9890bf8-c8e3-40f9-afef-d985493033b9",
"files": [],
"subMetas": {},
"userData": {}
}