本地数据存取 完成

This commit is contained in:
2025-08-12 16:58:29 +08:00
parent 5dd354a86b
commit b77f023548
9 changed files with 1376 additions and 43 deletions

View File

@@ -28,19 +28,19 @@
"_active": true,
"_components": [
{
"__id__": 60
"__id__": 80
},
{
"__id__": 62
"__id__": 82
}
],
"_prefab": {
"__id__": 64
"__id__": 84
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 228.866,
"y": -411.134,
"z": 0
},
"_lrot": {
@@ -133,7 +133,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 350,
"width": 500,
"height": 50
},
"_anchorPoint": {
@@ -206,8 +206,8 @@
},
"_alignFlags": 40,
"_target": null,
"_left": 185,
"_right": 185,
"_left": 110,
"_right": 110,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
@@ -255,22 +255,25 @@
},
{
"__id__": 33
},
{
"__id__": 53
}
],
"_active": true,
"_components": [
{
"__id__": 53
"__id__": 73
},
{
"__id__": 55
"__id__": 75
},
{
"__id__": 57
"__id__": 77
}
],
"_prefab": {
"__id__": 59
"__id__": 79
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -303,7 +306,7 @@
},
{
"__type__": "cc.Node",
"_name": "coins",
"_name": "gold",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -328,7 +331,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -135,
"x": -210,
"y": 0,
"z": 0
},
@@ -796,7 +799,7 @@
},
{
"__type__": "cc.Node",
"_name": "count",
"_name": "diamond",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -821,7 +824,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 15,
"x": -60,
"y": 0,
"z": 0
},
@@ -949,7 +952,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@a139a",
"__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@d2cb1",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
@@ -1185,7 +1188,7 @@
"__id__": 48
},
"templateMode": false,
"watchPath": "data.mission_data.refresh_count",
"watchPath": "data.mission_data.diamond",
"labelType": "cc.Label",
"watchPathArr": [],
"_id": ""
@@ -1248,6 +1251,460 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "mission",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
},
"_children": [
{
"__id__": 54
},
{
"__id__": 60
}
],
"_active": true,
"_components": [
{
"__id__": 70
}
],
"_prefab": {
"__id__": 72
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 90,
"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
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "ItemIcon_Ticket_Gold",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 55
},
{
"__id__": 57
}
],
"_prefab": {
"__id__": 59
},
"_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": 0.4,
"y": 0.4,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
},
"_enabled": true,
"__prefab": {
"__id__": 56
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 128
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0bB3zZ4dRDAqckiAeaH3a8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 54
},
"_enabled": true,
"__prefab": {
"__id__": 58
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@b5bcd",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "283ljlJt1ICabEFFX7+vtD"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "4bEXCSzrhDvIKuKpLUbW2V",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "num",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 61
},
{
"__id__": 63
},
{
"__id__": 65
},
{
"__id__": 67
}
],
"_prefab": {
"__id__": 69
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 5,
"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
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": {
"__id__": 62
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 35
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "db/+ZGLsJBOpreykUIsriR"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": {
"__id__": 64
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "9999",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 30,
"_fontSize": 30,
"_fontFamily": "Arial",
"_lineHeight": 35,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "33IeCHamJLbZ2z7YvlZ1hl"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": {
"__id__": 66
},
"_alignFlags": 18,
"_target": null,
"_left": -15,
"_right": -15,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": -30,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 80,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3eDcZZ0whHTbStotzvqfOU"
},
{
"__type__": "545c05XsG9GDJispEGWKvYv",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": {
"__id__": 68
},
"templateMode": false,
"watchPath": "data.mission_data.mission",
"labelType": "cc.Label",
"watchPathArr": [],
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "cfPUkHtUhI7Y5+UR0EDVbP"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "afTcUOWMlBNZLOa/fdmAKQ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 53
},
"_enabled": true,
"__prefab": {
"__id__": 71
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a6y+skfR9JZYlL793MIc3i"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ffUnmXtAJH9KA/mdbakTgi",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -1258,11 +1715,11 @@
},
"_enabled": true,
"__prefab": {
"__id__": 54
"__id__": 74
},
"_contentSize": {
"__type__": "cc.Size",
"width": 330,
"width": 480,
"height": 100
},
"_anchorPoint": {
@@ -1286,7 +1743,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 56
"__id__": 76
},
"_alignFlags": 16,
"_target": null,
@@ -1322,7 +1779,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 58
"__id__": 78
},
"_resizeMode": 1,
"_layoutType": 1,
@@ -1373,7 +1830,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 61
"__id__": 81
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1401,7 +1858,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 63
"__id__": 83
},
"_alignFlags": 44,
"_target": null,
@@ -1436,6 +1893,7 @@
"__id__": 0
},
"fileId": "c9POIiGDRD145GjODqam/b",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -26,22 +26,25 @@
},
{
"__id__": 626
},
{
"__id__": 666
}
],
"_active": true,
"_components": [
{
"__id__": 666
"__id__": 695
},
{
"__id__": 668
"__id__": 697
},
{
"__id__": 670
"__id__": 699
}
],
"_prefab": {
"__id__": 672
"__id__": 701
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -181,7 +184,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": -306.784,
"y": 1238.567,
"y": 64.12400000000002,
"z": 0
},
"_lrot": {
@@ -752,7 +755,7 @@
"_target": null,
"_left": 3.216000000000008,
"_right": 20,
"_top": 11.432999999999993,
"_top": 1185.876,
"_bottom": 1069.101,
"_horizontalCenter": 0,
"_verticalCenter": 0,
@@ -15271,6 +15274,360 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_prefab": {
"__id__": 667
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 666
},
"asset": {
"__uuid__": "139f14cc-484c-4a8d-bfbf-d03cab9da553",
"__expectedType__": "cc.Prefab"
},
"fileId": "c9POIiGDRD145GjODqam/b",
"instance": {
"__id__": 668
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "736shlg3ZPs5EYj4X0YxTO",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 669
},
{
"__id__": 671
},
{
"__id__": 672
},
{
"__id__": 673
},
{
"__id__": 674
},
{
"__id__": 676
},
{
"__id__": 678
},
{
"__id__": 679
},
{
"__id__": 681
},
{
"__id__": 682
},
{
"__id__": 683
},
{
"__id__": 684
},
{
"__id__": 686
},
{
"__id__": 688
},
{
"__id__": 690
},
{
"__id__": 691
},
{
"__id__": 692
},
{
"__id__": 694
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 670
},
"propertyPath": [
"_name"
],
"value": "lucky"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"c9POIiGDRD145GjODqam/b"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 670
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": -2.808999999999969,
"y": 1222.74,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 670
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 670
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 675
},
"propertyPath": [
"_bottom"
],
"value": 1187.74
},
{
"__type__": "cc.TargetInfo",
"localID": [
"32JLwFj+9NLZacq366ZnCw"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 677
},
"propertyPath": [
"_alignFlags"
],
"value": 8
},
{
"__type__": "cc.TargetInfo",
"localID": [
"34r2ez99xP0oUhE86XdZ2h"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 677
},
"propertyPath": [
"_left"
],
"value": 20
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 680
},
"propertyPath": [
"_resizeMode"
],
"value": 1
},
{
"__type__": "cc.TargetInfo",
"localID": [
"9eEsWbC6RAU7oHUdbRIR8a"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 675
},
"propertyPath": [
"_left"
],
"value": -2.8089999999999886
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 675
},
"propertyPath": [
"_right"
],
"value": 2.8089999999999886
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 675
},
"propertyPath": [
"_alignFlags"
],
"value": 12
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 685
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": -100,
"y": 0,
"z": 0
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"a1tJISIr5HIY+xwhWaE78W"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 687
},
"propertyPath": [
"_contentSize"
],
"value": {
"__type__": "cc.Size",
"width": 500,
"height": 50
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"7dO+Y5W0pFK5GhKU+bAO4p"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 689
},
"propertyPath": [
"_alignFlags"
],
"value": 8
},
{
"__type__": "cc.TargetInfo",
"localID": [
"cdgeT8NrhFEpUzHt5Rj+bV"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 689
},
"propertyPath": [
"_left"
],
"value": 15
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 689
},
"propertyPath": [
"_right"
],
"value": 210
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 693
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": -345,
"y": 0,
"z": 0
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"3bmV0DxQ5OKZHpJ0UZBhln"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 687
},
"propertyPath": [
"_anchorPoint"
],
"value": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
}
},
{
"__type__": "cc.UITransform",
"_name": "GameUI<UITransform>",
@@ -15281,7 +15638,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 667
"__id__": 696
},
"_contentSize": {
"__type__": "cc.Size",
@@ -15309,7 +15666,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 669
"__id__": 698
},
"_alignFlags": 45,
"_target": null,
@@ -15345,7 +15702,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 671
"__id__": 700
},
"_id": ""
},
@@ -15363,6 +15720,11 @@
},
"fileId": "6514ysgfJNtIx/ak03+nce",
"instance": null,
"targetOverrides": []
"targetOverrides": [],
"nestedPrefabInstanceRoots": [
{
"__id__": 666
}
]
}
]