From 11e2bde91562ca284c6a8a8ca22c728e51ad6c2e Mon Sep 17 00:00:00 2001 From: "guoqing.zhu" <1521292690@qq.com> Date: Mon, 13 Jun 2022 20:27:21 +0800 Subject: [PATCH] update --- assets/LoginScene.fire | 4 +- .../prefabs/UIPrefab/UI_UpdateHero.prefab | 712 +++++++++++++----- assets/scripts/UI/Academy/Academy_block.ts | 75 +- .../scripts/UI/Academy/ChooseHeroUpQuality.ts | 14 +- assets/scripts/UI/Academy/ChooseHeroUpdate.ts | 13 +- assets/scripts/UI/Academy/UIUpdateHero.ts | 100 ++- assets/scripts/UI/Academy/updatechoose.ts | 4 + assets/scripts/manages/NetManage.js | 33 + settings/services.json | 63 +- 9 files changed, 768 insertions(+), 250 deletions(-) diff --git a/assets/LoginScene.fire b/assets/LoginScene.fire index af0d1c4d..472c384e 100644 --- a/assets/LoginScene.fire +++ b/assets/LoginScene.fire @@ -47,8 +47,8 @@ }, "_scale": { "__type__": "cc.Vec3", - "x": 0.982421875, - "y": 0.982421875, + "x": 0.8318611174186546, + "y": 0.8318611174186546, "z": 1 }, "_quat": { diff --git a/assets/resources/prefabs/UIPrefab/UI_UpdateHero.prefab b/assets/resources/prefabs/UIPrefab/UI_UpdateHero.prefab index 32eae4cd..01c57d31 100644 --- a/assets/resources/prefabs/UIPrefab/UI_UpdateHero.prefab +++ b/assets/resources/prefabs/UIPrefab/UI_UpdateHero.prefab @@ -36,14 +36,14 @@ "_level": 1, "_components": [ { - "__id__": 222 + "__id__": 230 }, { - "__id__": 223 + "__id__": 231 } ], "_prefab": { - "__id__": 224 + "__id__": 232 }, "_opacity": 255, "_color": { @@ -3182,14 +3182,14 @@ "__id__": 91 }, { - "__id__": 156 + "__id__": 160 } ], "_active": true, "_level": 2, "_components": [], "_prefab": { - "__id__": 221 + "__id__": 229 }, "_opacity": 255, "_color": { @@ -3251,7 +3251,7 @@ "_level": 3, "_components": [], "_prefab": { - "__id__": 155 + "__id__": 159 }, "_opacity": 255, "_color": { @@ -3320,7 +3320,7 @@ } ], "_prefab": { - "__id__": 154 + "__id__": 158 }, "_opacity": 255, "_color": { @@ -3385,14 +3385,14 @@ "__id__": 97 }, { - "__id__": 151 + "__id__": 155 }, { - "__id__": 152 + "__id__": 156 } ], "_prefab": { - "__id__": 153 + "__id__": 157 }, "_opacity": 255, "_color": { @@ -3603,18 +3603,18 @@ "__id__": 103 }, { - "__id__": 126 + "__id__": 128 } ], "_active": true, "_level": 0, "_components": [ { - "__id__": 149 + "__id__": 153 } ], "_prefab": { - "__id__": 150 + "__id__": 154 }, "_opacity": 255, "_color": { @@ -3774,11 +3774,11 @@ "_level": 1, "_components": [ { - "__id__": 124 + "__id__": 126 } ], "_prefab": { - "__id__": 125 + "__id__": 127 }, "_opacity": 255, "_color": { @@ -4137,11 +4137,11 @@ "_level": 2, "_components": [ { - "__id__": 122 + "__id__": 124 } ], "_prefab": { - "__id__": 123 + "__id__": 125 }, "_opacity": 255, "_color": { @@ -4400,10 +4400,13 @@ "_components": [ { "__id__": 120 + }, + { + "__id__": 121 } ], "_prefab": { - "__id__": 121 + "__id__": 123 }, "_opacity": 255, "_color": { @@ -4480,6 +4483,86 @@ "_tileoffy": 0, "_id": "" }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 119 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 122 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 0, + "transition": 0, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": null, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 103 + }, + "component": "", + "_componentId": "755294NF7pPLqOkUhWi8Q+o", + "handler": "onRecive", + "customEventData": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -4592,24 +4675,24 @@ }, "_children": [ { - "__id__": 127 + "__id__": 129 }, { - "__id__": 130 + "__id__": 132 }, { - "__id__": 135 + "__id__": 137 } ], "_active": true, "_level": 1, "_components": [ { - "__id__": 147 + "__id__": 151 } ], "_prefab": { - "__id__": 148 + "__id__": 152 }, "_opacity": 255, "_color": { @@ -4660,18 +4743,18 @@ "_name": "acad_3", "_objFlags": 0, "_parent": { - "__id__": 126 + "__id__": 128 }, "_children": [], "_active": true, "_level": 2, "_components": [ { - "__id__": 128 + "__id__": 130 } ], "_prefab": { - "__id__": 129 + "__id__": 131 }, "_opacity": 255, "_color": { @@ -4722,7 +4805,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 127 + "__id__": 129 }, "_enabled": true, "_srcBlendFactor": 770, @@ -4764,21 +4847,21 @@ "_name": "sign", "_objFlags": 0, "_parent": { - "__id__": 126 + "__id__": 128 }, "_children": [], "_active": true, "_level": 2, "_components": [ { - "__id__": 131 + "__id__": 133 }, { - "__id__": 132 + "__id__": 134 } ], "_prefab": { - "__id__": 134 + "__id__": 136 }, "_opacity": 255, "_color": { @@ -4829,7 +4912,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 130 + "__id__": 132 }, "_enabled": true, "_srcBlendFactor": 770, @@ -4860,14 +4943,14 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 130 + "__id__": 132 }, "_enabled": true, "duration": 0.1, "zoomScale": 1.2, "clickEvents": [ { - "__id__": 133 + "__id__": 135 } ], "_N$interactable": true, @@ -4928,7 +5011,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 126 + "__id__": 128 }, "component": "", "_componentId": "755294NF7pPLqOkUhWi8Q+o", @@ -4951,28 +5034,28 @@ "_name": "downinfo", "_objFlags": 0, "_parent": { - "__id__": 126 + "__id__": 128 }, "_children": [ { - "__id__": 136 + "__id__": 138 }, { - "__id__": 139 + "__id__": 141 }, { - "__id__": 142 + "__id__": 144 } ], "_active": true, "_level": 2, "_components": [ { - "__id__": 145 + "__id__": 149 } ], "_prefab": { - "__id__": 146 + "__id__": 150 }, "_opacity": 255, "_color": { @@ -5023,18 +5106,18 @@ "_name": "tip", "_objFlags": 0, "_parent": { - "__id__": 135 + "__id__": 137 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 137 + "__id__": 139 } ], "_prefab": { - "__id__": 138 + "__id__": 140 }, "_opacity": 255, "_color": { @@ -5085,7 +5168,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 136 + "__id__": 138 }, "_enabled": true, "_useOriginalSize": false, @@ -5123,18 +5206,18 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 135 + "__id__": 137 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 140 + "__id__": 142 } ], "_prefab": { - "__id__": 141 + "__id__": 143 }, "_opacity": 255, "_color": { @@ -5185,7 +5268,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 139 + "__id__": 141 }, "_enabled": true, "_useOriginalSize": false, @@ -5223,18 +5306,21 @@ "_name": "ok", "_objFlags": 0, "_parent": { - "__id__": 135 + "__id__": 137 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 143 + "__id__": 145 + }, + { + "__id__": 146 } ], "_prefab": { - "__id__": 144 + "__id__": 148 }, "_opacity": 255, "_color": { @@ -5285,7 +5371,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 142 + "__id__": 144 }, "_enabled": true, "_srcBlendFactor": 770, @@ -5311,6 +5397,86 @@ "_tileoffy": 0, "_id": "" }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 144 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 147 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 0, + "transition": 0, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": null, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 128 + }, + "component": "", + "_componentId": "755294NF7pPLqOkUhWi8Q+o", + "handler": "onRecive", + "customEventData": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -5327,7 +5493,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 135 + "__id__": 137 }, "_enabled": true, "_layoutSize": { @@ -5371,23 +5537,23 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 126 + "__id__": 128 }, "_enabled": true, "bg": { - "__id__": 127 + "__id__": 129 }, "addsign": { - "__id__": 130 + "__id__": 132 }, "title": { - "__id__": 137 + "__id__": 139 }, "timeLabel": { - "__id__": 140 + "__id__": 142 }, "okTag": { - "__id__": 142 + "__id__": 144 }, "allbgs": [ { @@ -5558,14 +5724,14 @@ }, "_children": [ { - "__id__": 157 + "__id__": 161 } ], "_active": false, "_level": 3, "_components": [], "_prefab": { - "__id__": 220 + "__id__": 228 }, "_opacity": 255, "_color": { @@ -5616,25 +5782,25 @@ "_name": "New ScrollView", "_objFlags": 0, "_parent": { - "__id__": 156 + "__id__": 160 }, "_children": [ { - "__id__": 158 + "__id__": 162 }, { - "__id__": 165 + "__id__": 169 } ], "_active": true, "_level": 4, "_components": [ { - "__id__": 163 + "__id__": 167 } ], "_prefab": { - "__id__": 219 + "__id__": 227 }, "_opacity": 255, "_color": { @@ -5685,28 +5851,28 @@ "_name": "scrollBar", "_objFlags": 0, "_parent": { - "__id__": 157 + "__id__": 161 }, "_children": [ { - "__id__": 159 + "__id__": 163 } ], "_active": false, "_level": 0, "_components": [ { - "__id__": 162 + "__id__": 166 }, { - "__id__": 216 + "__id__": 224 }, { - "__id__": 217 + "__id__": 225 } ], "_prefab": { - "__id__": 218 + "__id__": 226 }, "_opacity": 255, "_color": { @@ -5757,18 +5923,18 @@ "_name": "bar", "_objFlags": 0, "_parent": { - "__id__": 158 + "__id__": 162 }, "_children": [], "_active": true, "_level": 0, "_components": [ { - "__id__": 160 + "__id__": 164 } ], "_prefab": { - "__id__": 161 + "__id__": 165 }, "_opacity": 255, "_color": { @@ -5819,7 +5985,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 159 + "__id__": 163 }, "_enabled": true, "_srcBlendFactor": 770, @@ -5861,18 +6027,18 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 158 + "__id__": 162 }, "_enabled": true, "_scrollView": { - "__id__": 163 + "__id__": 167 }, "_touching": false, "_opacity": 255, "enableAutoHide": true, "autoHideTime": 1, "_N$handle": { - "__id__": 160 + "__id__": 164 }, "_N$direction": 1, "_id": "" @@ -5882,7 +6048,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 157 + "__id__": 161 }, "_enabled": true, "horizontal": true, @@ -5894,14 +6060,14 @@ "scrollEvents": [], "cancelInnerEvents": true, "_N$content": { - "__id__": 164 + "__id__": 168 }, "content": { - "__id__": 164 + "__id__": 168 }, "_N$horizontalScrollBar": null, "_N$verticalScrollBar": { - "__id__": 162 + "__id__": 166 }, "_id": "" }, @@ -5910,25 +6076,25 @@ "_name": "content", "_objFlags": 0, "_parent": { - "__id__": 165 + "__id__": 169 }, "_children": [ { - "__id__": 168 + "__id__": 172 }, { - "__id__": 191 + "__id__": 197 } ], "_active": true, "_level": 0, "_components": [ { - "__id__": 214 + "__id__": 222 } ], "_prefab": { - "__id__": 215 + "__id__": 223 }, "_opacity": 255, "_color": { @@ -5979,22 +6145,22 @@ "_name": "view", "_objFlags": 0, "_parent": { - "__id__": 157 + "__id__": 161 }, "_children": [ { - "__id__": 164 + "__id__": 168 } ], "_active": true, "_level": 0, "_components": [ { - "__id__": 166 + "__id__": 170 } ], "_prefab": { - "__id__": 167 + "__id__": 171 }, "_opacity": 255, "_color": { @@ -6045,7 +6211,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 165 + "__id__": 169 }, "_enabled": true, "_spriteFrame": null, @@ -6071,28 +6237,28 @@ "_name": "upgradeBlock", "_objFlags": 0, "_parent": { - "__id__": 164 + "__id__": 168 }, "_children": [ { - "__id__": 169 + "__id__": 173 }, { - "__id__": 172 + "__id__": 176 }, { - "__id__": 177 + "__id__": 181 } ], "_active": true, "_level": 1, "_components": [ { - "__id__": 189 + "__id__": 195 } ], "_prefab": { - "__id__": 190 + "__id__": 196 }, "_opacity": 255, "_color": { @@ -6143,18 +6309,18 @@ "_name": "acad_3", "_objFlags": 0, "_parent": { - "__id__": 168 + "__id__": 172 }, "_children": [], "_active": true, "_level": 2, "_components": [ { - "__id__": 170 + "__id__": 174 } ], "_prefab": { - "__id__": 171 + "__id__": 175 }, "_opacity": 255, "_color": { @@ -6205,7 +6371,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 169 + "__id__": 173 }, "_enabled": true, "_srcBlendFactor": 770, @@ -6247,21 +6413,21 @@ "_name": "sign", "_objFlags": 0, "_parent": { - "__id__": 168 + "__id__": 172 }, "_children": [], "_active": true, "_level": 2, "_components": [ { - "__id__": 173 + "__id__": 177 }, { - "__id__": 174 + "__id__": 178 } ], "_prefab": { - "__id__": 176 + "__id__": 180 }, "_opacity": 255, "_color": { @@ -6312,7 +6478,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 172 + "__id__": 176 }, "_enabled": true, "_srcBlendFactor": 770, @@ -6343,14 +6509,14 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 172 + "__id__": 176 }, "_enabled": true, "duration": 0.1, "zoomScale": 1.2, "clickEvents": [ { - "__id__": 175 + "__id__": 179 } ], "_N$interactable": true, @@ -6411,7 +6577,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 168 + "__id__": 172 }, "component": "", "_componentId": "755294NF7pPLqOkUhWi8Q+o", @@ -6434,28 +6600,28 @@ "_name": "downinfo", "_objFlags": 0, "_parent": { - "__id__": 168 + "__id__": 172 }, "_children": [ { - "__id__": 178 + "__id__": 182 }, { - "__id__": 181 + "__id__": 185 }, { - "__id__": 184 + "__id__": 188 } ], "_active": true, "_level": 2, "_components": [ { - "__id__": 187 + "__id__": 193 } ], "_prefab": { - "__id__": 188 + "__id__": 194 }, "_opacity": 255, "_color": { @@ -6506,18 +6672,18 @@ "_name": "tip", "_objFlags": 0, "_parent": { - "__id__": 177 + "__id__": 181 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 179 + "__id__": 183 } ], "_prefab": { - "__id__": 180 + "__id__": 184 }, "_opacity": 255, "_color": { @@ -6568,7 +6734,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 178 + "__id__": 182 }, "_enabled": true, "_useOriginalSize": false, @@ -6606,18 +6772,18 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 177 + "__id__": 181 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 182 + "__id__": 186 } ], "_prefab": { - "__id__": 183 + "__id__": 187 }, "_opacity": 255, "_color": { @@ -6668,7 +6834,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 181 + "__id__": 185 }, "_enabled": true, "_useOriginalSize": false, @@ -6706,18 +6872,21 @@ "_name": "ok", "_objFlags": 0, "_parent": { - "__id__": 177 + "__id__": 181 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 185 + "__id__": 189 + }, + { + "__id__": 190 } ], "_prefab": { - "__id__": 186 + "__id__": 192 }, "_opacity": 255, "_color": { @@ -6768,7 +6937,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 184 + "__id__": 188 }, "_enabled": true, "_srcBlendFactor": 770, @@ -6794,6 +6963,86 @@ "_tileoffy": 0, "_id": "" }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 188 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 191 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 0, + "transition": 0, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": null, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 172 + }, + "component": "", + "_componentId": "755294NF7pPLqOkUhWi8Q+o", + "handler": "onRecive", + "customEventData": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -6810,7 +7059,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 177 + "__id__": 181 }, "_enabled": true, "_layoutSize": { @@ -6854,23 +7103,23 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 168 + "__id__": 172 }, "_enabled": true, "bg": { - "__id__": 169 + "__id__": 173 }, "addsign": { - "__id__": 172 + "__id__": 176 }, "title": { - "__id__": 179 + "__id__": 183 }, "timeLabel": { - "__id__": 182 + "__id__": 186 }, "okTag": { - "__id__": 184 + "__id__": 188 }, "allbgs": [ { @@ -6902,28 +7151,28 @@ "_name": "upgradeBlock copy", "_objFlags": 0, "_parent": { - "__id__": 164 + "__id__": 168 }, "_children": [ { - "__id__": 192 + "__id__": 198 }, { - "__id__": 195 + "__id__": 201 }, { - "__id__": 200 + "__id__": 206 } ], "_active": true, "_level": 1, "_components": [ { - "__id__": 212 + "__id__": 220 } ], "_prefab": { - "__id__": 213 + "__id__": 221 }, "_opacity": 255, "_color": { @@ -6974,18 +7223,18 @@ "_name": "acad_3", "_objFlags": 0, "_parent": { - "__id__": 191 + "__id__": 197 }, "_children": [], "_active": true, "_level": 2, "_components": [ { - "__id__": 193 + "__id__": 199 } ], "_prefab": { - "__id__": 194 + "__id__": 200 }, "_opacity": 255, "_color": { @@ -7036,7 +7285,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 192 + "__id__": 198 }, "_enabled": true, "_srcBlendFactor": 770, @@ -7078,21 +7327,21 @@ "_name": "sign", "_objFlags": 0, "_parent": { - "__id__": 191 + "__id__": 197 }, "_children": [], "_active": true, "_level": 2, "_components": [ { - "__id__": 196 + "__id__": 202 }, { - "__id__": 197 + "__id__": 203 } ], "_prefab": { - "__id__": 199 + "__id__": 205 }, "_opacity": 255, "_color": { @@ -7143,7 +7392,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 195 + "__id__": 201 }, "_enabled": true, "_srcBlendFactor": 770, @@ -7174,14 +7423,14 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 195 + "__id__": 201 }, "_enabled": true, "duration": 0.1, "zoomScale": 1.2, "clickEvents": [ { - "__id__": 198 + "__id__": 204 } ], "_N$interactable": true, @@ -7242,7 +7491,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 191 + "__id__": 197 }, "component": "", "_componentId": "755294NF7pPLqOkUhWi8Q+o", @@ -7265,28 +7514,28 @@ "_name": "downinfo", "_objFlags": 0, "_parent": { - "__id__": 191 + "__id__": 197 }, "_children": [ - { - "__id__": 201 - }, - { - "__id__": 204 - }, { "__id__": 207 + }, + { + "__id__": 210 + }, + { + "__id__": 213 } ], "_active": true, "_level": 2, "_components": [ { - "__id__": 210 + "__id__": 218 } ], "_prefab": { - "__id__": 211 + "__id__": 219 }, "_opacity": 255, "_color": { @@ -7337,18 +7586,18 @@ "_name": "tip", "_objFlags": 0, "_parent": { - "__id__": 200 + "__id__": 206 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 202 + "__id__": 208 } ], "_prefab": { - "__id__": 203 + "__id__": 209 }, "_opacity": 255, "_color": { @@ -7399,7 +7648,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 201 + "__id__": 207 }, "_enabled": true, "_useOriginalSize": false, @@ -7437,18 +7686,18 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 200 + "__id__": 206 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 205 + "__id__": 211 } ], "_prefab": { - "__id__": 206 + "__id__": 212 }, "_opacity": 255, "_color": { @@ -7499,7 +7748,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 204 + "__id__": 210 }, "_enabled": true, "_useOriginalSize": false, @@ -7537,18 +7786,21 @@ "_name": "ok", "_objFlags": 0, "_parent": { - "__id__": 200 + "__id__": 206 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 208 + "__id__": 214 + }, + { + "__id__": 215 } ], "_prefab": { - "__id__": 209 + "__id__": 217 }, "_opacity": 255, "_color": { @@ -7599,7 +7851,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 207 + "__id__": 213 }, "_enabled": true, "_srcBlendFactor": 770, @@ -7625,6 +7877,86 @@ "_tileoffy": 0, "_id": "" }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 213 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 216 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 0, + "transition": 0, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_N$normalSprite": null, + "_N$pressedSprite": null, + "pressedSprite": null, + "_N$hoverSprite": null, + "hoverSprite": null, + "_N$disabledSprite": null, + "_N$target": null, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 197 + }, + "component": "", + "_componentId": "755294NF7pPLqOkUhWi8Q+o", + "handler": "onRecive", + "customEventData": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -7641,7 +7973,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 200 + "__id__": 206 }, "_enabled": true, "_layoutSize": { @@ -7685,23 +8017,23 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 191 + "__id__": 197 }, "_enabled": true, "bg": { - "__id__": 192 + "__id__": 198 }, "addsign": { - "__id__": 195 + "__id__": 201 }, "title": { - "__id__": 202 + "__id__": 208 }, "timeLabel": { - "__id__": 205 + "__id__": 211 }, "okTag": { - "__id__": 207 + "__id__": 213 }, "allbgs": [ { @@ -7733,7 +8065,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 164 + "__id__": 168 }, "_enabled": true, "_layoutSize": { @@ -7777,7 +8109,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 158 + "__id__": 162 }, "_enabled": true, "alignMode": 0, @@ -7804,7 +8136,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 158 + "__id__": 162 }, "_enabled": true, "_srcBlendFactor": 770, @@ -7913,7 +8245,13 @@ "__id__": 91 }, "advanceNode": { - "__id__": 156 + "__id__": 160 + }, + "upLevelNodes": { + "__id__": 99 + }, + "upGradeNodes": { + "__id__": 168 }, "leftBtn": { "__id__": 58 diff --git a/assets/scripts/UI/Academy/Academy_block.ts b/assets/scripts/UI/Academy/Academy_block.ts index d34618dc..02eed8f9 100644 --- a/assets/scripts/UI/Academy/Academy_block.ts +++ b/assets/scripts/UI/Academy/Academy_block.ts @@ -1,6 +1,8 @@ +const NetManage = require('../../manages/NetManage'); import { uimanger } from '../UIManger'; import { ChooseHeroUpdate } from './ChooseHeroUpdate'; import { ChooseHeroUpQuality } from './ChooseHeroUpQuality'; +import { UIUpdateHero } from './UIUpdateHero'; const { ccclass, property } = cc._decorator; @@ -28,18 +30,30 @@ export default class Academy_block extends cc.Component { @property({ type: cc.Enum(BoxType) }) boxtype: BoxType = BoxType.UpLevel; public status = TRAINBLOCKSTATUS.FREE; + private currentData: any; + private leftTime = 0; - protected onLoad(): void { + onLoad() { + this.setStatus(this.status); + } + + init(data) { + this.currentData = data; + if (data == null) { + this.status = TRAINBLOCKSTATUS.FREE; + } else { + if (data.countdown == 0) { + this.status = TRAINBLOCKSTATUS.COMPLETE; + } else { + this.status = TRAINBLOCKSTATUS.TRAINING; + } + this.leftTime = this.currentData.countdown; + } this.setStatus(this.status); } setStatus(status: TRAINBLOCKSTATUS) { switch (status) { - // case TRAINBLOCKSTATUS.LOCKED: - // this.bg.getComponent(cc.Sprite).spriteFrame = this.allbgs[0]; - // this.okTag.active = false; - // this.title.string = 'ADD NEW TRAINING ROOM'; - // break; case TRAINBLOCKSTATUS.FREE: this.bg.getComponent(cc.Sprite).spriteFrame = this.allbgs[0]; this.addsign.active = true; @@ -52,6 +66,15 @@ export default class Academy_block extends cc.Component { this.addsign.active = false; this.title.string = 'TRAINING'; this.timeLabel.node.active = true; + this.schedule(function () { + if (this.leftTime >= 1) { + this.timeLabel.string = this.formatSeconds( + this.leftTime + ); + this.leftTime -= 1; + } + }, 1); + this.okTag.active = false; break; case TRAINBLOCKSTATUS.COMPLETE: @@ -64,6 +87,28 @@ export default class Academy_block extends cc.Component { } } + formatSeconds(value) { + let result = parseInt(value); + let h = + Math.floor(result / 3600) < 10 + ? '0' + Math.floor(result / 3600) + : Math.floor(result / 3600); + let m = + Math.floor((result / 60) % 60) < 10 + ? '0' + Math.floor((result / 60) % 60) + : Math.floor((result / 60) % 60); + let s = + Math.floor(result % 60) < 10 + ? '0' + Math.floor(result % 60) + : Math.floor(result % 60); + + let res = ''; + res += `${h}:`; + res += `${m}:`; + res += `${s}`; + return res; + } + onClick(event, param) { var data = { boxIndex: param, @@ -82,4 +127,22 @@ export default class Academy_block extends cc.Component { break; } } + + onRecive() { + var type = 0; + if (this.boxtype == BoxType.UpLevel) { + type = 1; + } else { + type = 2; + } + + NetManage.reciveUpReward(type, this.currentData.info.hero_uniid, () => { + cc.uiHelper.showTips('get reward success'); + var node = cc + .find('Canvas') + .getComponentInChildren(UIUpdateHero).node; + node.emit('refreshUI'); + // cc.Notifier.emit('refreshUI'); + }); + } } diff --git a/assets/scripts/UI/Academy/ChooseHeroUpQuality.ts b/assets/scripts/UI/Academy/ChooseHeroUpQuality.ts index 3f3e7e1f..8adf3933 100644 --- a/assets/scripts/UI/Academy/ChooseHeroUpQuality.ts +++ b/assets/scripts/UI/Academy/ChooseHeroUpQuality.ts @@ -1,6 +1,7 @@ const NetManage = require('../../manages/NetManage'); import { UIBase } from '../UIBase'; import { uimanger } from '../UIManger'; +import { UIUpdateHero } from './UIUpdateHero'; import { UpdateChoose } from './updatechoose'; const { ccclass, property } = cc._decorator; @@ -33,7 +34,11 @@ export class ChooseHeroUpQuality extends UIBase { private mainHeroData: any; private secHeroData: any; - init(data: any) {} + private boxIndex = 0; + + init(data: any) { + this.boxIndex = data.boxIndex; + } onLoad(): void { this.oldAtk.string = '0'; @@ -81,8 +86,13 @@ export class ChooseHeroUpQuality extends UIBase { NetManage.heroUpgradeQuality( this.mainHeroData, this.secHeroData, - 0, + this.boxIndex, () => { + var node = cc + .find('Canvas') + .getComponentInChildren(UIUpdateHero).node; + node.emit('refreshUI'); + this.node.destroy(); this.node.destroy(); } ); diff --git a/assets/scripts/UI/Academy/ChooseHeroUpdate.ts b/assets/scripts/UI/Academy/ChooseHeroUpdate.ts index cf0374ee..a5d6e472 100644 --- a/assets/scripts/UI/Academy/ChooseHeroUpdate.ts +++ b/assets/scripts/UI/Academy/ChooseHeroUpdate.ts @@ -1,5 +1,6 @@ import { UIBase } from '../UIBase'; import { uimanger } from '../UIManger'; +import { UIUpdateHero } from './UIUpdateHero'; import { UpdateChoose } from './updatechoose'; const NetManage = require('../../manages/NetManage'); @@ -17,8 +18,12 @@ export class ChooseHeroUpdate extends UIBase { @property(cc.Node) chooseNode: cc.Node = null; private hero_uuid = null; + private boxIndex = 0; - init(data: any) {} + init(data: any) { + + this.boxIndex = data.boxIndex; + } onLoad(): void { cc.Notifier.on('academyCHOOSE', this, this.hasGetOne.bind(this)); @@ -45,7 +50,11 @@ export class ChooseHeroUpdate extends UIBase { onComform() { if (this.hero_uuid) { - NetManage.heroUpgradeLevel(this.hero_uuid, 0, () => { + NetManage.heroUpgradeLevel(this.hero_uuid, this.boxIndex, () => { + var node = cc + .find('Canvas') + .getComponentInChildren(UIUpdateHero).node; + node.emit('refreshUI'); this.node.destroy(); }); } else { diff --git a/assets/scripts/UI/Academy/UIUpdateHero.ts b/assets/scripts/UI/Academy/UIUpdateHero.ts index 63c5f04d..a4219893 100644 --- a/assets/scripts/UI/Academy/UIUpdateHero.ts +++ b/assets/scripts/UI/Academy/UIUpdateHero.ts @@ -1,37 +1,89 @@ +const NetManage = require('../../manages/NetManage'); import { UIBase } from '../UIBase'; +import Academy_block from './Academy_block'; const { ccclass, property } = cc._decorator; @ccclass export class UIUpdateHero extends UIBase { - public static prefabPath = 'prefabs/UIPrefab/UI_UpdateHero'; + public static prefabPath = 'prefabs/UIPrefab/UI_UpdateHero'; - @property(cc.Node) updateNode: cc.Node = null; - @property(cc.Node) advanceNode: cc.Node = null; + @property(cc.Node) updateNode: cc.Node = null; + @property(cc.Node) advanceNode: cc.Node = null; - @property(cc.Node) leftBtn: cc.Node = null; + @property(cc.Node) upLevelNodes: cc.Node = null; + @property(cc.Node) upGradeNodes: cc.Node = null; - init(data: any) { - if (data['current'] == 'advance') { - this.updateNode.active = false; - this.advanceNode.active = true; - this.leftBtn.children[0].getComponent(cc.Toggle).isChecked = false; - this.leftBtn.children[1].getComponent(cc.Toggle).isChecked = true; - } - } + @property(cc.Node) leftBtn: cc.Node = null; - onClickUpdate() { - this.updateNode.active = true; - this.advanceNode.active = false; - } + init(data: any) { + if (data['current'] == 'advance') { + this.updateNode.active = false; + this.advanceNode.active = true; + this.leftBtn.children[0].getComponent(cc.Toggle).isChecked = false; + this.leftBtn.children[1].getComponent(cc.Toggle).isChecked = true; + } + NetManage.getUpgradeLevelList((res) => { + for (let i = 0; i < 2; i += 1) { + this.upLevelNodes.children[i] + .getComponent(Academy_block) + .init(res.infos[i]); + } + }); + } - onClickAdvance() { - this.updateNode.active = false; - this.advanceNode.active = true; - } + reSetUI() { + NetManage.getUpgradeLevelList((res) => { + for (let i = 0; i < 2; i += 1) { + this.upLevelNodes.children[i] + .getComponent(Academy_block) + .init(res.infos[i]); + } + }); - onClose() { - this.node.destroy(); - cc.loader.releaseRes(UIUpdateHero.prefabPath); - } + NetManage.getUpgradeQualityList((res) => { + for (let i = 0; i < 2; i += 1) { + this.upGradeNodes.children[i] + .getComponent(Academy_block) + .init(res.infos[i]); + } + }); + } + + protected onLoad(): void { + this.node.on('refreshUI', this.reSetUI, this); + } + + onDestroy() { + this.node.off('refreshUI', this.reSetUI, this); + } + + onClickUpdate() { + this.updateNode.active = true; + this.advanceNode.active = false; + NetManage.getUpgradeLevelList((res) => { + for (let i = 0; i < 2; i += 1) { + this.upLevelNodes.children[i] + .getComponent(Academy_block) + .init(res.infos[i]); + } + }); + } + + onClickAdvance() { + this.updateNode.active = false; + this.advanceNode.active = true; + NetManage.getUpgradeQualityList((res) => { + for (let i = 0; i < 2; i += 1) { + this.upGradeNodes.children[i] + .getComponent(Academy_block) + .init(res.infos[i]); + } + }); + } + + onClose() { + this.node.destroy(); + cc.loader.releaseRes(UIUpdateHero.prefabPath); + } } diff --git a/assets/scripts/UI/Academy/updatechoose.ts b/assets/scripts/UI/Academy/updatechoose.ts index 52dd627a..8a3e23b1 100644 --- a/assets/scripts/UI/Academy/updatechoose.ts +++ b/assets/scripts/UI/Academy/updatechoose.ts @@ -28,6 +28,10 @@ export class UpdateChoose extends UIBase { this.currentChoose = element; }); this.nd_heroContent.addChild(node); + + if (element.lock_type != 0) { + node.getComponent('wantedHero').showCover(); + } }); }); } diff --git a/assets/scripts/manages/NetManage.js b/assets/scripts/manages/NetManage.js index 9e08b2fa..56f2815e 100644 --- a/assets/scripts/manages/NetManage.js +++ b/assets/scripts/manages/NetManage.js @@ -699,4 +699,37 @@ module.exports = { .addKV('cost_item_id', 10001); this.getResponce(cb, this.urlbd); }, + + getUpgradeLevelList(cb) { + this.urlbd + .addKV('c', 'Hero') + .addKV('a', 'getUpgradeLevelList') + .addKV('account_id', this.account_id) + .addKV('session_id', this.session_id); + this.getResponce(cb, this.urlbd); + }, + + getUpgradeQualityList(cb) { + this.urlbd + .addKV('c', 'Hero') + .addKV('a', 'getUpgradeQualityList') + .addKV('account_id', this.account_id) + .addKV('session_id', this.session_id); + this.getResponce(cb, this.urlbd); + }, + + reciveUpReward(type, hero_uuid, cb) { + console.log(type); + console.log(hero_uuid); + + this.urlbd.clear(); + this.urlbd + .addKV('c', 'Hero') + .addKV('a', 'receive') + .addKV('account_id', this.account_id) + .addKV('session_id', this.session_id) + .addKV('type', type) // 1 level 2 quality + .addKV('hero_uniid', hero_uuid); + this.getResponce(cb, this.urlbd); + }, }; diff --git a/settings/services.json b/settings/services.json index 83997bbf..226a09a4 100644 --- a/settings/services.json +++ b/settings/services.json @@ -220,14 +220,15 @@ "support_platform": [ "安卓" ], - "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcapms/0.5.4_1.5.2.300.zip", - "package_version_desc": "

更新日期: 2021/07/20
\n更新说明:
\n1、新增对Game SDK的支持。
\n", + "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcapms/0.5.6_1.5.2.300.zip", + "package_version_desc": "

1、更新 AGC SDK 版本到 v1.6.0.300
\n", "service_component_name": "service-agcapms", "package_versions": [ "0.5.1_1.3.1", "0.5.2_1.3.1.300", "0.5.3_1.5.2.300", - "0.5.4_1.5.2.300" + "0.5.4_1.5.2.300", + "0.5.6_1.5.2.300" ], "build_platform": [], "require_verify": 0, @@ -251,13 +252,14 @@ "support_platform": [ "安卓" ], - "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcauth/0.5.3_1.4.1.300.zip", - "package_version_desc": "

更新日期: 2021/08/10
\n更新说明:
\n修复微信登陆失败的问题。
\n", + "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcauth/0.5.6_1.6.0.300.zip", + "package_version_desc": "

1、更新 AGC SDK 版本到 v1.6.0.300
\n2、更新 service SDK 版本到 v1.6.0.300
\n", "service_component_name": "service-agcauth", "package_versions": [ "0.5.1_1.3.1", "0.5.2_1.4.1.300", - "0.5.3_1.4.1.300" + "0.5.3_1.4.1.300", + "0.5.6_1.6.0.300" ], "build_platform": [], "require_verify": 0, @@ -281,12 +283,13 @@ "support_platform": [ "安卓" ], - "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agccrash/0.5.5_1.4.1.300.zip", - "package_version_desc": "

更新日期: 2020/10/19
\n更新说明:
\n修复一些 bug
\n", + "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agccrash/0.5.8_1.6.0.300.zip", + "package_version_desc": "

1、更新 AGC SDK 版本到 v1.6.0.300
\n2、更新 service SDK 版本到 v1.6.0.300
\n", "service_component_name": "service-agccrash", "package_versions": [ "0.5.3_1.3.2", - "0.5.5_1.4.1.300" + "0.5.5_1.4.1.300", + "0.5.8_1.6.0.300" ], "build_platform": [], "require_verify": 0, @@ -310,15 +313,16 @@ "support_platform": [ "安卓" ], - "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcapplinking/0.6.0_1.4.2.301.zip", - "package_version_desc": "

更新日期: 2020/12/8
\n更新说明:
\n1.升级 SDK 版本到 1.4.2.301
\n2.服务面板添加 intent link type 选项
\n3.服务面板添加 剪切板设置 选项
\n", + "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcapplinking/0.6.2_1.6.0.300.zip", + "package_version_desc": "

1、更新 AGC SDK 版本到 v1.6.0.300
\n2、更新 service SDK 版本到 v1.6.0.300
\n", "service_component_name": "service-agcapplinking", "package_versions": [ "0.5.2_1.3.2", "0.5.4_1.3.2", "0.5.7_1.4.1.300", "0.5.9_1.4.1.300", - "0.6.0_1.4.2.301" + "0.6.0_1.4.2.301", + "0.6.2_1.6.0.300" ], "build_platform": [], "require_verify": 0, @@ -342,14 +346,15 @@ "support_platform": [ "安卓" ], - "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcappmessaging/0.5.6_1.4.2.301.zip", - "package_version_desc": "

更新日期: 2020/12/04
\n更新说明:
\n1、升级 SDK 版本到 1.4.2.301
\n2、增加了设置图片和弹框消息的显示位置(setDisplayLocation) 的接口
\n", + "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcappmessaging/0.6.0_1.6.0.300.zip", + "package_version_desc": "

1、更新 AGC SDK 版本到 v1.6.0.300
\n2、更新 service SDK 版本到 v1.6.0.300
\n", "service_component_name": "service-agcappmessaging", "package_versions": [ "0.5.2_1.4.0", "0.5.3_1.4.0", "0.5.3_1.4.0", - "0.5.6_1.4.2.301" + "0.5.6_1.4.2.301", + "0.6.0_1.6.0.300" ], "build_platform": [], "require_verify": 0, @@ -373,12 +378,13 @@ "support_platform": [ "安卓" ], - "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcremoteconfig/0.5.1_1.4.1.300.zip", - "package_version_desc": "

更新日期: 2020/10/19
\n更新说明:
\n更新 SDK 1.4.1.300,添加本地配置入口。
\n", + "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcremoteconfig/0.5.3_1.6.0.300.zip", + "package_version_desc": "

1、更新 AGC SDK 版本到 v1.6.0.300
\n2、更新 service SDK 版本到 v1.6.0.300
\n", "service_component_name": "service-agcremoteconfig", "package_versions": [ "0.5.0_1.4.0", - "0.5.1_1.4.1.300" + "0.5.1_1.4.1.300", + "0.5.3_1.6.0.300" ], "build_platform": [], "require_verify": 0, @@ -402,12 +408,13 @@ "support_platform": [ "安卓" ], - "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcstorage/0.5.2_1.3.1.100.zip", - "package_version_desc": "

更新日期: 2020/12/04
\n更新说明:
\n1.更新云存储 SDK 到版本 1.3.1.100
\n2.修复 updateFileMetadata 接口崩溃问题
\n3.新增部分 AGCStorageReference 接口
\n4.新增部分获取 Android 应用存储目录接口
\n", + "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcstorage/0.5.4_1.4.0.100.zip", + "package_version_desc": "

1、更新 AGC SDK 版本到 v1.6.0.300
\n", "service_component_name": "service-agcstorage", "package_versions": [ "0.5.1_1.3.0.300", - "0.5.2_1.3.1.100" + "0.5.2_1.3.1.100", + "0.5.4_1.4.0.100" ], "build_platform": [], "require_verify": 0, @@ -431,14 +438,15 @@ "support_platform": [ "安卓" ], - "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcclouddb/0.5.5_1.2.3.301.zip", - "package_version_desc": "

更新日期: 2020/12/23
\n更新说明:
\n1、修复生成器未适配新版 FORMAT-VERSION 的索引导致的崩溃问题。
\n2、修复 Query 查询器类型转换问题导致的崩溃。
\n3、修复JSON解析库导致的数据库插入失败。
\n", + "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcclouddb/0.5.7_1.2.3.301.zip", + "package_version_desc": "

1、更新 AGC SDK 版本到 v1.6.0.300
\n", "service_component_name": "service-agcclouddb", "package_versions": [ "0.5.1_1.2.1.301", "0.5.3_1.2.3.301", "0.5.4_1.2.3.301", - "0.5.5_1.2.3.301" + "0.5.5_1.2.3.301", + "0.5.7_1.2.3.301" ], "build_platform": [], "require_verify": 0, @@ -462,11 +470,12 @@ "support_platform": [ "安卓" ], - "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcfunction/0.5.0_1.4.1.300.zip", - "package_version_desc": "

更新日期: 2020/11/05
\n更新说明:
\n新增 AGC 云函数服务
\n", + "package_download_url": "https://download.cocos.com/CocosUdc/plugins/service-agcfunction/0.5.2_1.6.0.300.zip", + "package_version_desc": "

1、更新 AGC SDK 版本到 v1.6.0.300
\n2、更新 service SDK 版本到 v1.6.0.300
\n", "service_component_name": "service-agcfunction", "package_versions": [ - "0.5.0_1.4.1.300" + "0.5.0_1.4.1.300", + "0.5.2_1.6.0.300" ], "build_platform": [], "require_verify": 0,