diff --git a/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab b/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab index fd33106f..43852963 100644 --- a/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab +++ b/JisolGameCocos/assets/resources/prefab/ui/主页/MainView.prefab @@ -6954,7 +6954,7 @@ }, "component": "", "_componentId": "b51bfKvsidNPKBbFirAFgQI", - "handler": "onClickNotOpen", + "handler": "onClickPetEquip", "customEventData": "" }, { diff --git a/JisolGameCocos/assets/resources/prefab/ui/主页/锻造台/锻造台.prefab b/JisolGameCocos/assets/resources/prefab/ui/主页/锻造台/锻造台.prefab index bd6e1921..71589947 100644 --- a/JisolGameCocos/assets/resources/prefab/ui/主页/锻造台/锻造台.prefab +++ b/JisolGameCocos/assets/resources/prefab/ui/主页/锻造台/锻造台.prefab @@ -22,29 +22,29 @@ "__id__": 2 }, { - "__id__": 68 + "__id__": 88 }, { - "__id__": 89 + "__id__": 109 }, { - "__id__": 106 + "__id__": 126 } ], "_active": true, "_components": [ { - "__id__": 123 + "__id__": 143 }, { - "__id__": 125 + "__id__": 145 }, { - "__id__": 127 + "__id__": 147 } ], "_prefab": { - "__id__": 129 + "__id__": 149 }, "_lpos": { "__type__": "cc.Vec3", @@ -88,44 +88,44 @@ "__id__": 3 }, { - "__id__": 9 + "__id__": 11 }, { - "__id__": 15 - }, - { - "__id__": 21 + "__id__": 19 }, { "__id__": 27 }, { - "__id__": 33 + "__id__": 35 }, { - "__id__": 39 - }, - { - "__id__": 45 + "__id__": 43 }, { "__id__": 51 }, { - "__id__": 57 + "__id__": 59 + }, + { + "__id__": 67 + }, + { + "__id__": 75 } ], "_active": true, "_components": [ { - "__id__": 63 + "__id__": 83 }, { - "__id__": 65 + "__id__": 85 } ], "_prefab": { - "__id__": 67 + "__id__": 87 }, "_lpos": { "__type__": "cc.Vec3", @@ -158,1363 +158,1123 @@ }, { "__type__": "cc.Node", - "_name": "装备1", "_objFlags": 0, - "__editorExtras__": {}, "_parent": { "__id__": 2 }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 4 - }, + "_prefab": { + "__id__": 4 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 3 + }, + "asset": { + "__uuid__": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "__expectedType__": "cc.Prefab" + }, + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 5 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "0a60b8rNNMpqhcycuh5A9N", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ { "__id__": 6 + }, + { + "__id__": 8 + }, + { + "__id__": 9 + }, + { + "__id__": 10 } ], - "_prefab": { - "__id__": 8 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 7 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "宠物装备ICON" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 7 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", "x": -220, "y": 55, "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": "" + } }, { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 3 - }, - "_enabled": true, - "__prefab": { - "__id__": 5 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "aetfrzexND6IQ4F0FCMfvv" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 3 - }, - "_enabled": true, - "__prefab": { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { "__id__": 7 }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 173, - "g": 173, - "b": 173, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "65SRMQFhpPnIyerXMugvWf" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "d0Sc1efzhHP5XvUjg0FqeI", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "装备2", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 2 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 10 - }, - { - "__id__": 12 - } + "propertyPath": [ + "_lrot" ], - "_prefab": { - "__id__": 14 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -110, - "y": 55, - "z": 0 - }, - "_lrot": { + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 7 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" + } }, { - "__type__": "cc.UITransform", - "_name": "", + "__type__": "cc.Node", "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 9 + "_parent": { + "__id__": 2 }, - "_enabled": true, - "__prefab": { - "__id__": 11 + "_prefab": { + "__id__": 12 }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "83DmFi6FlPi6A7lpI8J6Gg" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 9 - }, - "_enabled": true, - "__prefab": { - "__id__": 13 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 173, - "g": 173, - "b": 173, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f7S7jmCOlLqLcx77htAPON" + "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1 + "__id__": 11 }, "asset": { - "__id__": 0 + "__uuid__": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "__expectedType__": "cc.Prefab" }, - "fileId": "2dbDo6VGpG86SZol2NuigZ", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 13 + }, + "targetOverrides": null }, { - "__type__": "cc.Node", - "_name": "装备3", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 2 + "__type__": "cc.PrefabInstance", + "fileId": "8df3Nnp4dLT4pb163iZuxv", + "prefabRootNode": { + "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 14 + }, { "__id__": 16 }, + { + "__id__": 17 + }, { "__id__": 18 } ], - "_prefab": { - "__id__": 20 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 15 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "宠物装备ICON-001" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 15 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", - "x": 0, + "x": -110, "y": 55, "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 15 }, - "_lrot": { + "propertyPath": [ + "_lrot" + ], + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 15 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" + } }, { - "__type__": "cc.UITransform", - "_name": "", + "__type__": "cc.Node", "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 15 + "_parent": { + "__id__": 2 }, - "_enabled": true, - "__prefab": { - "__id__": 17 + "_prefab": { + "__id__": 20 }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5ahedeJxlBRJRBEV9S6rRN" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 15 - }, - "_enabled": true, - "__prefab": { - "__id__": 19 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 173, - "g": 173, - "b": 173, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d8ez30entHtp3pkwRBZwB4" + "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1 + "__id__": 19 }, "asset": { - "__id__": 0 + "__uuid__": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "__expectedType__": "cc.Prefab" }, - "fileId": "18jPeLgIlHBZ/TI0eh8Nfq", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 21 + }, + "targetOverrides": null }, { - "__type__": "cc.Node", - "_name": "装备4", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 2 + "__type__": "cc.PrefabInstance", + "fileId": "9a3X6CvTlDh7OLM6rgw1xj", + "prefabRootNode": { + "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ { "__id__": 22 }, { "__id__": 24 + }, + { + "__id__": 25 + }, + { + "__id__": 26 } ], - "_prefab": { - "__id__": 26 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 23 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "宠物装备ICON-002" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 23 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 55, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 23 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 23 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_prefab": { + "__id__": 28 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 27 + }, + "asset": { + "__uuid__": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "__expectedType__": "cc.Prefab" + }, + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 29 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "b3mfAU2zZMDIE2ly6QUCJw", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 30 + }, + { + "__id__": 32 + }, + { + "__id__": 33 + }, + { + "__id__": 34 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 31 + }, + "propertyPath": [ + "_name" + ], + "value": "宠物装备ICON-003" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 31 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", "x": 110, "y": 55, "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": "" + } }, { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 21 - }, - "_enabled": true, - "__prefab": { - "__id__": 23 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e23nGFYDdEnp2eMSIchTmT" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 21 - }, - "_enabled": true, - "__prefab": { - "__id__": 25 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 173, - "g": 173, - "b": 173, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6aWhmSxedNxqZ0UfAdsHwz" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "f3+X26Y6RBeJKcaklSlBde", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "装备5", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 2 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 28 - }, - { - "__id__": 30 - } - ], - "_prefab": { - "__id__": 32 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 220, - "y": 55, - "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": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 27 - }, - "_enabled": true, - "__prefab": { - "__id__": 29 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "ddzxznPPRM45jZbWLStD5e" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 27 - }, - "_enabled": true, - "__prefab": { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { "__id__": 31 }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 173, - "g": 173, - "b": 173, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5507GH/HBOq5ZLF3gFiQV/" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "83m28styFD1Kyg/MOM2DCc", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "装备6", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 2 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 34 - }, - { - "__id__": 36 - } + "propertyPath": [ + "_lrot" ], - "_prefab": { - "__id__": 38 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -220, - "y": -55, - "z": 0 - }, - "_lrot": { + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 31 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" + } }, { - "__type__": "cc.UITransform", - "_name": "", + "__type__": "cc.Node", "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 33 + "_parent": { + "__id__": 2 }, - "_enabled": true, - "__prefab": { - "__id__": 35 + "_prefab": { + "__id__": 36 }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e8m9/G2MtO0pqEX087SJt2" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 33 - }, - "_enabled": true, - "__prefab": { - "__id__": 37 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 173, - "g": 173, - "b": 173, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "46AysDy6xKqpZRQbwW6y4v" + "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1 + "__id__": 35 }, "asset": { - "__id__": 0 + "__uuid__": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "__expectedType__": "cc.Prefab" }, - "fileId": "b4SVF3E4lCmZx/lSdm7jy7", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 37 + }, + "targetOverrides": null }, { - "__type__": "cc.Node", - "_name": "装备7", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 2 + "__type__": "cc.PrefabInstance", + "fileId": "d2HT1avu1Lmado1gqk68bI", + "prefabRootNode": { + "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 38 + }, { "__id__": 40 }, + { + "__id__": 41 + }, { "__id__": 42 } ], - "_prefab": { - "__id__": 44 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 39 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "宠物装备ICON-004" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 39 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", - "x": -110, - "y": -55, + "x": 220, + "y": 55, "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 39 }, - "_lrot": { + "propertyPath": [ + "_lrot" + ], + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 39 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" + } }, { - "__type__": "cc.UITransform", - "_name": "", + "__type__": "cc.Node", "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 39 + "_parent": { + "__id__": 2 }, - "_enabled": true, - "__prefab": { - "__id__": 41 + "_prefab": { + "__id__": 44 }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "7dpVDseYpDuYFzElq4Woba" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 39 - }, - "_enabled": true, - "__prefab": { - "__id__": 43 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 173, - "g": 173, - "b": 173, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a2VNh3YcZPzav/KtD3asIs" + "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1 + "__id__": 43 }, "asset": { - "__id__": 0 + "__uuid__": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "__expectedType__": "cc.Prefab" }, - "fileId": "f105eqi5JB977s3Y/+vVJE", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 45 + }, + "targetOverrides": null }, { - "__type__": "cc.Node", - "_name": "装备8", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 2 + "__type__": "cc.PrefabInstance", + "fileId": "b60HMYl4BLzIef7YnMYcL2", + "prefabRootNode": { + "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ { "__id__": 46 }, { "__id__": 48 + }, + { + "__id__": 49 + }, + { + "__id__": 50 } ], - "_prefab": { - "__id__": 50 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 47 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "宠物装备ICON-005" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 47 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", - "x": 0, + "x": -220, "y": -55, "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 47 }, - "_lrot": { + "propertyPath": [ + "_lrot" + ], + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 47 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" + } }, { - "__type__": "cc.UITransform", - "_name": "", + "__type__": "cc.Node", "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 45 + "_parent": { + "__id__": 2 }, - "_enabled": true, - "__prefab": { - "__id__": 47 + "_prefab": { + "__id__": 52 }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a47iXPI95IxIN1fGTG3L/s" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 45 - }, - "_enabled": true, - "__prefab": { - "__id__": 49 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 173, - "g": 173, - "b": 173, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "65BFYYiBZDP5ScYz0H5c9c" + "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1 + "__id__": 51 }, "asset": { - "__id__": 0 + "__uuid__": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "__expectedType__": "cc.Prefab" }, - "fileId": "71JvMq/UZJIYiAk2qpryOW", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 53 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "f6J3MUKl1EEZJjltIuIMEE", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 54 + }, + { + "__id__": 56 + }, + { + "__id__": 57 + }, + { + "__id__": 58 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_name" + ], + "value": "宠物装备ICON-006" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -110, + "y": -55, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } }, { "__type__": "cc.Node", - "_name": "装备9", "_objFlags": 0, - "__editorExtras__": {}, "_parent": { "__id__": 2 }, - "_children": [], - "_active": true, - "_components": [ + "_prefab": { + "__id__": 60 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 59 + }, + "asset": { + "__uuid__": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "__expectedType__": "cc.Prefab" + }, + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 61 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "982wrWpOFDAbiCtrPQkHId", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ { - "__id__": 52 + "__id__": 62 }, { - "__id__": 54 + "__id__": 64 + }, + { + "__id__": 65 + }, + { + "__id__": 66 } ], - "_prefab": { - "__id__": 56 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 63 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "宠物装备ICON-007" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 63 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": -55, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 63 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 63 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_prefab": { + "__id__": 68 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 67 + }, + "asset": { + "__uuid__": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "__expectedType__": "cc.Prefab" + }, + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 69 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "60zJeMRRNKYJhIAvp1ihcT", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 70 + }, + { + "__id__": 72 + }, + { + "__id__": 73 + }, + { + "__id__": 74 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 71 + }, + "propertyPath": [ + "_name" + ], + "value": "宠物装备ICON-008" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 71 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", "x": 110, "y": -55, "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 71 }, - "_lrot": { + "propertyPath": [ + "_lrot" + ], + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 71 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" + } }, { - "__type__": "cc.UITransform", - "_name": "", + "__type__": "cc.Node", "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 51 + "_parent": { + "__id__": 2 }, - "_enabled": true, - "__prefab": { - "__id__": 53 + "_prefab": { + "__id__": 76 }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "33OqHLNvNO0Jp5r+3IJ8XI" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 51 - }, - "_enabled": true, - "__prefab": { - "__id__": 55 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 173, - "g": 173, - "b": 173, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "0dr7ZfLVlCV688PZ6i/Ojx" + "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1 + "__id__": 75 }, "asset": { - "__id__": 0 + "__uuid__": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "__expectedType__": "cc.Prefab" }, - "fileId": "9dGb9nRBRJF4rRpyLhQ5LA", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 77 + }, + "targetOverrides": null }, { - "__type__": "cc.Node", - "_name": "装备10", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 2 + "__type__": "cc.PrefabInstance", + "fileId": "1bzfB7OY9BDJ1JP9uecNhq", + "prefabRootNode": { + "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ { - "__id__": 58 + "__id__": 78 }, { - "__id__": 60 + "__id__": 80 + }, + { + "__id__": 81 + }, + { + "__id__": 82 } ], - "_prefab": { - "__id__": 62 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 79 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "宠物装备ICON-009" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 79 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", "x": 220, "y": -55, "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 79 }, - "_lrot": { + "propertyPath": [ + "_lrot" + ], + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 79 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 57 - }, - "_enabled": true, - "__prefab": { - "__id__": 59 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "43DQtPTS5MG4OaBwCuSx7R" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 57 - }, - "_enabled": true, - "__prefab": { - "__id__": 61 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 173, - "g": 173, - "b": 173, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "3bYZo916BKgbGsxQC3ajs2" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "361ob3c9FM6YSIvitjsLlI", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + } }, { "__type__": "cc.UITransform", @@ -1526,7 +1286,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 64 + "__id__": 84 }, "_contentSize": { "__type__": "cc.Size", @@ -1554,7 +1314,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 66 + "__id__": 86 }, "_resizeMode": 1, "_layoutType": 3, @@ -1605,20 +1365,20 @@ }, "_children": [ { - "__id__": 69 + "__id__": 89 } ], "_active": true, "_components": [ { - "__id__": 83 + "__id__": 103 }, { - "__id__": 85 + "__id__": 105 } ], "_prefab": { - "__id__": 88 + "__id__": 108 }, "_lpos": { "__type__": "cc.Vec3", @@ -1653,17 +1413,17 @@ "__type__": "cc.Node", "_objFlags": 0, "_parent": { - "__id__": 68 + "__id__": 88 }, "_prefab": { - "__id__": 70 + "__id__": 90 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 69 + "__id__": 89 }, "asset": { "__uuid__": "c7577a1e-d03c-4b53-8670-089ccbfeb272", @@ -1671,11 +1431,11 @@ }, "fileId": "13NgoTXGpMRapTmp+uDndV", "instance": { - "__id__": 71 + "__id__": 91 }, "targetOverrides": [ { - "__id__": 80 + "__id__": 100 } ] }, @@ -1689,16 +1449,16 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 72 + "__id__": 92 }, { - "__id__": 74 + "__id__": 94 }, { - "__id__": 76 + "__id__": 96 }, { - "__id__": 78 + "__id__": 98 } ], "removedComponents": [] @@ -1706,7 +1466,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 73 + "__id__": 93 }, "propertyPath": [ "_name" @@ -1722,7 +1482,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 75 + "__id__": 95 }, "propertyPath": [ "_lpos" @@ -1743,7 +1503,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 77 + "__id__": 97 }, "propertyPath": [ "_lrot" @@ -1765,7 +1525,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 79 + "__id__": 99 }, "propertyPath": [ "_euler" @@ -1791,10 +1551,10 @@ "petIcon" ], "target": { - "__id__": 81 + "__id__": 101 }, "targetInfo": { - "__id__": 82 + "__id__": 102 } }, { @@ -1813,11 +1573,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 68 + "__id__": 88 }, "_enabled": true, "__prefab": { - "__id__": 84 + "__id__": 104 }, "_contentSize": { "__type__": "cc.Size", @@ -1841,15 +1601,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 68 + "__id__": 88 }, "_enabled": true, "__prefab": { - "__id__": 86 + "__id__": 106 }, "clickEvents": [ { - "__id__": 87 + "__id__": 107 } ], "_interactable": true, @@ -1928,23 +1688,23 @@ }, "_children": [ { - "__id__": 90 + "__id__": 110 } ], "_active": true, "_components": [ { - "__id__": 98 + "__id__": 118 }, { - "__id__": 100 + "__id__": 120 }, { - "__id__": 102 + "__id__": 122 } ], "_prefab": { - "__id__": 105 + "__id__": 125 }, "_lpos": { "__type__": "cc.Vec3", @@ -1981,23 +1741,23 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 89 + "__id__": 109 }, "_children": [], "_active": true, "_components": [ { - "__id__": 91 + "__id__": 111 }, { - "__id__": 93 + "__id__": 113 }, { - "__id__": 95 + "__id__": 115 } ], "_prefab": { - "__id__": 97 + "__id__": 117 }, "_lpos": { "__type__": "cc.Vec3", @@ -2034,11 +1794,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 90 + "__id__": 110 }, "_enabled": true, "__prefab": { - "__id__": 92 + "__id__": 112 }, "_contentSize": { "__type__": "cc.Size", @@ -2062,11 +1822,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 90 + "__id__": 110 }, "_enabled": true, "__prefab": { - "__id__": 94 + "__id__": 114 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2107,11 +1867,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 90 + "__id__": 110 }, "_enabled": true, "__prefab": { - "__id__": 96 + "__id__": 116 }, "_color": { "__type__": "cc.Color", @@ -2146,11 +1906,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 89 + "__id__": 109 }, "_enabled": true, "__prefab": { - "__id__": 99 + "__id__": 119 }, "_contentSize": { "__type__": "cc.Size", @@ -2174,11 +1934,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 89 + "__id__": 109 }, "_enabled": true, "__prefab": { - "__id__": 101 + "__id__": 121 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2219,15 +1979,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 89 + "__id__": 109 }, "_enabled": true, "__prefab": { - "__id__": 103 + "__id__": 123 }, "clickEvents": [ { - "__id__": 104 + "__id__": 124 } ], "_interactable": true, @@ -2279,7 +2039,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 89 + "__id__": 109 }, "_id": "" }, @@ -2320,23 +2080,23 @@ }, "_children": [ { - "__id__": 107 + "__id__": 127 } ], "_active": true, "_components": [ { - "__id__": 115 + "__id__": 135 }, { - "__id__": 117 + "__id__": 137 }, { - "__id__": 119 + "__id__": 139 } ], "_prefab": { - "__id__": 122 + "__id__": 142 }, "_lpos": { "__type__": "cc.Vec3", @@ -2373,23 +2133,23 @@ "_objFlags": 512, "__editorExtras__": {}, "_parent": { - "__id__": 106 + "__id__": 126 }, "_children": [], "_active": true, "_components": [ { - "__id__": 108 + "__id__": 128 }, { - "__id__": 110 + "__id__": 130 }, { - "__id__": 112 + "__id__": 132 } ], "_prefab": { - "__id__": 114 + "__id__": 134 }, "_lpos": { "__type__": "cc.Vec3", @@ -2426,16 +2186,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 107 + "__id__": 127 }, "_enabled": true, "__prefab": { - "__id__": 109 + "__id__": 129 }, "_contentSize": { "__type__": "cc.Size", - "width": 76, - "height": 50.84 + "width": 60, + "height": 46.84 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2454,11 +2214,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 107 + "__id__": 127 }, "_enabled": true, "__prefab": { - "__id__": 111 + "__id__": 131 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2470,11 +2230,11 @@ "b": 255, "a": 255 }, - "_string": "装备", + "_string": "挂机", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 34, - "_fontSize": 34, + "_actualFontSize": 28, + "_fontSize": 28, "_fontFamily": "Arial", "_lineHeight": 34, "_overflow": 0, @@ -2499,11 +2259,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 107 + "__id__": 127 }, "_enabled": true, "__prefab": { - "__id__": 113 + "__id__": 133 }, "_color": { "__type__": "cc.Color", @@ -2512,7 +2272,7 @@ "b": 0, "a": 255 }, - "_width": 4, + "_width": 2, "_id": "" }, { @@ -2538,11 +2298,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 106 + "__id__": 126 }, "_enabled": true, "__prefab": { - "__id__": 116 + "__id__": 136 }, "_contentSize": { "__type__": "cc.Size", @@ -2566,11 +2326,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 106 + "__id__": 126 }, "_enabled": true, "__prefab": { - "__id__": 118 + "__id__": 138 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2611,15 +2371,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 106 + "__id__": 126 }, "_enabled": true, "__prefab": { - "__id__": 120 + "__id__": 140 }, "clickEvents": [ { - "__id__": 121 + "__id__": 141 } ], "_interactable": true, @@ -2671,7 +2431,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 106 + "__id__": 126 }, "_id": "" }, @@ -2710,7 +2470,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 124 + "__id__": 144 }, "_contentSize": { "__type__": "cc.Size", @@ -2738,7 +2498,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 126 + "__id__": 146 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2783,9 +2543,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 128 + "__id__": 148 }, "petView": null, + "equips": { + "__id__": 2 + }, "_id": "" }, { @@ -2804,29 +2567,59 @@ "instance": null, "targetOverrides": [ { - "__id__": 130 + "__id__": 150 } ], "nestedPrefabInstanceRoots": [ { - "__id__": 69 + "__id__": 89 + }, + { + "__id__": 75 + }, + { + "__id__": 67 + }, + { + "__id__": 59 + }, + { + "__id__": 51 + }, + { + "__id__": 43 + }, + { + "__id__": 35 + }, + { + "__id__": 27 + }, + { + "__id__": 19 + }, + { + "__id__": 11 + }, + { + "__id__": 3 } ] }, { "__type__": "cc.TargetOverrideInfo", "source": { - "__id__": 127 + "__id__": 147 }, "sourceInfo": null, "propertyPath": [ "petView" ], "target": { - "__id__": 69 + "__id__": 89 }, "targetInfo": { - "__id__": 131 + "__id__": 151 } }, { diff --git a/JisolGameCocos/assets/resources/prefab/ui/宠物装备/宠物装备背包页面.prefab b/JisolGameCocos/assets/resources/prefab/ui/宠物装备/宠物装备背包页面.prefab new file mode 100644 index 00000000..e987d59e --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/宠物装备/宠物装备背包页面.prefab @@ -0,0 +1,1270 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "宠物装备背包页面", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "宠物装备背包页面", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 54 + }, + { + "__id__": 56 + }, + { + "__id__": 58 + } + ], + "_prefab": { + "__id__": 60 + }, + "_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": "" + }, + { + "__type__": "cc.Node", + "_name": "content", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + } + ], + "_active": true, + "_components": [ + { + "__id__": 47 + }, + { + "__id__": 49 + }, + { + "__id__": 51 + } + ], + "_prefab": { + "__id__": 53 + }, + "_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": "" + }, + { + "__type__": "cc.Node", + "_name": "宠物列表", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 4 + }, + { + "__id__": 22 + } + ], + "_active": true, + "_components": [ + { + "__id__": 40 + }, + { + "__id__": 42 + }, + { + "__id__": 44 + }, + { + "__id__": 37 + } + ], + "_prefab": { + "__id__": 46 + }, + "_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": "" + }, + { + "__type__": "cc.Node", + "_name": "view", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [ + { + "__id__": 5 + } + ], + "_active": true, + "_components": [ + { + "__id__": 13 + }, + { + "__id__": 15 + }, + { + "__id__": 17 + }, + { + "__id__": 19 + } + ], + "_prefab": { + "__id__": 21 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 300, + "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": "" + }, + { + "__type__": "cc.Node", + "_name": "content", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 4 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + }, + { + "__id__": 8 + }, + { + "__id__": 10 + } + ], + "_prefab": { + "__id__": 12 + }, + "_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": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ac4F8xohJNQpAwWJSNQS4+" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_resizeMode": 1, + "_layoutType": 3, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 10, + "_paddingRight": 0, + "_paddingTop": 20, + "_paddingBottom": 20, + "_spacingX": 8, + "_spacingY": 8, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "15iB5ZgiVJ3rMmerEROWX/" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_alignFlags": 40, + "_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": 220, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "155zACyTBAHY93+Q2Rdg5f" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8bbk/jLqZBJbrcq3xLg4Qh", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 600 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "22ggNHAe5DfKijpNjUtJKS" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_type": 0, + "_inverted": false, + "_segments": 64, + "_alphaThreshold": 0.1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "58REDJDF5HpJkbd8aAwpwi" + }, + { + "__type__": "cc.Graphics", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_lineWidth": 1, + "_strokeColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_lineJoin": 2, + "_lineCap": 0, + "_fillColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_miterLimit": 10, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cfkszut/hK+ISJyuyWkArv" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_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": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "73ggNr5R1EaYadLEcax7lR" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1e+yoAUFFBNrbwSecVoFnS", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "scrollBar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [ + { + "__id__": 23 + } + ], + "_active": true, + "_components": [ + { + "__id__": 29 + }, + { + "__id__": 31 + }, + { + "__id__": 33 + }, + { + "__id__": 35 + } + ], + "_prefab": { + "__id__": 39 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 275, + "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": "" + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 22 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 24 + }, + { + "__id__": 26 + } + ], + "_prefab": { + "__id__": 28 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11, + "y": -31.25, + "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": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 10, + "height": 156.25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "08pnZ3aLVMgLdVmMu9UZSS" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 23 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_spriteFrame": { + "__uuid__": "afc47931-f066-46b0-90be-9fe61f213428@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1ee+diLodFn59SygbEg6ex" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0foL6ggxdOkqkREcVIkyQz", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 30 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 12, + "height": 600 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "88KGjwlyxGZquqSx38bMZY" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 32 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 0 + }, + "_spriteFrame": { + "__uuid__": "ffb88a8f-af62-48f4-8f1d-3cb606443a43@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8bLLZ5tf9Hb43afDycNIzv" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 34 + }, + "_alignFlags": 37, + "_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": 0, + "_originalHeight": 250, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1996WzJP5IEIGZHd/WFio0" + }, + { + "__type__": "cc.ScrollBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 36 + }, + "_scrollView": { + "__id__": 37 + }, + "_handle": { + "__id__": 26 + }, + "_direction": 1, + "_enableAutoHide": true, + "_autoHideTime": 1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "12gveOv/VKiJWulXyDJT/n" + }, + { + "__type__": "563f2c1JcVKmrpHhC0vl3PI", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 38 + }, + "bounceDuration": 0.23, + "brake": 0.75, + "elastic": true, + "inertia": true, + "horizontal": false, + "vertical": true, + "cancelInnerEvents": true, + "scrollEvents": [], + "_content": { + "__id__": 5 + }, + "_horizontalScrollBar": null, + "_verticalScrollBar": { + "__id__": 35 + }, + "itemPrefab": { + "__uuid__": "fb89fccc-c24a-4c03-913d-fe23d9d8d5ae", + "__expectedType__": "cc.Prefab" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c5gay+y61Aj4I5rXOYhPUJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "94CcQ95RRGd4sf801fddL/", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 41 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 600 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d9LKrfkbtLkq10PdIedJWk" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 43 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "b730527c-3233-41c2-aaf7-7cdab58f9749@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8bxZQN17pG5bVJ3ohaB/83" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 45 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 100, + "_bottom": 100, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bbvByW+CNPo6Gj4IxQCy3k" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cfGK4kItlBULjXlhHYLdp6", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 48 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 550, + "height": 800 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "13ov9yBmlJ1qtJlZGH3eRG" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 50 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "664iSL/SBE9psYRMeSLUPj" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 52 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "46IC2D9/5Mv6OfgNG0uc63" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f5F0XQeN1PbJNvOrjuwjQ3", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 55 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 1280 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1dgJxmIH5HIpXD6y0/xMwI" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 57 + }, + "_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": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "582zBz6m5DKqmkTkiS/LE0" + }, + { + "__type__": "81089anPTxDQ5ijYqOrd7cy", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 59 + }, + "mask": true, + "maskOpcity": 80, + "isClickMaskeClose": true, + "list": { + "__id__": 37 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "05vIHoSRVKe4lPCUa16G03" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "08xLpDDa9NlK3pgR7XiOqb", + "instance": null, + "targetOverrides": [] + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/宠物装备/宠物装备背包页面.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/宠物装备/宠物装备背包页面.prefab.meta new file mode 100644 index 00000000..a8c59bb5 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/宠物装备/宠物装备背包页面.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "c8da166d-23ea-4e54-9969-98d1a4ae4c1a", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "宠物装备背包页面" + } +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/宠物装备/弹出锻造装备页面.prefab b/JisolGameCocos/assets/resources/prefab/ui/宠物装备/弹出锻造装备页面.prefab index 6229937b..23ae3996 100644 --- a/JisolGameCocos/assets/resources/prefab/ui/宠物装备/弹出锻造装备页面.prefab +++ b/JisolGameCocos/assets/resources/prefab/ui/宠物装备/弹出锻造装备页面.prefab @@ -25,17 +25,17 @@ "_active": true, "_components": [ { - "__id__": 14 + "__id__": 41 }, { - "__id__": 16 + "__id__": 43 }, { - "__id__": 18 + "__id__": 45 } ], "_prefab": { - "__id__": 20 + "__id__": 47 }, "_lpos": { "__type__": "cc.Vec3", @@ -77,19 +77,25 @@ "_children": [ { "__id__": 3 + }, + { + "__id__": 17 } ], "_active": true, "_components": [ { - "__id__": 9 + "__id__": 34 }, { - "__id__": 11 + "__id__": 36 + }, + { + "__id__": 38 } ], "_prefab": { - "__id__": 13 + "__id__": 40 }, "_lpos": { "__type__": "cc.Vec3", @@ -122,24 +128,327 @@ }, { "__type__": "cc.Node", - "_name": "SpriteSplash", + "_name": "装备ICON", "_objFlags": 0, "__editorExtras__": {}, "_parent": { "__id__": 2 }, + "_children": [ + { + "__id__": 4 + } + ], + "_active": true, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 14 + } + ], + "_prefab": { + "__id__": 16 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -2.0010000000000048, + "y": 43.173, + "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": "" + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 3 + }, + "_prefab": { + "__id__": 5 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 4 + }, + "asset": { + "__uuid__": "910454d9-bf71-4438-b8a4-be60494c4e51", + "__expectedType__": "cc.Prefab" + }, + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 6 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "5c30X8apVG4YDQxUZ8YWHN", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 7 + }, + { + "__id__": 9 + }, + { + "__id__": 10 + }, + { + "__id__": 11 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 8 + }, + "propertyPath": [ + "_name" + ], + "value": "配置表装备ICON" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 8 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 8 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 8 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5cBYbV0DZGG6JlMDK0T9ga" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_alignFlags": 9, + "_target": null, + "_left": 197.999, + "_right": 0, + "_top": 56.827, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c5ey/sB7tLIrNTTWTgSfwX" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "10KW10iXRNUqc23VunBfIZ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "穿戴", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 18 + } + ], + "_active": true, + "_components": [ + { + "__id__": 26 + }, + { + "__id__": 28 + }, + { + "__id__": 30 + } + ], + "_prefab": { + "__id__": 33 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -90.534, + "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": "" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 17 + }, "_children": [], "_active": true, "_components": [ { - "__id__": 4 + "__id__": 19 }, { - "__id__": 6 + "__id__": 21 + }, + { + "__id__": 23 } ], "_prefab": { - "__id__": 8 + "__id__": 25 }, "_lpos": { "__type__": "cc.Vec3", @@ -176,16 +485,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 3 + "__id__": 18 }, "_enabled": true, "__prefab": { - "__id__": 5 + "__id__": 20 }, "_contentSize": { "__type__": "cc.Size", - "width": 80, - "height": 80 + "width": 100, + "height": 40 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -196,7 +505,119 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "9a2bOSmL9PhY4egC6BTrR0" + "fileId": "a6Pois7S9PPYOeAFB+RjUH" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "穿戴", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 20, + "_fontSize": 20, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4az70IailOWqoGC4eFuhjj" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": { + "__id__": 24 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6dnxe2+GpDt6iCGIqY/bFy" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a74l3htD1PS6AvCjrMF2S5", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eaZxHljbdD4qZGinV78tPs" }, { "__type__": "cc.Sprite", @@ -204,11 +625,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 3 + "__id__": 17 }, "_enabled": true, "__prefab": { - "__id__": 7 + "__id__": 29 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -221,10 +642,10 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", "__expectedType__": "cc.SpriteFrame" }, - "_type": 0, + "_type": 1, "_fillType": 0, "_sizeMode": 0, "_fillCenter": { @@ -241,7 +662,91 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "6ac8NoYVpEz4GUr35vJGoA" + "fileId": "32eOYRNy9EyYHkiHkmZvYD" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "clickEvents": [ + { + "__id__": 32 + } + ], + "_interactable": true, + "_transition": 2, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 17 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "19FbCupnJFWIFZ7C9s4wcl" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "19e44aZZFxLB6/zVS3HoSuo", + "handler": "onClickWear", + "customEventData": "" }, { "__type__": "cc.PrefabInfo", @@ -251,7 +756,7 @@ "asset": { "__id__": 0 }, - "fileId": "b8tFSRSSFFPb/gcLBI1aE8", + "fileId": "24+oSn1XFH65UZwip9Zzko", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -266,12 +771,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 10 + "__id__": 35 }, "_contentSize": { "__type__": "cc.Size", - "width": 100, - "height": 100 + "width": 500, + "height": 300 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -294,7 +799,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 12 + "__id__": 37 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -329,6 +834,24 @@ "__type__": "cc.CompPrefabInfo", "fileId": "664iSL/SBE9psYRMeSLUPj" }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 39 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "46IC2D9/5Mv6OfgNG0uc63" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -352,7 +875,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 15 + "__id__": 42 }, "_contentSize": { "__type__": "cc.Size", @@ -380,7 +903,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 17 + "__id__": 44 }, "_alignFlags": 45, "_target": null, @@ -416,14 +939,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 19 + "__id__": 46 }, "mask": true, "maskOpcity": 80, "isClickMaskeClose": true, - "icon": { - "__id__": 6 - }, + "icon": null, "_id": "" }, { @@ -440,6 +961,37 @@ }, "fileId": "08xLpDDa9NlK3pgR7XiOqb", "instance": null, - "targetOverrides": [] + "targetOverrides": [ + { + "__id__": 48 + } + ], + "nestedPrefabInstanceRoots": [ + { + "__id__": 4 + } + ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 45 + }, + "sourceInfo": null, + "propertyPath": [ + "icon" + ], + "target": { + "__id__": 4 + }, + "targetInfo": { + "__id__": 49 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "44EB+AGx5L2JYyIDyepY5j" + ] } ] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备.meta b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备.meta new file mode 100644 index 00000000..3ea26a35 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "2ab4fbbb-909f-4f37-8b05-307ab5995064", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon.meta b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon.meta new file mode 100644 index 00000000..4da3d695 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "8e9a2796-20ad-42ff-86ed-8e7d4735780b", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/列表宠物装备ICON.prefab b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/列表宠物装备ICON.prefab new file mode 100644 index 00000000..0cc4716d --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/列表宠物装备ICON.prefab @@ -0,0 +1,268 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "列表宠物装备ICON", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "列表宠物装备ICON", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 10 + }, + { + "__id__": 12 + } + ], + "_prefab": { + "__id__": 14 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -217, + "y": -50, + "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": "" + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 3 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 2 + }, + "asset": { + "__uuid__": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "__expectedType__": "cc.Prefab" + }, + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": { + "__id__": 4 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "d1IxtnN1ZPf5omjz1DI1tc", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 8 + }, + { + "__id__": 9 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_name" + ], + "value": "宠物装备ICON" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "02c3tqHwFAbp7zhkA22zq9" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "60HDOce21EU4mT/teH3tKt" + }, + { + "__type__": "b40b9OmNBNIbJwRmZoevRPc", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "equip": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "29JI8EgodAA54r5M1spfv6" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": null, + "targetOverrides": [ + { + "__id__": 15 + } + ], + "nestedPrefabInstanceRoots": [ + { + "__id__": 2 + } + ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 12 + }, + "sourceInfo": null, + "propertyPath": [ + "equip" + ], + "target": { + "__id__": 2 + }, + "targetInfo": { + "__id__": 16 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "f1s983e4pH04ok2jfdVZwa" + ] + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/列表宠物装备ICON.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/列表宠物装备ICON.prefab.meta new file mode 100644 index 00000000..f2d8e4f7 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/列表宠物装备ICON.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "fb89fccc-c24a-4c03-913d-fe23d9d8d5ae", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "列表宠物装备ICON" + } +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/宠物装备ICON.prefab b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/宠物装备ICON.prefab new file mode 100644 index 00000000..4f4c70cb --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/宠物装备ICON.prefab @@ -0,0 +1,547 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "宠物装备ICON", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "宠物装备ICON", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 8 + }, + { + "__id__": 14 + } + ], + "_active": true, + "_components": [ + { + "__id__": 20 + }, + { + "__id__": 22 + } + ], + "_prefab": { + "__id__": 24 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -217, + "y": -50, + "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": "" + }, + { + "__type__": "cc.Node", + "_name": "装备品质框", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_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": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5dXmPodeBIzK9ZudCJ0lyM" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20sb9VIT5KFIQeKj9xXgfd" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5fFj0bKJZKHaJ1M3mytw3C", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "装备", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 11 + } + ], + "_prefab": { + "__id__": 13 + }, + "_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": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 10 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 70, + "height": 70 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2exstWEg1ND6jNAUpUSuOI" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ec8HmUns5Bj5Ko+p+3J8gi" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "71o2OvG+BKD7JHSYJEIgyp", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "无装备", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 15 + }, + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 19 + }, + "_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": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 14 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "caJXZ5HTxEY4YhCJnuDTEI" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 14 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 143, + "g": 143, + "b": 143, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "971/OGp1dKpI5JCUiFvx/h" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "70zFesnllBLLIBxcMQd/H1", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "60HDOce21EU4mT/teH3tKt" + }, + { + "__type__": "1f9ccaQ6T1L9Z8gV7PmJgB4", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "sprite": { + "__id__": 11 + }, + "quality": { + "__id__": 5 + }, + "notEquip": { + "__id__": 14 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f1s983e4pH04ok2jfdVZwa" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/宠物装备ICON.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/宠物装备ICON.prefab.meta new file mode 100644 index 00000000..61fd7f46 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/icon/宠物装备ICON.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "1e601f1b-ff4a-43e0-b0fe-9513cd3d22d3", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "宠物装备ICON" + } +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/配置表ICON.meta b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/配置表ICON.meta new file mode 100644 index 00000000..0f41143e --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/配置表ICON.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "d215c7a4-f348-4b36-927b-f28212d2f81e", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/配置表ICON/配置表装备ICON.prefab b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/配置表ICON/配置表装备ICON.prefab new file mode 100644 index 00000000..97df9f59 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/配置表ICON/配置表装备ICON.prefab @@ -0,0 +1,405 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "配置表装备ICON", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "配置表装备ICON", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 8 + } + ], + "_active": true, + "_components": [ + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -217, + "y": -50, + "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": "" + }, + { + "__type__": "cc.Node", + "_name": "装备品质框", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_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": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5dXmPodeBIzK9ZudCJ0lyM" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20sb9VIT5KFIQeKj9xXgfd" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5fFj0bKJZKHaJ1M3mytw3C", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "装备", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 11 + } + ], + "_prefab": { + "__id__": 13 + }, + "_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": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 10 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 70, + "height": 70 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2exstWEg1ND6jNAUpUSuOI" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ec8HmUns5Bj5Ko+p+3J8gi" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "71o2OvG+BKD7JHSYJEIgyp", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "60HDOce21EU4mT/teH3tKt" + }, + { + "__type__": "2e44bH/gl5J9LgQ6npyLZ0U", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "sprite": { + "__id__": 11 + }, + "quality": { + "__id__": 5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "44EB+AGx5L2JYyIDyepY5j" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "02c3tqHwFAbp7zhkA22zq9", + "instance": null, + "targetOverrides": null + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/配置表ICON/配置表装备ICON.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/配置表ICON/配置表装备ICON.prefab.meta new file mode 100644 index 00000000..09a84f55 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/常用预制体/宠物装备/配置表ICON/配置表装备ICON.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "910454d9-bf71-4438-b8a4-be60494c4e51", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "配置表装备ICON" + } +} diff --git a/JisolGameCocos/assets/script/App.ts b/JisolGameCocos/assets/script/App.ts index 0d0af841..8a659b31 100644 --- a/JisolGameCocos/assets/script/App.ts +++ b/JisolGameCocos/assets/script/App.ts @@ -32,10 +32,10 @@ import { Component } from "cc"; // let WsPath = `ws://localhost:8080/websocket` // let APIPath = `http://192.168.1.23:8080` // let WsPath = `ws://192.168.1.23:8080/websocket` -let APIPath = `http://192.168.0.119:8080` -let WsPath = `ws://192.168.0.119:8080/websocket` -// let APIPath = `https://api.pet.jisol.cn` -// let WsPath = `wss://api.pet.jisol.cn/websocket` +// let APIPath = `http://192.168.0.119:8080` +// let WsPath = `ws://192.168.0.119:8080/websocket` +let APIPath = `https://api.pet.jisol.cn` +let WsPath = `wss://api.pet.jisol.cn/websocket` //重写UI class JNGLayer extends JNLayer{ diff --git a/JisolGameCocos/assets/script/consts/API.ts b/JisolGameCocos/assets/script/consts/API.ts index 1ce686c3..dfb0dc84 100644 --- a/JisolGameCocos/assets/script/consts/API.ts +++ b/JisolGameCocos/assets/script/consts/API.ts @@ -108,7 +108,7 @@ export interface PetEquip{ equipCfgId:number; //装备配置表Id equipPlayerId:number; //装备的所属玩家Id equipLevel:number; //装备等级 - equipWear:number; //当前装备穿戴的宠物Id + equipPetId:number; //当前装备穿戴的宠物Id equipPosition:number; //装备部位 equipBaseAttributes:GAttribute[]; //基础属性 @@ -160,7 +160,8 @@ export const API = { PetEquipAll: async () => RData(await app.api.get(`/game/equip/all`),false) as PetEquip[], //获取全部装备 PetEquipForging: async () => RData(await app.api.get(`/game/equip/forging`),true) as PetEquip, //锻造装备 PetEquipForgingInfo: async () => RData(await app.api.get(`/game/equip/forging/info`),true) as EquipForgingBench, //锻造台 - PetEquipForgingPetId: async (petId) => RData(await app.api.post(`/game/equip/forging/petId/${petId}`),true) as EquipForgingBench, //设置锻造宠 + PetEquipForgingPetId: async (petId:number) => RData(await app.api.post(`/game/equip/forging/petId/${petId}`),true) as EquipForgingBench, //设置锻造宠 + PetEquipWear: async (petId:number,equipId:number) => RData(await app.api.post(`/game/equip/wear/${petId}/${equipId}`),true) as PetEquip, //穿戴装备 } diff --git a/JisolGameCocos/assets/script/data/PetEquipData.ts b/JisolGameCocos/assets/script/data/PetEquipData.ts index 4e5bf9e0..f6e052e6 100644 --- a/JisolGameCocos/assets/script/data/PetEquipData.ts +++ b/JisolGameCocos/assets/script/data/PetEquipData.ts @@ -1,11 +1,14 @@ import { app } from "../App"; import { API, EquipForgingBench, PetEquip } from "../consts/API"; +import { GUI } from "../ui/UIConfig"; import BaseData from "./BaseData"; import PlayerPetData from "./PlayerPetData"; export enum PetEquipDataEnum{ //更新锻造数据 - UPDATE_FORGING_INFO = "PetEquipDataEnum_UPDATE_FORGING_INFO" + UPDATE_FORGING_INFO = "PetEquipDataEnum_UPDATE_FORGING_INFO", + //更新装备 + UPDATE_EQUIP = "PetEquipDataEnum_UPDATE_EQUIP" } //宠物装备数据类 @@ -39,6 +42,8 @@ export default class PetEquipData extends BaseData{ //添加装备 addEquip(equip:PetEquip):PetEquip{ + if(!equip) return null; + console.log("添加装备",equip) if(this.equips.filter(item => item.equipId == equip.equipId).length) return null; this.equips.push(equip); return equip; @@ -49,5 +54,30 @@ export default class PetEquipData extends BaseData{ this.onUpdateInfo(await API.PetEquipForgingPetId(petId)); } + //穿戴指定装备 + async wear(equip:PetEquip){ + if(this.equips.indexOf(equip) < 0) { + app.layer.Open(GUI.Tips,{text:"装备不存在"}); + return; + } + let info = await API.PetEquipWear(this.info.forgingPetId,equip.equipId); + if(info){ + //脱下之前的装备 + this.equips.forEach(item => { + if(info.equipPetId == item.equipPetId && item.equipPosition == info.equipPosition){ + item.equipPetId = 0; + } + }) + Object.assign(equip,info); + app.event.emit(PetEquipDataEnum.UPDATE_EQUIP); + } + } + + //获取指定宠物指定位置的装备 + getPetEquip(position:number,petId:number = this.info.forgingPetId){ + if(!petId) return null; + return this.equips.filter(equip => (equip.equipPetId == petId && equip.equipPosition == position))[0]; + } + } \ No newline at end of file diff --git a/JisolGameCocos/assets/script/ui/Consts/PetEquip.meta b/JisolGameCocos/assets/script/ui/Consts/PetEquip.meta new file mode 100644 index 00000000..ba750eee --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/PetEquip.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "a0d20e14-a205-48d3-95dd-f71e12fa8c90", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon.meta b/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon.meta new file mode 100644 index 00000000..79a1dcfd --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "c812a98a-a4a0-4532-9e20-0ef06f3e7dfd", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIcon.ts b/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIcon.ts new file mode 100644 index 00000000..5754b642 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIcon.ts @@ -0,0 +1,46 @@ +import { _decorator, Component, Node } from 'cc'; +import { PetEquip } from '../../../../consts/API'; +import { Sprite } from 'cc'; +import TbResource, { IconTypeEnum } from '../../../../tools/TbResource'; +import { TD } from '../../../../App'; +const { ccclass, property } = _decorator; + +@ccclass('PetEquipIcon') +export class PetEquipIcon extends Component { + + @property(Sprite) + sprite:Sprite; + @property(Sprite) + quality:Sprite; + @property(Node) + notEquip:Node; + + info:PetEquip; + + onLoad(){ + this.onUpdateView(); + } + + //刷新页面 + onUpdateView(){ + + this.notEquip.active = true; + if(!this.info) return; + + this.notEquip.active = false; + + let config = TD.TbGRoleEquip.get(this.info.equipCfgId); + TbResource.loadSpriteIcon(IconTypeEnum.宠物装备,config.icon,this.sprite,this); + TbResource.loadSpriteIcon(IconTypeEnum.品质,config.quality,this.quality,this); + + } + + //设置icon + set(info:PetEquip){ + this.info = info; + this.onUpdateView(); + } + +} + + diff --git a/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIcon.ts.meta b/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIcon.ts.meta new file mode 100644 index 00000000..0a626cd2 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIcon.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "1f9cc690-e93d-4bf5-9f20-57b3e6260078", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIconScroll.ts b/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIconScroll.ts new file mode 100644 index 00000000..02a0bbe6 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIconScroll.ts @@ -0,0 +1,18 @@ +import { _decorator, Component, Node } from 'cc'; +import JNScrollViewItem from '../../../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollViewItem'; +import { PetEquipIcon } from './PetEquipIcon'; +import { PetEquip } from '../../../../consts/API'; +const { ccclass, property } = _decorator; + +@ccclass('PetEquipIconScroll') +export class PetEquipIconScroll extends JNScrollViewItem { + + @property(PetEquipIcon) + equip:PetEquipIcon; + + protected start(): void { + this.equip.set(this.data); + } +} + + diff --git a/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIconScroll.ts.meta b/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIconScroll.ts.meta new file mode 100644 index 00000000..e8e8977d --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/PetEquip/icon/PetEquipIconScroll.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "b40b93a6-3413-486c-9c11-999a1ebd13dc", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Consts/PetEquip/table.meta b/JisolGameCocos/assets/script/ui/Consts/PetEquip/table.meta new file mode 100644 index 00000000..73d7cfcc --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/PetEquip/table.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "ea6ccaca-bcbf-429f-ba9d-1de28ad6bef1", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Consts/PetEquip/table/TablePetEquipIcon.ts b/JisolGameCocos/assets/script/ui/Consts/PetEquip/table/TablePetEquipIcon.ts new file mode 100644 index 00000000..169cbeb5 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/PetEquip/table/TablePetEquipIcon.ts @@ -0,0 +1,40 @@ +import { sp } from 'cc'; +import { _decorator, Component, Node } from 'cc'; +import { app } from '../../../../App'; +import { UIPetAnim } from '../../../../consts/GData'; +import { TB } from '../../../../config/data/schema'; +import TbResource, { IconTypeEnum } from '../../../../tools/TbResource'; +import { Sprite } from 'cc'; +const { ccclass, property } = _decorator; + +@ccclass('TablePetEquipIcon') +export class TablePetEquipIcon extends Component { + + @property(Sprite) + sprite:Sprite; + @property(Sprite) + quality:Sprite; + + info:TB.TbGRoleEquip; + + onLoad(){ + this.onUpdateView(); + } + + //刷新页面 + onUpdateView(){ + + TbResource.loadSpriteIcon(IconTypeEnum.宠物装备,this.info.icon,this.sprite,this); + TbResource.loadSpriteIcon(IconTypeEnum.品质,this.info.quality,this.quality,this); + + } + + //设置icon + set(info:TB.TbGRoleEquip){ + this.info = info; + this.onUpdateView(); + } + +} + + diff --git a/JisolGameCocos/assets/script/ui/Consts/PetEquip/table/TablePetEquipIcon.ts.meta b/JisolGameCocos/assets/script/ui/Consts/PetEquip/table/TablePetEquipIcon.ts.meta new file mode 100644 index 00000000..9d5f97da --- /dev/null +++ b/JisolGameCocos/assets/script/ui/Consts/PetEquip/table/TablePetEquipIcon.ts.meta @@ -0,0 +1 @@ +{"ver":"4.0.23","importer":"typescript","imported":true,"uuid":"2e44b1ff-825e-49f4-b810-ea7a722d9d14","files":[],"subMetas":{},"userData":{}} diff --git a/JisolGameCocos/assets/script/ui/Home/ForgingBench/MainForgingBench.ts b/JisolGameCocos/assets/script/ui/Home/ForgingBench/MainForgingBench.ts index affe44d0..4d3e9f40 100644 --- a/JisolGameCocos/assets/script/ui/Home/ForgingBench/MainForgingBench.ts +++ b/JisolGameCocos/assets/script/ui/Home/ForgingBench/MainForgingBench.ts @@ -5,6 +5,7 @@ import { GUI } from '../../UIConfig'; import { API, PlayerPetOV } from '../../../consts/API'; import { PetIconSelectShow } from '../../Consts/Pet/PetIconSelectShow'; import PlayerPetData from '../../../data/PlayerPetData'; +import { PetEquipIcon } from '../../Consts/PetEquip/icon/PetEquipIcon'; const { ccclass, property } = _decorator; @@ -16,25 +17,41 @@ export class MainForgingBench extends Component { @property(PetIconSelectShow) petView:PetIconSelectShow; + //装备列表 + @property(Node) + equips:Node; + onLoad(){ - this.onUpdateView(); //监听锻造数据 app.event.on(PetEquipDataEnum.UPDATE_FORGING_INFO,this.onUpdateForging,this); + app.event.on(PetEquipDataEnum.UPDATE_EQUIP,this.onUpdateEquip,this); + + this.onUpdateView(); } protected onDestroy(): void { app.event.off(PetEquipDataEnum.UPDATE_FORGING_INFO,this.onUpdateForging,this); + app.event.off(PetEquipDataEnum.UPDATE_EQUIP,this.onUpdateEquip,this); } onUpdateView(){ this.onUpdateForging(); + this.onUpdateEquip(); + } + + //刷新装备 + onUpdateEquip(){ + this.equips.getComponentsInChildren(PetEquipIcon).forEach((equip,index) => { + equip.set(PetEquipData.getIns().getPetEquip(index + 1)); + }) } //刷新锻造数据 onUpdateForging(){ + console.log("刷新锻造数据",PlayerPetData.getIns().petIdQueryPetInfo(PetEquipData.getIns().info.forgingPetId)); this.petView.set(PlayerPetData.getIns().petIdQueryPetInfo(PetEquipData.getIns().info.forgingPetId)); } diff --git a/JisolGameCocos/assets/script/ui/Home/MainView.ts b/JisolGameCocos/assets/script/ui/Home/MainView.ts index f011c8eb..c3b1c6c4 100644 --- a/JisolGameCocos/assets/script/ui/Home/MainView.ts +++ b/JisolGameCocos/assets/script/ui/Home/MainView.ts @@ -110,6 +110,11 @@ export class MainView extends JNGLayerBase { app.layer.Open(GUI.Debugger); } + //打开宠物装备 + onClickPetEquip(){ + app.layer.Open(GUI.PetEquipView); + } + //点击下一关 async onClickNextLevel(){ GOnHookManager.getIns().onNextLevel(); diff --git a/JisolGameCocos/assets/script/ui/PetEquip/PetEquipForgingPopupView.ts b/JisolGameCocos/assets/script/ui/PetEquip/PetEquipForgingPopupView.ts index 5126b558..159309dd 100644 --- a/JisolGameCocos/assets/script/ui/PetEquip/PetEquipForgingPopupView.ts +++ b/JisolGameCocos/assets/script/ui/PetEquip/PetEquipForgingPopupView.ts @@ -6,7 +6,9 @@ import { resources } from 'cc'; import { SpriteFrame } from 'cc'; import TbResource, { IconTypeEnum } from '../../tools/TbResource'; import { TB } from '../../config/data/schema'; -import { TD } from '../../App'; +import { app, TD } from '../../App'; +import { TablePetEquipIcon } from '../Consts/PetEquip/table/TablePetEquipIcon'; +import PetEquipData from '../../data/PetEquipData'; const { ccclass, property } = _decorator; //弹出锻造装备页面 @@ -14,18 +16,31 @@ const { ccclass, property } = _decorator; export class PetEquipForgingPopupView extends JNLayerBase { //装备展示 - @property(Sprite) - icon:Sprite; + @property(TablePetEquipIcon) + icon:TablePetEquipIcon; + + info:PetEquip; onJNLoad(info:PetEquip){ super.onJNLoad(info); - let config = TD.TbGRoleEquip.get(info.equipCfgId); - TbResource.loadSpriteIcon(IconTypeEnum.宠物装备,config.icon,this.icon,this); + this.info = info; + this.onUpdateView(); } + onUpdateView(){ + let config = TD.TbGRoleEquip.get(this.info.equipCfgId); + this.icon.set(config); + } + + //点击穿戴装备 + async onClickWear(){ + await PetEquipData.getIns().wear(this.info); + app.layer.CloseNode(this.node); + } + } diff --git a/JisolGameCocos/assets/script/ui/PetEquip/PetEquipView.ts b/JisolGameCocos/assets/script/ui/PetEquip/PetEquipView.ts new file mode 100644 index 00000000..8ff7de11 --- /dev/null +++ b/JisolGameCocos/assets/script/ui/PetEquip/PetEquipView.ts @@ -0,0 +1,32 @@ +import { _decorator, Component, Node } from 'cc'; +import JNLayerBase from '../../../../extensions/ngame/assets/ngame/ui/base/JNLayerBase'; +import JNScrollView from '../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollView'; +import PetEquipData from '../../data/PetEquipData'; +const { ccclass, property } = _decorator; + +@ccclass('PetEquipView') +export class PetEquipView extends JNLayerBase { + + //装备列表 + @property(JNScrollView) + list:JNScrollView + + onJNLoad(data?: any): void { + super.onJNLoad(data); + } + + onJNLoadAnimEnd(): void { + console.log("onJNLoadAnimEnd"); + super.onJNLoadAnimEnd(); + this.onUpdateView(); + } + + onUpdateView(){ + + this.list.refreshData(PetEquipData.getIns().equips); + + } + +} + + diff --git a/JisolGameCocos/assets/script/ui/PetEquip/PetEquipView.ts.meta b/JisolGameCocos/assets/script/ui/PetEquip/PetEquipView.ts.meta new file mode 100644 index 00000000..8b98b6dc --- /dev/null +++ b/JisolGameCocos/assets/script/ui/PetEquip/PetEquipView.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "810896a7-3d3c-4343-98a3-62a3ab77b732", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/UIConfig.ts b/JisolGameCocos/assets/script/ui/UIConfig.ts index 0ab33c8a..fdf0d75a 100644 --- a/JisolGameCocos/assets/script/ui/UIConfig.ts +++ b/JisolGameCocos/assets/script/ui/UIConfig.ts @@ -30,6 +30,7 @@ export enum GUI{ PetUpStarView = "PetUpStarView", //宠物升星页面 PetRadioView = "PetRadioView", //宠物单选页面 PetEquipForgingPopupView = "PetEquipForgingPopupView", //弹出锻造宠物装备页面 + PetEquipView = "PetEquipView", //宠物装备页面 /**游戏模式页面 */ @@ -128,6 +129,11 @@ const UIPetConfig:{ [key: string]: JNLayerInfo; } = { uri: "prefab/ui/宠物装备/弹出锻造装备页面", anims:BackOutScale, }, + [GUI.PetEquipView]:{ + layer:GLayer.Popup, + uri: "prefab/ui/宠物装备/宠物装备背包页面", + anims:BackOutScale, + }, } diff --git a/JisolGameCocos/extensions/ngame b/JisolGameCocos/extensions/ngame index f465147a..8ff29172 160000 --- a/JisolGameCocos/extensions/ngame +++ b/JisolGameCocos/extensions/ngame @@ -1 +1 @@ -Subproject commit f465147ad5b28e48896676e75d7ee8e6db7749e7 +Subproject commit 8ff291724bd1cfb730fd326919ebfb44fed48237 diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/GPlayerEquipController.java b/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/GPlayerEquipController.java index 4bbd495b..1e47b412 100644 --- a/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/GPlayerEquipController.java +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/controller/game/GPlayerEquipController.java @@ -13,6 +13,7 @@ import cn.jisol.game.entity.data.GAttribute; import cn.jisol.game.entity.table.*; import cn.jisol.game.service.EquipForgingBenchService; import cn.jisol.game.service.PetEquipService; +import cn.jisol.game.service.PlayerPetService; import cn.jisol.game.service.ResourceService; import cn.jisol.game.util.GRandomUtil; import cn.jisol.ngame.util.NewsContext; @@ -39,6 +40,8 @@ import java.util.stream.Collectors; @ResponseBody public class GPlayerEquipController { + @Autowired + PlayerPetService playerPetService; @Autowired PetEquipService petEquipService; @Autowired @@ -171,32 +174,31 @@ public class GPlayerEquipController { //获取装备信息 PetEquip info = petEquipService.getById(equipId); + //获取宠物信息 + PlayerPet pet = playerPetService.getById(petId); + if(Objects.isNull(info)) NewsContext.onFail("背包里没有这个装备"); if(!Objects.equals(info.getEquipPlayerId(), player.getPlayerId())) NewsContext.onFail("这个装备不是你的"); + if(Objects.isNull(pet)) NewsContext.onFail("没有找到这个宠物"); + if(!Objects.equals(pet.getPetPlayerId(), player.getPlayerId())) NewsContext.onFail("这个宠物不是你的"); //脱掉之前的部位装备 - petEquipService.update(Wrappers.lambdaQuery(PetEquip.class) - .eq(PetEquip::getEquipPlayerId,player.getPlayerId()) - .eq(PetEquip::getEquipPetId,petId) - .eq(PetEquip::getEquipPosition,info.getEquipPosition()) + PetEquip before = new PetEquip(); + before.setEquipPlayerId(0L); + petEquipService.update( + before, + Wrappers.lambdaQuery(PetEquip.class) + .eq(PetEquip::getEquipPlayerId,player.getPlayerId()) + .eq(PetEquip::getEquipPetId,petId) + .eq(PetEquip::getEquipPosition,info.getEquipPosition()) ); -// PetEquip before = new PetEquip(); - -// //脱掉之前的部位装备 -// PetEquip info = new PetEquip(); -// info.setEquipPlayerId(player.getPlayerId()); -// info.setEquipPetId(petId); -// -// if(Objects.isNull(info)){ -// return NewsContext.onFail("没有找到锻造台"); -// } -// -// Equip equip1 = equipService.getById(equip); -// -// if(Objects.isNull(equip1)) - return NewsContext.onSuccess(""); + //穿上 + info.setEquipPetId(pet.getPetId()); + petEquipService.saveOrUpdate(info); + //保存 + return NewsContext.onSuccess("穿戴成功",info); } diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/entity/table/PetEquip.java b/JisolGameServer/Main/src/main/java/cn/jisol/game/entity/table/PetEquip.java index 86fa9b4c..cbc07504 100644 --- a/JisolGameServer/Main/src/main/java/cn/jisol/game/entity/table/PetEquip.java +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/entity/table/PetEquip.java @@ -22,7 +22,7 @@ public class PetEquip { private Integer equipCfgId; //装备配置表Id private Long equipPlayerId; //装备的所属玩家Id private Integer equipLevel; //装备等级 - private Integer equipPetId; //当前装备穿戴的宠物Id + private Long equipPetId; //当前装备穿戴的宠物Id private Integer equipPosition; //装备部位 @TableField(typeHandler = FastjsonTypeHandler.class) diff --git a/JisolGameServer/Main/src/main/resources/application.yml b/JisolGameServer/Main/src/main/resources/application.yml index c9a856f9..26fc9772 100644 --- a/JisolGameServer/Main/src/main/resources/application.yml +++ b/JisolGameServer/Main/src/main/resources/application.yml @@ -4,8 +4,8 @@ spring: datasource: username: pet_jisol_cn password: sThsBwjfDcaw2wJR - url: jdbc:mysql://kyu.jisol.cn:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true -# url: jdbc:mysql://localhost:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true +# url: jdbc:mysql://kyu.jisol.cn:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true + url: jdbc:mysql://localhost:3306/pet_jisol_cn?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&allowMultiQueries=true driver-class-name: com.mysql.cj.jdbc.Driver jackson: serialization: