diff --git a/assets/LoginScene.fire b/assets/LoginScene.fire index 423eccec..91b719d7 100644 --- a/assets/LoginScene.fire +++ b/assets/LoginScene.fire @@ -47,8 +47,8 @@ }, "_scale": { "__type__": "cc.Vec3", - "x": 0.416015625, - "y": 0.416015625, + "x": 0.5703125, + "y": 0.5703125, "z": 1 }, "_quat": { @@ -12654,7 +12654,7 @@ "__id__": 377 } ], - "_active": false, + "_active": true, "_level": 2, "_components": [ { diff --git a/assets/res/prefabs/NUI/UIFriend.prefab b/assets/res/prefabs/NUI/UIFriend.prefab index 8143cb7e..bb4626a6 100644 --- a/assets/res/prefabs/NUI/UIFriend.prefab +++ b/assets/res/prefabs/NUI/UIFriend.prefab @@ -20,23 +20,30 @@ "__id__": 2 }, { - "__id__": 5 + "__id__": 7 }, { - "__id__": 22 + "__id__": 24 }, { - "__id__": 66 + "__id__": 71 }, { - "__id__": 213 + "__id__": 154 } ], "_active": true, "_level": 1, - "_components": [], + "_components": [ + { + "__id__": 196 + }, + { + "__id__": 197 + } + ], "_prefab": { - "__id__": 241 + "__id__": 198 }, "_opacity": 255, "_color": { @@ -95,10 +102,16 @@ "_components": [ { "__id__": 3 + }, + { + "__id__": 4 + }, + { + "__id__": 5 } ], "_prefab": { - "__id__": 4 + "__id__": 6 }, "_opacity": 255, "_color": { @@ -172,6 +185,43 @@ "_atlas": null, "_id": "" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 1024, + "_originalHeight": 512, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_id": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -192,27 +242,27 @@ }, "_children": [ { - "__id__": 6 + "__id__": 8 }, { - "__id__": 11 + "__id__": 13 }, { - "__id__": 14 + "__id__": 16 }, { - "__id__": 17 + "__id__": 19 } ], "_active": true, "_level": 2, "_components": [ { - "__id__": 20 + "__id__": 22 } ], "_prefab": { - "__id__": 21 + "__id__": 23 }, "_opacity": 255, "_color": { @@ -263,21 +313,21 @@ "_name": "btn_back", "_objFlags": 0, "_parent": { - "__id__": 5 + "__id__": 7 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 7 + "__id__": 9 }, { - "__id__": 8 + "__id__": 10 } ], "_prefab": { - "__id__": 10 + "__id__": 12 }, "_opacity": 255, "_color": { @@ -328,7 +378,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 6 + "__id__": 8 }, "_enabled": true, "_srcBlendFactor": 770, @@ -356,14 +406,14 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 6 + "__id__": 8 }, "_enabled": true, "duration": 0.1, "zoomScale": 0.9, "clickEvents": [ { - "__id__": 9 + "__id__": 11 } ], "_N$interactable": true, @@ -423,10 +473,12 @@ }, { "__type__": "cc.ClickEvent", - "target": null, + "target": { + "__id__": 1 + }, "component": "", - "_componentId": "8cfcbz3g6pKZrSiCzLZPVlf", - "handler": "onclose", + "_componentId": "37ef4/rnoBFN72hokbtrmjZ", + "handler": "onClose", "customEventData": "" }, { @@ -445,18 +497,18 @@ "_name": "text_friend", "_objFlags": 0, "_parent": { - "__id__": 5 + "__id__": 7 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 12 + "__id__": 14 } ], "_prefab": { - "__id__": 13 + "__id__": 15 }, "_opacity": 255, "_color": { @@ -507,7 +559,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 11 + "__id__": 13 }, "_enabled": true, "_useOriginalSize": true, @@ -545,18 +597,18 @@ "_name": "gun_icon2", "_objFlags": 0, "_parent": { - "__id__": 5 + "__id__": 7 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 15 + "__id__": 17 } ], "_prefab": { - "__id__": 16 + "__id__": 18 }, "_opacity": 255, "_color": { @@ -607,7 +659,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 14 + "__id__": 16 }, "_enabled": true, "_srcBlendFactor": 770, @@ -646,18 +698,18 @@ "_name": "bg_gy_topline", "_objFlags": 0, "_parent": { - "__id__": 5 + "__id__": 7 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 18 + "__id__": 20 } ], "_prefab": { - "__id__": 19 + "__id__": 21 }, "_opacity": 255, "_color": { @@ -708,7 +760,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 17 + "__id__": 19 }, "_enabled": true, "_srcBlendFactor": 770, @@ -747,7 +799,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 5 + "__id__": 7 }, "_enabled": true, "alignMode": 1, @@ -789,18 +841,18 @@ }, "_children": [ { - "__id__": 23 + "__id__": 25 } ], "_active": true, "_level": 2, "_components": [ { - "__id__": 64 + "__id__": 69 } ], "_prefab": { - "__id__": 65 + "__id__": 70 }, "_opacity": 255, "_color": { @@ -851,31 +903,34 @@ "_name": "New ToggleContainer", "_objFlags": 0, "_parent": { - "__id__": 22 + "__id__": 24 }, "_children": [ { - "__id__": 24 + "__id__": 26 }, { - "__id__": 36 + "__id__": 40 }, { - "__id__": 48 + "__id__": 53 } ], "_active": true, "_level": 3, "_components": [ { - "__id__": 60 + "__id__": 66 }, { - "__id__": 62 + "__id__": 37 + }, + { + "__id__": 67 } ], "_prefab": { - "__id__": 63 + "__id__": 68 }, "_opacity": 255, "_color": { @@ -926,28 +981,28 @@ "_name": "toggle_friend", "_objFlags": 0, "_parent": { - "__id__": 23 + "__id__": 25 }, "_children": [ { - "__id__": 25 + "__id__": 27 }, { - "__id__": 28 + "__id__": 30 }, { - "__id__": 31 + "__id__": 33 } ], "_active": true, "_level": 0, "_components": [ { - "__id__": 34 + "__id__": 36 } ], "_prefab": { - "__id__": 35 + "__id__": 39 }, "_opacity": 255, "_color": { @@ -998,18 +1053,18 @@ "_name": "btn_gy_noselectkuang", "_objFlags": 0, "_parent": { - "__id__": 24 + "__id__": 26 }, "_children": [], "_active": true, "_level": 1, "_components": [ { - "__id__": 26 + "__id__": 28 } ], "_prefab": { - "__id__": 27 + "__id__": 29 }, "_opacity": 255, "_color": { @@ -1060,7 +1115,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 25 + "__id__": 27 }, "_enabled": true, "_srcBlendFactor": 770, @@ -1099,18 +1154,18 @@ "_name": "btn_gy_selectkuang", "_objFlags": 0, "_parent": { - "__id__": 24 + "__id__": 26 }, "_children": [], "_active": true, "_level": 1, "_components": [ { - "__id__": 29 + "__id__": 31 } ], "_prefab": { - "__id__": 30 + "__id__": 32 }, "_opacity": 255, "_color": { @@ -1161,7 +1216,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 28 + "__id__": 30 }, "_enabled": true, "_srcBlendFactor": 770, @@ -1200,18 +1255,18 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 24 + "__id__": 26 }, "_children": [], "_active": true, "_level": 1, "_components": [ { - "__id__": 32 + "__id__": 34 } ], "_prefab": { - "__id__": 33 + "__id__": 35 }, "_opacity": 255, "_color": { @@ -1262,7 +1317,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 31 + "__id__": 33 }, "_enabled": true, "_useOriginalSize": false, @@ -1300,7 +1355,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 24 + "__id__": 26 }, "_enabled": true, "duration": 0.1, @@ -1308,8 +1363,8 @@ "clickEvents": [], "_N$interactable": true, "_N$enableAutoGrayEffect": false, - "_N$transition": 3, - "transition": 3, + "_N$transition": 0, + "transition": 0, "_N$normalColor": { "__type__": "cc.Color", "r": 214, @@ -1358,17 +1413,42 @@ "_N$hoverSprite": null, "hoverSprite": null, "_N$disabledSprite": null, - "_N$target": { - "__id__": 24 - }, + "_N$target": null, "_N$isChecked": true, - "toggleGroup": null, - "checkMark": { - "__id__": 29 + "toggleGroup": { + "__id__": 37 }, - "checkEvents": [], + "checkMark": { + "__id__": 31 + }, + "checkEvents": [ + { + "__id__": 38 + } + ], "_id": "" }, + { + "__type__": "cc.ToggleGroup", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 25 + }, + "_enabled": true, + "allowSwitchOff": false, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "37ef4/rnoBFN72hokbtrmjZ", + "handler": "onClickToggle", + "customEventData": "0" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -1385,28 +1465,28 @@ "_name": "toggle_apply", "_objFlags": 0, "_parent": { - "__id__": 23 + "__id__": 25 }, "_children": [ { - "__id__": 37 + "__id__": 41 }, { - "__id__": 40 + "__id__": 44 }, { - "__id__": 43 + "__id__": 47 } ], "_active": true, "_level": 4, "_components": [ { - "__id__": 46 + "__id__": 50 } ], "_prefab": { - "__id__": 47 + "__id__": 52 }, "_opacity": 255, "_color": { @@ -1457,18 +1537,18 @@ "_name": "btn_gy_noselectkuang", "_objFlags": 0, "_parent": { - "__id__": 36 + "__id__": 40 }, "_children": [], "_active": true, "_level": 1, "_components": [ { - "__id__": 38 + "__id__": 42 } ], "_prefab": { - "__id__": 39 + "__id__": 43 }, "_opacity": 255, "_color": { @@ -1519,7 +1599,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 37 + "__id__": 41 }, "_enabled": true, "_srcBlendFactor": 770, @@ -1558,18 +1638,18 @@ "_name": "btn_gy_selectkuang", "_objFlags": 0, "_parent": { - "__id__": 36 + "__id__": 40 }, "_children": [], "_active": false, "_level": 1, "_components": [ { - "__id__": 41 + "__id__": 45 } ], "_prefab": { - "__id__": 42 + "__id__": 46 }, "_opacity": 255, "_color": { @@ -1620,7 +1700,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 40 + "__id__": 44 }, "_enabled": true, "_srcBlendFactor": 770, @@ -1659,18 +1739,18 @@ "_name": "New Label copy", "_objFlags": 0, "_parent": { - "__id__": 36 + "__id__": 40 }, "_children": [], "_active": true, "_level": 5, "_components": [ { - "__id__": 44 + "__id__": 48 } ], "_prefab": { - "__id__": 45 + "__id__": 49 }, "_opacity": 255, "_color": { @@ -1721,7 +1801,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 43 + "__id__": 47 }, "_enabled": true, "_useOriginalSize": false, @@ -1759,7 +1839,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 36 + "__id__": 40 }, "_enabled": true, "duration": 0.1, @@ -1767,8 +1847,8 @@ "clickEvents": [], "_N$interactable": true, "_N$enableAutoGrayEffect": false, - "_N$transition": 3, - "transition": 3, + "_N$transition": 0, + "transition": 0, "_N$normalColor": { "__type__": "cc.Color", "r": 214, @@ -1817,17 +1897,31 @@ "_N$hoverSprite": null, "hoverSprite": null, "_N$disabledSprite": null, - "_N$target": { - "__id__": 36 - }, + "_N$target": null, "_N$isChecked": false, - "toggleGroup": null, - "checkMark": { - "__id__": 41 + "toggleGroup": { + "__id__": 37 }, - "checkEvents": [], + "checkMark": { + "__id__": 45 + }, + "checkEvents": [ + { + "__id__": 51 + } + ], "_id": "" }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "37ef4/rnoBFN72hokbtrmjZ", + "handler": "onClickToggle", + "customEventData": "1" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -1844,28 +1938,28 @@ "_name": "toggle_blacklist", "_objFlags": 0, "_parent": { - "__id__": 23 + "__id__": 25 }, "_children": [ { - "__id__": 49 + "__id__": 54 }, { - "__id__": 52 + "__id__": 57 }, { - "__id__": 55 + "__id__": 60 } ], "_active": true, "_level": 4, "_components": [ { - "__id__": 58 + "__id__": 63 } ], "_prefab": { - "__id__": 59 + "__id__": 65 }, "_opacity": 255, "_color": { @@ -1916,18 +2010,18 @@ "_name": "btn_gy_noselectkuang", "_objFlags": 0, "_parent": { - "__id__": 48 + "__id__": 53 }, "_children": [], "_active": true, "_level": 1, "_components": [ { - "__id__": 50 + "__id__": 55 } ], "_prefab": { - "__id__": 51 + "__id__": 56 }, "_opacity": 255, "_color": { @@ -1978,7 +2072,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 49 + "__id__": 54 }, "_enabled": true, "_srcBlendFactor": 770, @@ -2017,18 +2111,18 @@ "_name": "btn_gy_selectkuang", "_objFlags": 0, "_parent": { - "__id__": 48 + "__id__": 53 }, "_children": [], "_active": false, "_level": 1, "_components": [ { - "__id__": 53 + "__id__": 58 } ], "_prefab": { - "__id__": 54 + "__id__": 59 }, "_opacity": 255, "_color": { @@ -2079,7 +2173,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 52 + "__id__": 57 }, "_enabled": true, "_srcBlendFactor": 770, @@ -2118,18 +2212,18 @@ "_name": "New Label copy", "_objFlags": 0, "_parent": { - "__id__": 48 + "__id__": 53 }, "_children": [], "_active": true, "_level": 5, "_components": [ { - "__id__": 56 + "__id__": 61 } ], "_prefab": { - "__id__": 57 + "__id__": 62 }, "_opacity": 255, "_color": { @@ -2180,7 +2274,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 55 + "__id__": 60 }, "_enabled": true, "_useOriginalSize": false, @@ -2218,7 +2312,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 48 + "__id__": 53 }, "_enabled": true, "duration": 0.1, @@ -2226,8 +2320,8 @@ "clickEvents": [], "_N$interactable": true, "_N$enableAutoGrayEffect": false, - "_N$transition": 3, - "transition": 3, + "_N$transition": 0, + "transition": 0, "_N$normalColor": { "__type__": "cc.Color", "r": 214, @@ -2276,17 +2370,31 @@ "_N$hoverSprite": null, "hoverSprite": null, "_N$disabledSprite": null, - "_N$target": { - "__id__": 48 - }, + "_N$target": null, "_N$isChecked": false, - "toggleGroup": null, - "checkMark": { - "__id__": 53 + "toggleGroup": { + "__id__": 37 }, - "checkEvents": [], + "checkMark": { + "__id__": 58 + }, + "checkEvents": [ + { + "__id__": 64 + } + ], "_id": "" }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "37ef4/rnoBFN72hokbtrmjZ", + "handler": "onClickToggle", + "customEventData": "2" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -2298,36 +2406,12 @@ "fileId": "a3R2fV0odJp5w2xVKmTEX3", "sync": false }, - { - "__type__": "cc.ToggleContainer", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 23 - }, - "_enabled": true, - "allowSwitchOff": false, - "checkEvents": [ - { - "__id__": 61 - } - ], - "_id": "" - }, - { - "__type__": "cc.ClickEvent", - "target": null, - "component": "", - "_componentId": "8cfcbz3g6pKZrSiCzLZPVlf", - "handler": "onChange", - "customEventData": "" - }, { "__type__": "cc.Layout", "_name": "", "_objFlags": 0, "node": { - "__id__": 23 + "__id__": 25 }, "_enabled": true, "_layoutSize": { @@ -2355,6 +2439,18 @@ "_N$affectedByScale": false, "_id": "" }, + { + "__type__": "cc.ToggleContainer", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 25 + }, + "_enabled": true, + "allowSwitchOff": false, + "checkEvents": [], + "_id": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -2371,7 +2467,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 22 + "__id__": 24 }, "_enabled": true, "alignMode": 1, @@ -2413,23 +2509,23 @@ }, "_children": [ { - "__id__": 67 + "__id__": 72 }, { - "__id__": 70 + "__id__": 75 }, { - "__id__": 169 + "__id__": 101 }, { - "__id__": 192 + "__id__": 127 } ], "_active": true, "_level": 2, "_components": [], "_prefab": { - "__id__": 212 + "__id__": 153 }, "_opacity": 255, "_color": { @@ -2480,18 +2576,18 @@ "_name": "bg_frame", "_objFlags": 0, "_parent": { - "__id__": 66 + "__id__": 71 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 68 + "__id__": 73 } ], "_prefab": { - "__id__": 69 + "__id__": 74 }, "_opacity": 255, "_color": { @@ -2542,7 +2638,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 67 + "__id__": 72 }, "_enabled": true, "_srcBlendFactor": 770, @@ -2581,24 +2677,24 @@ "_name": "friend", "_objFlags": 0, "_parent": { - "__id__": 66 + "__id__": 71 }, "_children": [ { - "__id__": 71 + "__id__": 76 }, { - "__id__": 74 + "__id__": 79 }, { - "__id__": 77 + "__id__": 82 } ], "_active": true, "_level": 3, "_components": [], "_prefab": { - "__id__": 168 + "__id__": 100 }, "_opacity": 255, "_color": { @@ -2649,18 +2745,18 @@ "_name": "lb", "_objFlags": 0, "_parent": { - "__id__": 70 + "__id__": 75 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 72 + "__id__": 77 } ], "_prefab": { - "__id__": 73 + "__id__": 78 }, "_opacity": 255, "_color": { @@ -2711,7 +2807,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 71 + "__id__": 76 }, "_enabled": true, "_useOriginalSize": false, @@ -2749,18 +2845,18 @@ "_name": "min_max", "_objFlags": 0, "_parent": { - "__id__": 70 + "__id__": 75 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 75 + "__id__": 80 } ], "_prefab": { - "__id__": 76 + "__id__": 81 }, "_opacity": 255, "_color": { @@ -2811,7 +2907,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 74 + "__id__": 79 }, "_enabled": true, "_useOriginalSize": false, @@ -2846,892 +2942,44 @@ }, { "__type__": "cc.Node", - "_name": "friend_frame", + "_name": "friendlist", "_objFlags": 0, "_parent": { - "__id__": 70 + "__id__": 75 }, "_children": [ { - "__id__": 78 + "__id__": 83 }, { - "__id__": 81 - }, - { - "__id__": 84 - }, - { - "__id__": 125 + "__id__": 90 } ], "_active": true, "_level": 4, - "_components": [ - { - "__id__": 166 - } - ], - "_prefab": { - "__id__": 167 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 474, - "height": 61 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 100, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "user_icon", - "_objFlags": 0, - "_parent": { - "__id__": 77 - }, - "_children": [], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 79 - } - ], - "_prefab": { - "__id__": 80 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 50, - "height": 50 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -198, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 78 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "296421c1-9db7-4fdc-8350-3d2e654fcafd" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "28g/PNU8xKUJCVrNv8U232", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "lb", - "_objFlags": 0, - "_parent": { - "__id__": 77 - }, - "_children": [], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 82 - } - ], - "_prefab": { - "__id__": 83 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 112.12, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -118, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.4, - "y": 0.4, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 81 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "Name", - "_N$string": "Name", - "_fontSize": 40, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": { - "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" - }, - "_isSystemFontUsed": false, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "3bA1lwS9RA6bqMO9vDakbH", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "btn_blacklist", - "_objFlags": 0, - "_parent": { - "__id__": 77 - }, - "_children": [ - { - "__id__": 85 - } - ], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 123 - } - ], - "_prefab": { - "__id__": 124 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 38, - "height": 31 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 140, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "pb_blacklist", - "_objFlags": 0, - "_parent": { - "__id__": 84 - }, - "_children": [ - { - "__id__": 86 - }, - { - "__id__": 91 - } - ], - "_active": false, - "_level": 6, - "_components": [], - "_prefab": { - "__id__": 122 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 1024, - "height": 512 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -140, - "y": -100, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "bg", - "_objFlags": 0, - "_parent": { - "__id__": 85 - }, - "_children": [], - "_active": true, - "_level": 2, - "_components": [ - { - "__id__": 87 - }, - { - "__id__": 88 - }, - { - "__id__": 89 - } - ], - "_prefab": { - "__id__": 90 - }, - "_opacity": 180, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 1024, - "height": 512 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 86 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 86 - }, - "_enabled": true, - "alignMode": 1, - "_target": null, - "_alignFlags": 45, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_verticalCenter": 0, - "_horizontalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 100, - "_id": "" - }, - { - "__type__": "cc.BlockInputEvents", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 86 - }, - "_enabled": true, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "b5Pi7kU+tAhJAu6jzl8cdG", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "uibg", - "_objFlags": 0, - "_parent": { - "__id__": 85 - }, - "_children": [ - { - "__id__": 92 - }, - { - "__id__": 105 - }, - { - "__id__": 108 - }, - { - "__id__": 114 - } - ], - "_active": true, - "_level": 3, - "_components": [ - { - "__id__": 120 - } - ], - "_prefab": { - "__id__": 121 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 400, - "height": 400 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "top", - "_objFlags": 0, - "_parent": { - "__id__": 91 - }, - "_children": [ - { - "__id__": 93 - }, - { - "__id__": 96 - } - ], - "_active": true, - "_level": 4, - "_components": [], - "_prefab": { - "__id__": 104 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 0, - "height": 0 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 95.9405941, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1.1235955, - "y": 0.990099, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "title", - "_objFlags": 0, - "_parent": { - "__id__": 92 - }, - "_children": [], - "_active": true, - "_level": 3, - "_components": [ - { - "__id__": 94 - } - ], - "_prefab": { - "__id__": 95 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 247, - "g": 194, - "b": 59, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 323.47, - "height": 80 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 55, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.6, - "y": 0.6, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 93 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "BLACKLIST", - "_N$string": "BLACKLIST", - "_fontSize": 60, - "_lineHeight": 80, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "d1YVlLTgxDPKwu7U/f4cIP", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "btn_close", - "_objFlags": 0, - "_parent": { - "__id__": 92 - }, - "_children": [ - { - "__id__": 97 - } - ], - "_active": true, - "_level": 3, - "_components": [ - { - "__id__": 101 - } - ], - "_prefab": { - "__id__": 103 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 35, - "height": 35 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 250.3, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Background", - "_objFlags": 0, - "_parent": { - "__id__": 96 - }, - "_children": [], - "_active": true, - "_level": 2, "_components": [ { "__id__": 98 }, { - "__id__": 99 + "__id__": 88 } ], "_prefab": { - "__id__": 100 + "__id__": 99 }, "_opacity": 255, "_color": { "__type__": "cc.Color", - "r": 230, - "g": 230, - "b": 230, + "r": 255, + "g": 255, + "b": 255, "a": 255 }, "_contentSize": { "__type__": "cc.Size", - "width": 35, - "height": 35 + "width": 480, + "height": 320 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3740,8 +2988,8 @@ }, "_position": { "__type__": "cc.Vec3", - "x": -106, - "y": 64, + "x": 0, + "y": -14, "z": 0 }, "_scale": { @@ -3764,307 +3012,33 @@ "groupIndex": 0, "_id": "" }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 97 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "c74f487b-f4cf-4ca8-b3b8-39a24aa87336" - }, - "_type": 1, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 97 - }, - "_enabled": true, - "alignMode": 0, - "_target": null, - "_alignFlags": 45, - "_left": -106, - "_right": 106, - "_top": -64, - "_bottom": 64, - "_verticalCenter": 0, - "_horizontalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 40, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "03Giv2OcdIDJ8Iw3zYVOjs", - "sync": false - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 96 - }, - "_enabled": true, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [ - { - "__id__": 102 - } - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 3, - "transition": 3, - "_N$normalColor": { - "__type__": "cc.Color", - "r": 230, - "g": 230, - "b": 230, - "a": 255 - }, - "_N$pressedColor": { - "__type__": "cc.Color", - "r": 200, - "g": 200, - "b": 200, - "a": 255 - }, - "pressedColor": { - "__type__": "cc.Color", - "r": 200, - "g": 200, - "b": 200, - "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": 120, - "g": 120, - "b": 120, - "a": 200 - }, - "_N$normalSprite": { - "__uuid__": "c74f487b-f4cf-4ca8-b3b8-39a24aa87336" - }, - "_N$pressedSprite": { - "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" - }, - "pressedSprite": { - "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" - }, - "_N$hoverSprite": { - "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" - }, - "hoverSprite": { - "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" - }, - "_N$disabledSprite": { - "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" - }, - "_N$target": { - "__id__": 97 - }, - "_id": "" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 85 - }, - "component": "", - "_componentId": "cf2ed9KRgRBOoCppbCs7MQ+", - "handler": "onClose", - "customEventData": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "0ei7PX4oRKY6RsFNXwiPjk", - "sync": false - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "e55q5RGatNeIGgRTPlcPrW", - "sync": false - }, { "__type__": "cc.Node", - "_name": "txt", + "_name": "scrollBar", "_objFlags": 0, "_parent": { - "__id__": 91 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 106 - } - ], - "_prefab": { - "__id__": 107 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 531.43, - "height": 120 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -178, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.6741573, - "y": 0.5940594, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 105 - }, - "_enabled": true, - "_useOriginalSize": true, - "_string": "Are you sure you want to add \nplayer to the blacklist?", - "_N$string": "Are you sure you want to add \nplayer to the blacklist?", - "_fontSize": 40, - "_lineHeight": 60, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 0, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "3b2hi/U9lJc6WUteP4yw5M", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "btnCancel", - "_objFlags": 0, - "_parent": { - "__id__": 91 + "__id__": 82 }, "_children": [ { - "__id__": 109 + "__id__": 84 } ], - "_active": true, - "_level": 4, + "_active": false, + "_level": 0, "_components": [ { - "__id__": 112 + "__id__": 87 + }, + { + "__id__": 95 + }, + { + "__id__": 96 } ], "_prefab": { - "__id__": 113 + "__id__": 97 }, "_opacity": 255, "_color": { @@ -4076,18 +3050,18 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 109, - "height": 45 + "width": 12, + "height": 320 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 1, "y": 0.5 }, "_position": { "__type__": "cc.Vec3", - "x": -90, - "y": -150, + "x": 240, + "y": 0, "z": 0 }, "_scale": { @@ -4112,21 +3086,21 @@ }, { "__type__": "cc.Node", - "_name": "New Label", + "_name": "bar", "_objFlags": 0, "_parent": { - "__id__": 108 + "__id__": 83 }, "_children": [], "_active": true, - "_level": 4, + "_level": 0, "_components": [ { - "__id__": 110 + "__id__": 85 } ], "_prefab": { - "__id__": 111 + "__id__": 86 }, "_opacity": 255, "_color": { @@ -4138,161 +3112,18 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 152.36, - "height": 40 + "width": 10, + "height": 30 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.4, - "y": 0.5, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 109 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "Cancel", - "_N$string": "Cancel", - "_fontSize": 40, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": { - "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" - }, - "_isSystemFontUsed": false, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "7e1qSZE5dNfZr7SxlrmT5w", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 108 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "7327600a-7c4e-4fed-a79a-dcf9775e5d9e" - }, - "_type": 1, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, + "x": 1, "y": 0 }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "c1cadiIB9COpvIrU5hmtaS", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "btnCancel", - "_objFlags": 0, - "_parent": { - "__id__": 91 - }, - "_children": [ - { - "__id__": 115 - } - ], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 118 - } - ], - "_prefab": { - "__id__": 119 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 109, - "height": 45 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, "_position": { "__type__": "cc.Vec3", - "x": 90, - "y": -150, + "x": -1, + "y": 0, "z": 0 }, "_scale": { @@ -4315,195 +3146,6 @@ "groupIndex": 0, "_id": "" }, - { - "__type__": "cc.Node", - "_name": "New Label", - "_objFlags": 0, - "_parent": { - "__id__": 114 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 116 - } - ], - "_prefab": { - "__id__": 117 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 134.6, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.4, - "y": 0.5, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 115 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "Agree", - "_N$string": "Agree", - "_fontSize": 40, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": { - "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" - }, - "_isSystemFontUsed": false, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "27QEOBSQNJH7N0N1Eepg4S", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 114 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "d522382e-867a-4671-b390-d6e77e6b03f0" - }, - "_type": 1, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "8fx+L2j1ZI9pdt+oGrFsUV", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 91 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "b6189259-190d-4fc6-b890-f104d58a7685" - }, - "_type": 1, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "d6ouIetN9L25savKhr+/74", - "sync": false - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "54zbNRta5HwqUsTGSdeBIm", - "sync": false - }, { "__type__": "cc.Sprite", "_name": "", @@ -4515,10 +3157,10 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "09273b1b-7f0f-4879-ba9d-8191ba0d723d" + "__uuid__": "5c3bb932-6c3c-468f-88a9-c8c61d458641" }, - "_type": 0, - "_sizeMode": 1, + "_type": 1, + "_sizeMode": 0, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", @@ -4540,248 +3182,268 @@ "asset": { "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" }, - "fileId": "29AmYycZZAUJXIGzJHyC0W", + "fileId": "5f/KE9e8lJvr38C8bbg73f", "sync": false }, { - "__type__": "cc.Node", - "_name": "btn_delete", - "_objFlags": 0, - "_parent": { - "__id__": 77 - }, - "_children": [ - { - "__id__": 126 - } - ], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 164 - } - ], - "_prefab": { - "__id__": 165 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 38, - "height": 31 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 200, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "pb_delete", - "_objFlags": 0, - "_parent": { - "__id__": 125 - }, - "_children": [ - { - "__id__": 127 - }, - { - "__id__": 132 - } - ], - "_active": false, - "_level": 6, - "_components": [], - "_prefab": { - "__id__": 163 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 1024, - "height": 512 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -340, - "y": -100, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "bg", - "_objFlags": 0, - "_parent": { - "__id__": 126 - }, - "_children": [], - "_active": true, - "_level": 2, - "_components": [ - { - "__id__": 128 - }, - { - "__id__": 129 - }, - { - "__id__": 130 - } - ], - "_prefab": { - "__id__": 131 - }, - "_opacity": 180, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 1024, - "height": 512 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", + "__type__": "cc.Scrollbar", "_name": "", "_objFlags": 0, "node": { - "__id__": 127 + "__id__": 83 }, "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" + "_scrollView": { + "__id__": 88 }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "_touching": false, + "_opacity": 255, + "enableAutoHide": true, + "autoHideTime": 1, + "_N$handle": { + "__id__": 85 }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, + "_N$direction": 1, "_id": "" }, + { + "__type__": "cc.ScrollView", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 82 + }, + "_enabled": true, + "horizontal": false, + "vertical": true, + "inertia": true, + "brake": 0.75, + "elastic": true, + "bounceDuration": 0.23, + "scrollEvents": [], + "cancelInnerEvents": true, + "_N$content": { + "__id__": 89 + }, + "content": { + "__id__": 89 + }, + "_N$horizontalScrollBar": null, + "_N$verticalScrollBar": { + "__id__": 87 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "content", + "_objFlags": 0, + "_parent": { + "__id__": 90 + }, + "_children": [], + "_active": true, + "_level": 0, + "_components": [ + { + "__id__": 93 + } + ], + "_prefab": { + "__id__": 94 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 480, + "height": 400 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 159, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "view", + "_objFlags": 0, + "_parent": { + "__id__": 82 + }, + "_children": [ + { + "__id__": 89 + } + ], + "_active": true, + "_level": 0, + "_components": [ + { + "__id__": 91 + } + ], + "_prefab": { + "__id__": 92 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 480, + "height": 320 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 90 + }, + "_enabled": true, + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0, + "_N$inverted": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" + }, + "fileId": "8c1SQHEvFERpxTIU51kVp1", + "sync": false + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 89 + }, + "_enabled": true, + "_layoutSize": { + "__type__": "cc.Size", + "width": 300, + "height": 200 + }, + "_resize": 1, + "_N$layoutType": 2, + "_N$padding": 0, + "_N$cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_N$startAxis": 0, + "_N$paddingLeft": 0, + "_N$paddingRight": 0, + "_N$paddingTop": 0, + "_N$paddingBottom": 0, + "_N$spacingX": 0, + "_N$spacingY": 8, + "_N$verticalDirection": 1, + "_N$horizontalDirection": 0, + "_N$affectedByScale": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" + }, + "fileId": "533z0cI8BOz5UhXaTwlYOc", + "sync": false + }, { "__type__": "cc.Widget", "_name": "", "_objFlags": 0, "node": { - "__id__": 127 + "__id__": 83 }, "_enabled": true, - "alignMode": 1, + "alignMode": 0, "_target": null, - "_alignFlags": 45, - "_left": 0, + "_alignFlags": 37, + "_left": 350.07654921020657, "_right": 0, "_top": 0, "_bottom": 0, @@ -4793,398 +3455,8 @@ "_isAbsBottom": true, "_isAbsHorizontalCenter": true, "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 100, - "_id": "" - }, - { - "__type__": "cc.BlockInputEvents", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 127 - }, - "_enabled": true, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "a1iDt4JFNHgp4Nc6+u2u+a", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "uibg", - "_objFlags": 0, - "_parent": { - "__id__": 126 - }, - "_children": [ - { - "__id__": 133 - }, - { - "__id__": 146 - }, - { - "__id__": 149 - }, - { - "__id__": 155 - } - ], - "_active": true, - "_level": 3, - "_components": [ - { - "__id__": 161 - } - ], - "_prefab": { - "__id__": 162 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 400, - "height": 400 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "top", - "_objFlags": 0, - "_parent": { - "__id__": 132 - }, - "_children": [ - { - "__id__": 134 - }, - { - "__id__": 137 - } - ], - "_active": true, - "_level": 4, - "_components": [], - "_prefab": { - "__id__": 145 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 0, - "height": 0 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 95.9405941, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1.1235955, - "y": 0.990099, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "title", - "_objFlags": 0, - "_parent": { - "__id__": 133 - }, - "_children": [], - "_active": true, - "_level": 3, - "_components": [ - { - "__id__": 135 - } - ], - "_prefab": { - "__id__": 136 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 247, - "g": 194, - "b": 59, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 233.41, - "height": 80 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 55, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.6, - "y": 0.6, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 134 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "DELETE", - "_N$string": "DELETE", - "_fontSize": 60, - "_lineHeight": 80, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "5aum1mu2lFEo59wvIE+697", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "btn_close", - "_objFlags": 0, - "_parent": { - "__id__": 133 - }, - "_children": [ - { - "__id__": 138 - } - ], - "_active": true, - "_level": 3, - "_components": [ - { - "__id__": 142 - } - ], - "_prefab": { - "__id__": 144 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 35, - "height": 35 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 250.3, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Background", - "_objFlags": 0, - "_parent": { - "__id__": 137 - }, - "_children": [], - "_active": true, - "_level": 2, - "_components": [ - { - "__id__": 139 - }, - { - "__id__": 140 - } - ], - "_prefab": { - "__id__": 141 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 230, - "g": 230, - "b": 230, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 35, - "height": 35 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -106, - "y": 64, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, + "_originalWidth": 0, + "_originalHeight": 237, "_id": "" }, { @@ -5192,459 +3464,13 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 138 + "__id__": 83 }, "_enabled": true, "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "c74f487b-f4cf-4ca8-b3b8-39a24aa87336" - }, - "_type": 1, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 138 - }, - "_enabled": true, - "alignMode": 0, - "_target": null, - "_alignFlags": 45, - "_left": -106, - "_right": 106, - "_top": -64, - "_bottom": 64, - "_verticalCenter": 0, - "_horizontalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 40, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "b1cokti8RGyJU0tsIp3LI0", - "sync": false - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 137 - }, - "_enabled": true, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [ - { - "__id__": 143 - } - ], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 3, - "transition": 3, - "_N$normalColor": { - "__type__": "cc.Color", - "r": 230, - "g": 230, - "b": 230, - "a": 255 - }, - "_N$pressedColor": { - "__type__": "cc.Color", - "r": 200, - "g": 200, - "b": 200, - "a": 255 - }, - "pressedColor": { - "__type__": "cc.Color", - "r": 200, - "g": 200, - "b": 200, - "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": 120, - "g": 120, - "b": 120, - "a": 200 - }, - "_N$normalSprite": { - "__uuid__": "c74f487b-f4cf-4ca8-b3b8-39a24aa87336" - }, - "_N$pressedSprite": { - "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" - }, - "pressedSprite": { - "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" - }, - "_N$hoverSprite": { - "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" - }, - "hoverSprite": { - "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" - }, - "_N$disabledSprite": { - "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" - }, - "_N$target": { - "__id__": 138 - }, - "_id": "" - }, - { - "__type__": "cc.ClickEvent", - "target": { - "__id__": 126 - }, - "component": "", - "_componentId": "cf2ed9KRgRBOoCppbCs7MQ+", - "handler": "onClose", - "customEventData": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "5bhQtzNRxHro99OL4JNYdn", - "sync": false - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "82HmVhqZhO4IW/fN4fbkFC", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "txt", - "_objFlags": 0, - "_parent": { - "__id__": 132 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 147 - } - ], - "_prefab": { - "__id__": 148 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 453.57, - "height": 240 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -150, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.6741573, - "y": 0.5940594, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 146 - }, - "_enabled": true, - "_useOriginalSize": true, - "_string": "Are you sure you want to \ndelete this friend?\n\n", - "_N$string": "Are you sure you want to \ndelete this friend?\n\n", - "_fontSize": 40, - "_lineHeight": 60, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 0, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "e7lGFisrZOd65rCh4PM76d", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "btnCancel", - "_objFlags": 0, - "_parent": { - "__id__": 132 - }, - "_children": [ - { - "__id__": 150 - } - ], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 153 - } - ], - "_prefab": { - "__id__": 154 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 109, - "height": 45 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -90, - "y": -150, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "New Label", - "_objFlags": 0, - "_parent": { - "__id__": 149 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 151 - } - ], - "_prefab": { - "__id__": 152 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 152.36, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.4, - "y": 0.5, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 150 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "Cancel", - "_N$string": "Cancel", - "_fontSize": 40, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": { - "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" - }, - "_isSystemFontUsed": false, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "bbx4fQsmJP2L8WqKoPxUX1", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 149 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "7327600a-7c4e-4fed-a79a-dcf9775e5d9e" + "__uuid__": "5fe5dcaa-b513-4dc5-a166-573627b3a159" }, "_type": 1, "_sizeMode": 0, @@ -5669,173 +3495,7 @@ "asset": { "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" }, - "fileId": "eap7ydMepOH4uP4DcAUv0x", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "btnCancel", - "_objFlags": 0, - "_parent": { - "__id__": 132 - }, - "_children": [ - { - "__id__": 156 - } - ], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 159 - } - ], - "_prefab": { - "__id__": 160 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 109, - "height": 45 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 90, - "y": -150, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "New Label", - "_objFlags": 0, - "_parent": { - "__id__": 155 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 157 - } - ], - "_prefab": { - "__id__": 158 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 134.6, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.4, - "y": 0.5, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 156 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "Agree", - "_N$string": "Agree", - "_fontSize": 40, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": { - "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" - }, - "_isSystemFontUsed": false, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "02A/4GUJxM2J9/3GCgNmO9", + "fileId": "f4rGEN6SdC5p2f9dHdJ4ce", "sync": false }, { @@ -5843,13 +3503,13 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 155 + "__id__": 82 }, - "_enabled": true, + "_enabled": false, "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "d522382e-867a-4671-b390-d6e77e6b03f0" + "__uuid__": "9bbda31e-ad49-43c9-aaf2-f7d9896bac69" }, "_type": 1, "_sizeMode": 0, @@ -5874,135 +3534,7 @@ "asset": { "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" }, - "fileId": "d0ea9FmxVDdZaHo8glkYIg", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 132 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "b6189259-190d-4fc6-b890-f104d58a7685" - }, - "_type": 1, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "4d6UrX2SFHr67oI71JP1DQ", - "sync": false - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "c6mOWSk+RMOr67WMPKlcbt", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 125 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "f785331b-52b1-48f8-a56d-2352bf162e2d" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "97/PlROepL6JZABlVEKqEt", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 77 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "4aeaa41a-98b4-463a-96e9-82fb9bf0a483" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "daaXL8RW9OcrIV+DOhSnz5", + "fileId": "1aDSeUP/1OV6Vdo5Nmbfxc", "sync": false }, { @@ -6021,24 +3553,24 @@ "_name": "apply", "_objFlags": 0, "_parent": { - "__id__": 66 + "__id__": 71 }, "_children": [ { - "__id__": 170 + "__id__": 102 }, { - "__id__": 173 + "__id__": 105 }, { - "__id__": 176 + "__id__": 108 } ], "_active": false, "_level": 3, "_components": [], "_prefab": { - "__id__": 191 + "__id__": 126 }, "_opacity": 255, "_color": { @@ -6089,18 +3621,18 @@ "_name": "lb", "_objFlags": 0, "_parent": { - "__id__": 169 + "__id__": 101 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 171 + "__id__": 103 } ], "_prefab": { - "__id__": 172 + "__id__": 104 }, "_opacity": 255, "_color": { @@ -6151,7 +3683,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 170 + "__id__": 102 }, "_enabled": true, "_useOriginalSize": false, @@ -6189,18 +3721,18 @@ "_name": "min_max", "_objFlags": 0, "_parent": { - "__id__": 169 + "__id__": 101 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 174 + "__id__": 106 } ], "_prefab": { - "__id__": 175 + "__id__": 107 }, "_opacity": 255, "_color": { @@ -6251,7 +3783,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 173 + "__id__": 105 }, "_enabled": true, "_useOriginalSize": false, @@ -6286,34 +3818,31 @@ }, { "__type__": "cc.Node", - "_name": "friend_frame", + "_name": "applylist", "_objFlags": 0, "_parent": { - "__id__": 169 + "__id__": 101 }, "_children": [ { - "__id__": 177 + "__id__": 109 }, { - "__id__": 180 - }, - { - "__id__": 183 - }, - { - "__id__": 186 + "__id__": 116 } ], "_active": true, "_level": 4, "_components": [ { - "__id__": 189 + "__id__": 124 + }, + { + "__id__": 114 } ], "_prefab": { - "__id__": 190 + "__id__": 125 }, "_opacity": 255, "_color": { @@ -6325,8 +3854,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 474, - "height": 61 + "width": 480, + "height": 320 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -6336,7 +3865,7 @@ "_position": { "__type__": "cc.Vec3", "x": 0, - "y": 100, + "y": -14, "z": 0 }, "_scale": { @@ -6361,21 +3890,31 @@ }, { "__type__": "cc.Node", - "_name": "user_icon", + "_name": "scrollBar", "_objFlags": 0, "_parent": { - "__id__": 176 + "__id__": 108 }, - "_children": [], - "_active": true, - "_level": 5, + "_children": [ + { + "__id__": 110 + } + ], + "_active": false, + "_level": 0, "_components": [ { - "__id__": 178 + "__id__": 113 + }, + { + "__id__": 121 + }, + { + "__id__": 122 } ], "_prefab": { - "__id__": 179 + "__id__": 123 }, "_opacity": 255, "_color": { @@ -6387,17 +3926,79 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 50, - "height": 50 + "width": 12, + "height": 320 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 1, "y": 0.5 }, "_position": { "__type__": "cc.Vec3", - "x": -198, + "x": 240, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "_parent": { + "__id__": 109 + }, + "_children": [], + "_active": true, + "_level": 0, + "_components": [ + { + "__id__": 111 + } + ], + "_prefab": { + "__id__": 112 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 10, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -1, "y": 0, "z": 0 }, @@ -6426,15 +4027,15 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 177 + "__id__": 110 }, "_enabled": true, "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "296421c1-9db7-4fdc-8350-3d2e654fcafd" + "__uuid__": "5c3bb932-6c3c-468f-88a9-c8c61d458641" }, - "_type": 0, + "_type": 1, "_sizeMode": 0, "_fillType": 0, "_fillCenter": { @@ -6457,26 +4058,75 @@ "asset": { "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" }, - "fileId": "eaWFpnmWJHy53afTH0Es27", + "fileId": "b5cDkysfxFrrNGSwtZs4dJ", "sync": false }, + { + "__type__": "cc.Scrollbar", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 109 + }, + "_enabled": true, + "_scrollView": { + "__id__": 114 + }, + "_touching": false, + "_opacity": 255, + "enableAutoHide": true, + "autoHideTime": 1, + "_N$handle": { + "__id__": 111 + }, + "_N$direction": 1, + "_id": "" + }, + { + "__type__": "cc.ScrollView", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 108 + }, + "_enabled": true, + "horizontal": false, + "vertical": true, + "inertia": true, + "brake": 0.75, + "elastic": true, + "bounceDuration": 0.23, + "scrollEvents": [], + "cancelInnerEvents": true, + "_N$content": { + "__id__": 115 + }, + "content": { + "__id__": 115 + }, + "_N$horizontalScrollBar": null, + "_N$verticalScrollBar": { + "__id__": 113 + }, + "_id": "" + }, { "__type__": "cc.Node", - "_name": "lb", + "_name": "content", "_objFlags": 0, "_parent": { - "__id__": 176 + "__id__": 116 }, "_children": [], "_active": true, - "_level": 5, + "_level": 0, "_components": [ { - "__id__": 181 + "__id__": 119 } ], "_prefab": { - "__id__": 182 + "__id__": 120 }, "_opacity": 255, "_color": { @@ -6488,65 +4138,163 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 112.12, + "width": 480, + "height": 400 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 159, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "view", + "_objFlags": 0, + "_parent": { + "__id__": 108 + }, + "_children": [ + { + "__id__": 115 + } + ], + "_active": true, + "_level": 0, + "_components": [ + { + "__id__": 117 + } + ], + "_prefab": { + "__id__": 118 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 480, + "height": 320 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 116 + }, + "_enabled": true, + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0, + "_N$inverted": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" + }, + "fileId": "b3hLYTtYxJMav+E8z67mRa", + "sync": false + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 115 + }, + "_enabled": true, + "_layoutSize": { + "__type__": "cc.Size", + "width": 300, + "height": 200 + }, + "_resize": 1, + "_N$layoutType": 2, + "_N$padding": 0, + "_N$cellSize": { + "__type__": "cc.Size", + "width": 40, "height": 40 }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -118, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 0.4, - "y": 0.4, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 180 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "Name", - "_N$string": "Name", - "_fontSize": 40, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": { - "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" - }, - "_isSystemFontUsed": false, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, + "_N$startAxis": 0, + "_N$paddingLeft": 0, + "_N$paddingRight": 0, + "_N$paddingTop": 0, + "_N$paddingBottom": 0, + "_N$spacingX": 0, + "_N$spacingY": 8, + "_N$verticalDirection": 1, + "_N$horizontalDirection": 0, + "_N$affectedByScale": false, "_id": "" }, { @@ -6557,69 +4305,34 @@ "asset": { "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" }, - "fileId": "887o21y8lJAJkNqpf7thDA", + "fileId": "51+7BSYB5HlICdy6hAd0/H", "sync": false }, { - "__type__": "cc.Node", - "_name": "btn_refuse", + "__type__": "cc.Widget", + "_name": "", "_objFlags": 0, - "_parent": { - "__id__": 176 + "node": { + "__id__": 109 }, - "_children": [], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 184 - } - ], - "_prefab": { - "__id__": 185 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 38, - "height": 31 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 140, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, + "_enabled": true, + "alignMode": 0, + "_target": null, + "_alignFlags": 37, + "_left": 350.07654921020657, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 237, "_id": "" }, { @@ -6627,16 +4340,16 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 183 + "__id__": 109 }, "_enabled": true, "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "6380d7bb-74dc-4a37-a1ac-efa2b2fc7024" + "__uuid__": "5fe5dcaa-b513-4dc5-a166-573627b3a159" }, - "_type": 0, - "_sizeMode": 1, + "_type": 1, + "_sizeMode": 0, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", @@ -6658,86 +4371,24 @@ "asset": { "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" }, - "fileId": "42TOqiXYpEr7GiYkEeWVK6", + "fileId": "df5YGrcS1E3ZMWdJIM9t3w", "sync": false }, - { - "__type__": "cc.Node", - "_name": "btn_delete", - "_objFlags": 0, - "_parent": { - "__id__": 176 - }, - "_children": [], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 187 - } - ], - "_prefab": { - "__id__": 188 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 38, - "height": 31 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 200, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 186 + "__id__": 108 }, - "_enabled": true, + "_enabled": false, "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "f46147b7-0e49-46bf-87ed-8f56ffcf6364" + "__uuid__": "9bbda31e-ad49-43c9-aaf2-f7d9896bac69" }, - "_type": 0, - "_sizeMode": 1, + "_type": 1, + "_sizeMode": 0, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", @@ -6759,46 +4410,7 @@ "asset": { "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" }, - "fileId": "aaELmN/khG1odFMNDwR1jb", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 176 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "4aeaa41a-98b4-463a-96e9-82fb9bf0a483" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "69YKA6LFdLSqk8VyashUl8", + "fileId": "1aDg9RrnlPRKHbh1dwYhrP", "sync": false }, { @@ -6817,24 +4429,24 @@ "_name": "blacklist", "_objFlags": 0, "_parent": { - "__id__": 66 + "__id__": 71 }, "_children": [ { - "__id__": 193 + "__id__": 128 }, { - "__id__": 196 + "__id__": 131 }, { - "__id__": 199 + "__id__": 134 } ], "_active": false, "_level": 3, "_components": [], "_prefab": { - "__id__": 211 + "__id__": 152 }, "_opacity": 255, "_color": { @@ -6885,18 +4497,18 @@ "_name": "lb", "_objFlags": 0, "_parent": { - "__id__": 192 + "__id__": 127 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 194 + "__id__": 129 } ], "_prefab": { - "__id__": 195 + "__id__": 130 }, "_opacity": 255, "_color": { @@ -6947,7 +4559,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 193 + "__id__": 128 }, "_enabled": true, "_useOriginalSize": false, @@ -6985,18 +4597,18 @@ "_name": "min_max", "_objFlags": 0, "_parent": { - "__id__": 192 + "__id__": 127 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 197 + "__id__": 132 } ], "_prefab": { - "__id__": 198 + "__id__": 133 }, "_opacity": 255, "_color": { @@ -7047,7 +4659,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 196 + "__id__": 131 }, "_enabled": true, "_useOriginalSize": false, @@ -7082,31 +4694,31 @@ }, { "__type__": "cc.Node", - "_name": "friend_frame", + "_name": "blacklist", "_objFlags": 0, "_parent": { - "__id__": 192 + "__id__": 127 }, "_children": [ { - "__id__": 200 + "__id__": 135 }, { - "__id__": 203 - }, - { - "__id__": 206 + "__id__": 142 } ], "_active": true, "_level": 4, "_components": [ { - "__id__": 209 + "__id__": 150 + }, + { + "__id__": 140 } ], "_prefab": { - "__id__": 210 + "__id__": 151 }, "_opacity": 255, "_color": { @@ -7118,8 +4730,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 474, - "height": 61 + "width": 480, + "height": 320 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -7129,7 +4741,7 @@ "_position": { "__type__": "cc.Vec3", "x": 0, - "y": 100, + "y": -14, "z": 0 }, "_scale": { @@ -7154,21 +4766,31 @@ }, { "__type__": "cc.Node", - "_name": "user_icon", + "_name": "scrollBar", "_objFlags": 0, "_parent": { - "__id__": 199 + "__id__": 134 }, - "_children": [], - "_active": true, - "_level": 5, + "_children": [ + { + "__id__": 136 + } + ], + "_active": false, + "_level": 0, "_components": [ { - "__id__": 201 + "__id__": 139 + }, + { + "__id__": 147 + }, + { + "__id__": 148 } ], "_prefab": { - "__id__": 202 + "__id__": 149 }, "_opacity": 255, "_color": { @@ -7180,17 +4802,79 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 50, - "height": 50 + "width": 12, + "height": 320 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 1, "y": 0.5 }, "_position": { "__type__": "cc.Vec3", - "x": -198, + "x": 240, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "_parent": { + "__id__": 135 + }, + "_children": [], + "_active": true, + "_level": 0, + "_components": [ + { + "__id__": 137 + } + ], + "_prefab": { + "__id__": 138 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 10, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -1, "y": 0, "z": 0 }, @@ -7219,15 +4903,15 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 200 + "__id__": 136 }, "_enabled": true, "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "296421c1-9db7-4fdc-8350-3d2e654fcafd" + "__uuid__": "5c3bb932-6c3c-468f-88a9-c8c61d458641" }, - "_type": 0, + "_type": 1, "_sizeMode": 0, "_fillType": 0, "_fillCenter": { @@ -7250,26 +4934,75 @@ "asset": { "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" }, - "fileId": "650OFnO1RGr4aA1/A37cKl", + "fileId": "a33xX7jTlMk5/3Cy8dpnGk", "sync": false }, + { + "__type__": "cc.Scrollbar", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 135 + }, + "_enabled": true, + "_scrollView": { + "__id__": 140 + }, + "_touching": false, + "_opacity": 255, + "enableAutoHide": true, + "autoHideTime": 1, + "_N$handle": { + "__id__": 137 + }, + "_N$direction": 1, + "_id": "" + }, + { + "__type__": "cc.ScrollView", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 134 + }, + "_enabled": true, + "horizontal": false, + "vertical": true, + "inertia": true, + "brake": 0.75, + "elastic": true, + "bounceDuration": 0.23, + "scrollEvents": [], + "cancelInnerEvents": true, + "_N$content": { + "__id__": 141 + }, + "content": { + "__id__": 141 + }, + "_N$horizontalScrollBar": null, + "_N$verticalScrollBar": { + "__id__": 139 + }, + "_id": "" + }, { "__type__": "cc.Node", - "_name": "lb", + "_name": "content", "_objFlags": 0, "_parent": { - "__id__": 199 + "__id__": 142 }, "_children": [], "_active": true, - "_level": 5, + "_level": 0, "_components": [ { - "__id__": 204 + "__id__": 145 } ], "_prefab": { - "__id__": 205 + "__id__": 146 }, "_opacity": 255, "_color": { @@ -7281,24 +5014,24 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 112.12, - "height": 40 + "width": 480, + "height": 400 }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, - "y": 0.5 + "y": 1 }, "_position": { "__type__": "cc.Vec3", - "x": -118, - "y": 0, + "x": 0, + "y": 159, "z": 0 }, "_scale": { "__type__": "cc.Vec3", - "x": 0.4, - "y": 0.4, + "x": 1, + "y": 1, "z": 1 }, "_rotationX": 0, @@ -7315,61 +5048,27 @@ "groupIndex": 0, "_id": "" }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 203 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "Name", - "_N$string": "Name", - "_fontSize": 40, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": { - "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" - }, - "_isSystemFontUsed": false, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 1, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" - }, - "fileId": "cdNC3vtY5OiY5KDmmOLcw5", - "sync": false - }, { "__type__": "cc.Node", - "_name": "btn_escape", + "_name": "view", "_objFlags": 0, "_parent": { - "__id__": 199 + "__id__": 134 }, - "_children": [], + "_children": [ + { + "__id__": 141 + } + ], "_active": true, - "_level": 5, + "_level": 0, "_components": [ { - "__id__": 207 + "__id__": 143 } ], "_prefab": { - "__id__": 208 + "__id__": 144 }, "_opacity": 255, "_color": { @@ -7381,8 +5080,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 38, - "height": 31 + "width": 480, + "height": 320 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -7391,7 +5090,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": 200, + "x": 0, "y": 0, "z": 0 }, @@ -7415,21 +5114,118 @@ "groupIndex": 0, "_id": "" }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 142 + }, + "_enabled": true, + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0, + "_N$inverted": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" + }, + "fileId": "278i37T3ZAJZ9RuOaLM01f", + "sync": false + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 141 + }, + "_enabled": true, + "_layoutSize": { + "__type__": "cc.Size", + "width": 300, + "height": 200 + }, + "_resize": 1, + "_N$layoutType": 2, + "_N$padding": 0, + "_N$cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_N$startAxis": 0, + "_N$paddingLeft": 0, + "_N$paddingRight": 0, + "_N$paddingTop": 0, + "_N$paddingBottom": 0, + "_N$spacingX": 0, + "_N$spacingY": 8, + "_N$verticalDirection": 1, + "_N$horizontalDirection": 0, + "_N$affectedByScale": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" + }, + "fileId": "c0IgMt0/RI/452+5eEhvwA", + "sync": false + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 135 + }, + "_enabled": true, + "alignMode": 0, + "_target": null, + "_alignFlags": 37, + "_left": 350.07654921020657, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 237, + "_id": "" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 206 + "__id__": 135 }, "_enabled": true, "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "a9da83e2-0dc5-484b-83c1-6328f719126e" + "__uuid__": "5fe5dcaa-b513-4dc5-a166-573627b3a159" }, - "_type": 0, - "_sizeMode": 1, + "_type": 1, + "_sizeMode": 0, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", @@ -7451,7 +5247,7 @@ "asset": { "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" }, - "fileId": "51cVINpnFD0LsXimp4bO/l", + "fileId": "9dS1uZDAREuLZHOvHl9O9x", "sync": false }, { @@ -7459,16 +5255,16 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 199 + "__id__": 134 }, - "_enabled": true, + "_enabled": false, "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "4aeaa41a-98b4-463a-96e9-82fb9bf0a483" + "__uuid__": "9bbda31e-ad49-43c9-aaf2-f7d9896bac69" }, - "_type": 0, - "_sizeMode": 1, + "_type": 1, + "_sizeMode": 0, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", @@ -7490,7 +5286,7 @@ "asset": { "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" }, - "fileId": "6b8jR+4apFY5LlBx8ZHljZ", + "fileId": "84RYfcxbhCkaLVXdYqY3Tw", "sync": false }, { @@ -7524,17 +5320,20 @@ }, "_children": [ { - "__id__": 214 + "__id__": 155 }, { - "__id__": 217 + "__id__": 158 + }, + { + "__id__": 170 } ], "_active": true, "_level": 2, "_components": [], "_prefab": { - "__id__": 240 + "__id__": 195 }, "_opacity": 255, "_color": { @@ -7585,18 +5384,18 @@ "_name": "lb", "_objFlags": 0, "_parent": { - "__id__": 213 + "__id__": 154 }, "_children": [], - "_active": true, + "_active": false, "_level": 3, "_components": [ { - "__id__": 215 + "__id__": 156 } ], "_prefab": { - "__id__": 216 + "__id__": 157 }, "_opacity": 255, "_color": { @@ -7647,7 +5446,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 214 + "__id__": 155 }, "_enabled": true, "_useOriginalSize": false, @@ -7680,25 +5479,451 @@ }, { "__type__": "cc.Node", - "_name": "btn_search", + "_name": "New EditBox", "_objFlags": 0, "_parent": { - "__id__": 213 + "__id__": 154 }, "_children": [ { - "__id__": 218 + "__id__": 159 + }, + { + "__id__": 162 + }, + { + "__id__": 165 } ], "_active": true, "_level": 3, "_components": [ { - "__id__": 238 + "__id__": 168 } ], "_prefab": { - "__id__": 239 + "__id__": 169 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 280, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 50.7, + "y": -192.8, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "BACKGROUND_SPRITE", + "_objFlags": 0, + "_parent": { + "__id__": 158 + }, + "_children": [], + "_active": false, + "_level": 2, + "_components": [ + { + "__id__": 160 + } + ], + "_prefab": { + "__id__": 161 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 280, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 159 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "ff0e91c7-55c6-4086-a39f-cb6e457b8c3b" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" + }, + "fileId": "4fZMjIPrFPVZgzmt4uwZCh", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "TEXT_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 158 + }, + "_children": [], + "_active": false, + "_level": 2, + "_components": [ + { + "__id__": 163 + } + ], + "_prefab": { + "__id__": 164 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 278, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -138, + "y": 15, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 162 + }, + "_enabled": true, + "_useOriginalSize": true, + "_string": "", + "_N$string": "", + "_fontSize": 15, + "_lineHeight": 40, + "_enableWrapText": false, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 1, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" + }, + "fileId": "90T8B4Z7hOjrkJ/LKzBQ4L", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "PLACEHOLDER_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 158 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 166 + } + ], + "_prefab": { + "__id__": 167 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 278, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -138, + "y": 15, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 165 + }, + "_enabled": true, + "_useOriginalSize": true, + "_string": "Enter name here...", + "_N$string": "Enter name here...", + "_fontSize": 15, + "_lineHeight": 30, + "_enableWrapText": false, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 1, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" + }, + "fileId": "8bc2iJTrREApoJcZ3JS4fF", + "sync": false + }, + { + "__type__": "cc.EditBox", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 158 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "", + "_tabIndex": 0, + "editingDidBegan": [], + "textChanged": [], + "editingDidEnded": [], + "editingReturn": [], + "_N$backgroundImage": { + "__uuid__": "ff0e91c7-55c6-4086-a39f-cb6e457b8c3b" + }, + "_N$returnType": 0, + "_N$inputFlag": 5, + "_N$inputMode": 6, + "_N$fontSize": 15, + "_N$lineHeight": 40, + "_N$fontColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$placeholder": "Enter name here...", + "_N$placeholderFontSize": 15, + "_N$placeholderFontColor": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_N$maxLength": 30, + "_N$stayOnTop": false, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" + }, + "fileId": "fbX2qGqbRNWbJ7H5gJJo/p", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn_search", + "_objFlags": 0, + "_parent": { + "__id__": 154 + }, + "_children": [ + { + "__id__": 171 + } + ], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 191 + }, + { + "__id__": 192 + } + ], + "_prefab": { + "__id__": 194 }, "_opacity": 255, "_color": { @@ -7720,7 +5945,7 @@ }, "_position": { "__type__": "cc.Vec3", - "x": 207.5, + "x": 219.7, "y": -194, "z": 0 }, @@ -7749,24 +5974,24 @@ "_name": "search", "_objFlags": 0, "_parent": { - "__id__": 217 + "__id__": 170 }, "_children": [ { - "__id__": 219 + "__id__": 172 }, { - "__id__": 222 + "__id__": 175 }, { - "__id__": 225 + "__id__": 178 } ], "_active": false, "_level": 4, "_components": [], "_prefab": { - "__id__": 237 + "__id__": 190 }, "_opacity": 255, "_color": { @@ -7817,18 +6042,18 @@ "_name": "lb", "_objFlags": 0, "_parent": { - "__id__": 218 + "__id__": 171 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 220 + "__id__": 173 } ], "_prefab": { - "__id__": 221 + "__id__": 174 }, "_opacity": 255, "_color": { @@ -7879,7 +6104,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 219 + "__id__": 172 }, "_enabled": true, "_useOriginalSize": false, @@ -7917,18 +6142,18 @@ "_name": "min_max", "_objFlags": 0, "_parent": { - "__id__": 218 + "__id__": 171 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 223 + "__id__": 176 } ], "_prefab": { - "__id__": 224 + "__id__": 177 }, "_opacity": 255, "_color": { @@ -7979,7 +6204,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 222 + "__id__": 175 }, "_enabled": true, "_useOriginalSize": false, @@ -8017,28 +6242,28 @@ "_name": "friend_frame", "_objFlags": 0, "_parent": { - "__id__": 218 + "__id__": 171 }, "_children": [ { - "__id__": 226 + "__id__": 179 }, { - "__id__": 229 + "__id__": 182 }, { - "__id__": 232 + "__id__": 185 } ], "_active": true, "_level": 4, "_components": [ { - "__id__": 235 + "__id__": 188 } ], "_prefab": { - "__id__": 236 + "__id__": 189 }, "_opacity": 255, "_color": { @@ -8089,18 +6314,18 @@ "_name": "user_icon", "_objFlags": 0, "_parent": { - "__id__": 225 + "__id__": 178 }, "_children": [], "_active": true, "_level": 5, "_components": [ { - "__id__": 227 + "__id__": 180 } ], "_prefab": { - "__id__": 228 + "__id__": 181 }, "_opacity": 255, "_color": { @@ -8151,7 +6376,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 226 + "__id__": 179 }, "_enabled": true, "_srcBlendFactor": 770, @@ -8190,18 +6415,18 @@ "_name": "lb", "_objFlags": 0, "_parent": { - "__id__": 225 + "__id__": 178 }, "_children": [], "_active": true, "_level": 5, "_components": [ { - "__id__": 230 + "__id__": 183 } ], "_prefab": { - "__id__": 231 + "__id__": 184 }, "_opacity": 255, "_color": { @@ -8252,7 +6477,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 229 + "__id__": 182 }, "_enabled": true, "_useOriginalSize": false, @@ -8290,18 +6515,18 @@ "_name": "btn_escape", "_objFlags": 0, "_parent": { - "__id__": 225 + "__id__": 178 }, "_children": [], "_active": true, "_level": 5, "_components": [ { - "__id__": 233 + "__id__": 186 } ], "_prefab": { - "__id__": 234 + "__id__": 187 }, "_opacity": 255, "_color": { @@ -8352,7 +6577,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 232 + "__id__": 185 }, "_enabled": true, "_srcBlendFactor": 770, @@ -8391,7 +6616,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 225 + "__id__": 178 }, "_enabled": true, "_srcBlendFactor": 770, @@ -8441,7 +6666,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 217 + "__id__": 170 }, "_enabled": true, "_srcBlendFactor": 770, @@ -8464,6 +6689,86 @@ "_atlas": null, "_id": "" }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 170 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 193 + } + ], + "_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__": 1 + }, + "component": "", + "_componentId": "37ef4/rnoBFN72hokbtrmjZ", + "handler": "onSearch", + "customEventData": "" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -8486,6 +6791,67 @@ "fileId": "5fDSdwdxdOfr7LVeSURhRR", "sync": false }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 1024, + "_originalHeight": 512, + "_id": "" + }, + { + "__type__": "37ef4/rnoBFN72hokbtrmjZ", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "nd_friend": { + "__id__": 75 + }, + "nd_apply": { + "__id__": 101 + }, + "nd_blacklist": { + "__id__": 127 + }, + "edit_find": { + "__id__": 168 + }, + "pb_oneFriend": { + "__uuid__": "cef03361-18fb-4a3d-a4fd-6babd3277617" + }, + "content_friend": { + "__id__": 89 + }, + "content_apply": { + "__id__": 115 + }, + "content_blacklist": { + "__id__": 141 + }, + "_id": "" + }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/res/prefabs/NUI/UIMain.prefab b/assets/res/prefabs/NUI/UIMain.prefab index 0a36a725..aa3b9367 100644 --- a/assets/res/prefabs/NUI/UIMain.prefab +++ b/assets/res/prefabs/NUI/UIMain.prefab @@ -31981,7 +31981,7 @@ "__id__": 662 }, "pb_friend": { - "__uuid__": "f5fe16a6-cbf6-489f-8f1d-dac0d59cba8c" + "__uuid__": "1c680882-520e-49af-b19e-b28ac201d38e" }, "_id": "" }, diff --git a/assets/res/prefabs/NUI/singleFriend.prefab b/assets/res/prefabs/NUI/singleFriend.prefab new file mode 100644 index 00000000..e1aead84 --- /dev/null +++ b/assets/res/prefabs/NUI/singleFriend.prefab @@ -0,0 +1,3933 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "singleFriend", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 5 + }, + { + "__id__": 8 + }, + { + "__id__": 51 + }, + { + "__id__": 94 + }, + { + "__id__": 99 + }, + { + "__id__": 104 + } + ], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 109 + }, + { + "__id__": 110 + } + ], + "_prefab": { + "__id__": 111 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 474, + "height": 61 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 100, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "user_icon", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 3 + } + ], + "_prefab": { + "__id__": 4 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -198, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "296421c1-9db7-4fdc-8350-3d2e654fcafd" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1fQQCGuNNHKJ9CxhP/uQXk", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "lb", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_level": 5, + "_components": [ + { + "__id__": 6 + } + ], + "_prefab": { + "__id__": 7 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 112.12, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -118, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.4, + "y": 0.4, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "Name", + "_N$string": "Name", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": { + "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" + }, + "_isSystemFontUsed": false, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0e9+WqxNZPGIsLN9smI20c", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn_blacklist", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 9 + } + ], + "_active": false, + "_level": 5, + "_components": [ + { + "__id__": 47 + }, + { + "__id__": 48 + } + ], + "_prefab": { + "__id__": 50 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 38, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 140, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "pb_blacklist", + "_objFlags": 0, + "_parent": { + "__id__": 8 + }, + "_children": [ + { + "__id__": 10 + }, + { + "__id__": 15 + } + ], + "_active": false, + "_level": 6, + "_components": [], + "_prefab": { + "__id__": 46 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1024, + "height": 512 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -140, + "y": -100, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 9 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 11 + }, + { + "__id__": 12 + }, + { + "__id__": 13 + } + ], + "_prefab": { + "__id__": 14 + }, + "_opacity": 180, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1024, + "height": 512 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "94JX7eHPVHPphqQ8yG+rCr", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "uibg", + "_objFlags": 0, + "_parent": { + "__id__": 9 + }, + "_children": [ + { + "__id__": 16 + }, + { + "__id__": 29 + }, + { + "__id__": 32 + }, + { + "__id__": 38 + } + ], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 44 + } + ], + "_prefab": { + "__id__": 45 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 400, + "height": 400 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "top", + "_objFlags": 0, + "_parent": { + "__id__": 15 + }, + "_children": [ + { + "__id__": 17 + }, + { + "__id__": 20 + } + ], + "_active": true, + "_level": 4, + "_components": [], + "_prefab": { + "__id__": 28 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 95.9405941, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1.1235955, + "y": 0.990099, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "_parent": { + "__id__": 16 + }, + "_children": [], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 18 + } + ], + "_prefab": { + "__id__": 19 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 247, + "g": 194, + "b": 59, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 323.47, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 55, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.6, + "y": 0.6, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 17 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "BLACKLIST", + "_N$string": "BLACKLIST", + "_fontSize": 60, + "_lineHeight": 80, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "eeyEdxJktOuIrmJiVMEq3m", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn_close", + "_objFlags": 0, + "_parent": { + "__id__": 16 + }, + "_children": [ + { + "__id__": 21 + } + ], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 25 + } + ], + "_prefab": { + "__id__": 27 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 35, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 250.3, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Background", + "_objFlags": 0, + "_parent": { + "__id__": 20 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 22 + }, + { + "__id__": 23 + } + ], + "_prefab": { + "__id__": 24 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 230, + "g": 230, + "b": 230, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 35, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -106, + "y": 64, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 21 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c74f487b-f4cf-4ca8-b3b8-39a24aa87336" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 21 + }, + "_enabled": true, + "alignMode": 0, + "_target": null, + "_alignFlags": 45, + "_left": -106, + "_right": 106, + "_top": -64, + "_bottom": 64, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 40, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3ciiwmzRJIqLB0fJM5BjJc", + "sync": false + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 20 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 26 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 230, + "g": 230, + "b": 230, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "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": 120, + "g": 120, + "b": 120, + "a": 200 + }, + "_N$normalSprite": { + "__uuid__": "c74f487b-f4cf-4ca8-b3b8-39a24aa87336" + }, + "_N$pressedSprite": { + "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" + }, + "pressedSprite": { + "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" + }, + "_N$hoverSprite": { + "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" + }, + "hoverSprite": { + "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" + }, + "_N$disabledSprite": { + "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" + }, + "_N$target": { + "__id__": 21 + }, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 9 + }, + "component": "", + "_componentId": "cf2ed9KRgRBOoCppbCs7MQ+", + "handler": "onClose", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3fwULult9A74RuH0R21x4h", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "16+2W/GKdFPY1D58aNAQah", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "txt", + "_objFlags": 0, + "_parent": { + "__id__": 15 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 30 + } + ], + "_prefab": { + "__id__": 31 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 531.43, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -178, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.6741573, + "y": 0.5940594, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 29 + }, + "_enabled": true, + "_useOriginalSize": true, + "_string": "Are you sure you want to add \nplayer to the blacklist?", + "_N$string": "Are you sure you want to add \nplayer to the blacklist?", + "_fontSize": 40, + "_lineHeight": 60, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 0, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "76fe8TomRGhoa8ZuFGRlur", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btnCancel", + "_objFlags": 0, + "_parent": { + "__id__": 15 + }, + "_children": [ + { + "__id__": 33 + } + ], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 36 + } + ], + "_prefab": { + "__id__": 37 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 109, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -90, + "y": -150, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Label", + "_objFlags": 0, + "_parent": { + "__id__": 32 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 34 + } + ], + "_prefab": { + "__id__": 35 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 152.36, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.4, + "y": 0.5, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 33 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "Cancel", + "_N$string": "Cancel", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": { + "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" + }, + "_isSystemFontUsed": false, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "53tn10Kw9KgYPQ6XLCsYkz", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 32 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "7327600a-7c4e-4fed-a79a-dcf9775e5d9e" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "baQJLJhZJAdZXYV2DbLpFb", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btnCancel", + "_objFlags": 0, + "_parent": { + "__id__": 15 + }, + "_children": [ + { + "__id__": 39 + } + ], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 42 + } + ], + "_prefab": { + "__id__": 43 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 109, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 90, + "y": -150, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Label", + "_objFlags": 0, + "_parent": { + "__id__": 38 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 40 + } + ], + "_prefab": { + "__id__": 41 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 134.6, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.4, + "y": 0.5, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 39 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "Agree", + "_N$string": "Agree", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": { + "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" + }, + "_isSystemFontUsed": false, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1a1jjeNHpBJrsluMz/Wajy", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 38 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "d522382e-867a-4671-b390-d6e77e6b03f0" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "eerrfpnh5BMqq0RN8SrCZV", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 15 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b6189259-190d-4fc6-b890-f104d58a7685" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e1I3Ts7+tDNaBECymM2jC3", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9boZNKs1tORJ509Odv121o", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 8 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "09273b1b-7f0f-4879-ba9d-8191ba0d723d" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 8 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 49 + } + ], + "_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__": 1 + }, + "component": "", + "_componentId": "10eae77eBZFuakWmUvVdRX8", + "handler": "onAddToBlacklist", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "eeeRN1zyVPOpcZ5Gt4RXWk", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn_delete", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 52 + } + ], + "_active": false, + "_level": 5, + "_components": [ + { + "__id__": 90 + }, + { + "__id__": 91 + } + ], + "_prefab": { + "__id__": 93 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 38, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 200, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "pb_delete", + "_objFlags": 0, + "_parent": { + "__id__": 51 + }, + "_children": [ + { + "__id__": 53 + }, + { + "__id__": 58 + } + ], + "_active": false, + "_level": 6, + "_components": [], + "_prefab": { + "__id__": 89 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1024, + "height": 512 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -340, + "y": -100, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 52 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 54 + }, + { + "__id__": 55 + }, + { + "__id__": 56 + } + ], + "_prefab": { + "__id__": 57 + }, + "_opacity": 180, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1024, + "height": 512 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 53 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 53 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_id": "" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 53 + }, + "_enabled": true, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b34WBKv8BE4JENjaHohCL6", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "uibg", + "_objFlags": 0, + "_parent": { + "__id__": 52 + }, + "_children": [ + { + "__id__": 59 + }, + { + "__id__": 72 + }, + { + "__id__": 75 + }, + { + "__id__": 81 + } + ], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 87 + } + ], + "_prefab": { + "__id__": 88 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 400, + "height": 400 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "top", + "_objFlags": 0, + "_parent": { + "__id__": 58 + }, + "_children": [ + { + "__id__": 60 + }, + { + "__id__": 63 + } + ], + "_active": true, + "_level": 4, + "_components": [], + "_prefab": { + "__id__": 71 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 0, + "height": 0 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 95.9405941, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1.1235955, + "y": 0.990099, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "_parent": { + "__id__": 59 + }, + "_children": [], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 61 + } + ], + "_prefab": { + "__id__": 62 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 247, + "g": 194, + "b": 59, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 233.41, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 55, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.6, + "y": 0.6, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 60 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "DELETE", + "_N$string": "DELETE", + "_fontSize": 60, + "_lineHeight": 80, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8349U+sKRNtrzTnk9IMHOT", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn_close", + "_objFlags": 0, + "_parent": { + "__id__": 59 + }, + "_children": [ + { + "__id__": 64 + } + ], + "_active": true, + "_level": 3, + "_components": [ + { + "__id__": 68 + } + ], + "_prefab": { + "__id__": 70 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 35, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 250.3, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Background", + "_objFlags": 0, + "_parent": { + "__id__": 63 + }, + "_children": [], + "_active": true, + "_level": 2, + "_components": [ + { + "__id__": 65 + }, + { + "__id__": 66 + } + ], + "_prefab": { + "__id__": 67 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 230, + "g": 230, + "b": 230, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 35, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -106, + "y": 64, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 64 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "c74f487b-f4cf-4ca8-b3b8-39a24aa87336" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 64 + }, + "_enabled": true, + "alignMode": 0, + "_target": null, + "_alignFlags": 45, + "_left": -106, + "_right": 106, + "_top": -64, + "_bottom": 64, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 40, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "03IlGzba5HvbhnhQKOdbxh", + "sync": false + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 63 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 69 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 230, + "g": 230, + "b": 230, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "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": 120, + "g": 120, + "b": 120, + "a": 200 + }, + "_N$normalSprite": { + "__uuid__": "c74f487b-f4cf-4ca8-b3b8-39a24aa87336" + }, + "_N$pressedSprite": { + "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" + }, + "pressedSprite": { + "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" + }, + "_N$hoverSprite": { + "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" + }, + "hoverSprite": { + "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" + }, + "_N$disabledSprite": { + "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" + }, + "_N$target": { + "__id__": 64 + }, + "_id": "" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 52 + }, + "component": "", + "_componentId": "cf2ed9KRgRBOoCppbCs7MQ+", + "handler": "onClose", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "43mNtAcohDy5b9RXMieWEe", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9e61BGQtNHG5MbUCB6pDv/", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "txt", + "_objFlags": 0, + "_parent": { + "__id__": 58 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 73 + } + ], + "_prefab": { + "__id__": 74 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 453.57, + "height": 240 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -150, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.6741573, + "y": 0.5940594, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 72 + }, + "_enabled": true, + "_useOriginalSize": true, + "_string": "Are you sure you want to \ndelete this friend?\n\n", + "_N$string": "Are you sure you want to \ndelete this friend?\n\n", + "_fontSize": 40, + "_lineHeight": 60, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 0, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b5zlZMEZxBXqDLI9ELStvu", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btnCancel", + "_objFlags": 0, + "_parent": { + "__id__": 58 + }, + "_children": [ + { + "__id__": 76 + } + ], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 79 + } + ], + "_prefab": { + "__id__": 80 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 109, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": -90, + "y": -150, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Label", + "_objFlags": 0, + "_parent": { + "__id__": 75 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 77 + } + ], + "_prefab": { + "__id__": 78 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 152.36, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.4, + "y": 0.5, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 76 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "Cancel", + "_N$string": "Cancel", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": { + "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" + }, + "_isSystemFontUsed": false, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e6IriFJ15B/7KkFKa72Z9E", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 75 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "7327600a-7c4e-4fed-a79a-dcf9775e5d9e" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "26qX0QTx9JYJjU5NybIcx+", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btnCancel", + "_objFlags": 0, + "_parent": { + "__id__": 58 + }, + "_children": [ + { + "__id__": 82 + } + ], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 85 + } + ], + "_prefab": { + "__id__": 86 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 109, + "height": 45 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 90, + "y": -150, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "New Label", + "_objFlags": 0, + "_parent": { + "__id__": 81 + }, + "_children": [], + "_active": true, + "_level": 4, + "_components": [ + { + "__id__": 83 + } + ], + "_prefab": { + "__id__": 84 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 134.6, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 0.4, + "y": 0.5, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 82 + }, + "_enabled": true, + "_useOriginalSize": false, + "_string": "Agree", + "_N$string": "Agree", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": { + "__uuid__": "ef2a48cc-8f1a-4965-b9ba-3deca921b41a" + }, + "_isSystemFontUsed": false, + "_spacingX": 0, + "_batchAsBitmap": false, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8e90X9a75FHZVk0iCMp7Js", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 81 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "d522382e-867a-4671-b390-d6e77e6b03f0" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "49sCwLLfJKqavNjM2wBiYt", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 58 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "b6189259-190d-4fc6-b890-f104d58a7685" + }, + "_type": 1, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "24Kq9ljO5OoarrJ2LC1qNp", + "sync": false + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "213OG5KatKb5O+e/TIio+t", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 51 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f785331b-52b1-48f8-a56d-2352bf162e2d" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 51 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 92 + } + ], + "_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__": 1 + }, + "component": "", + "_componentId": "10eae77eBZFuakWmUvVdRX8", + "handler": "onDelete", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "26D7F0jftM/7bbmxNLUJZI", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn_refuse", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": false, + "_level": 5, + "_components": [ + { + "__id__": 95 + }, + { + "__id__": 96 + } + ], + "_prefab": { + "__id__": 98 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 38, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 140, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 94 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "6380d7bb-74dc-4a37-a1ac-efa2b2fc7024" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 94 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 97 + } + ], + "_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__": 1 + }, + "component": "", + "_componentId": "10eae77eBZFuakWmUvVdRX8", + "handler": "onRefuse", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1e5zBIAGtLWohKPFlPDe/y", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn_agree", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": false, + "_level": 5, + "_components": [ + { + "__id__": 100 + }, + { + "__id__": 101 + } + ], + "_prefab": { + "__id__": 103 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 38, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 200, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 99 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "f46147b7-0e49-46bf-87ed-8f56ffcf6364" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 99 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 102 + } + ], + "_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__": 1 + }, + "component": "", + "_componentId": "10eae77eBZFuakWmUvVdRX8", + "handler": "onAgree", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "40OZAFLHZF4IeM0TzZ4gw1", + "sync": false + }, + { + "__type__": "cc.Node", + "_name": "btn_escape", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": false, + "_level": 5, + "_components": [ + { + "__id__": 105 + }, + { + "__id__": 106 + } + ], + "_prefab": { + "__id__": 108 + }, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 38, + "height": 31 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_position": { + "__type__": "cc.Vec3", + "x": 200, + "y": 0, + "z": 0 + }, + "_scale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_rotationX": 0, + "_rotationY": 0, + "_quat": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_skewX": 0, + "_skewY": 0, + "groupIndex": 0, + "_id": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 104 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a9da83e2-0dc5-484b-83c1-6328f719126e" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 104 + }, + "_enabled": true, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [ + { + "__id__": 107 + } + ], + "_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__": 1 + }, + "component": "", + "_componentId": "10eae77eBZFuakWmUvVdRX8", + "handler": "onAddToFriend", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2d/NqQOZZE8KOg87KXLX3N", + "sync": false + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "4aeaa41a-98b4-463a-96e9-82fb9bf0a483" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_state": 0, + "_atlas": null, + "_id": "" + }, + { + "__type__": "10eae77eBZFuakWmUvVdRX8", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "addToBlack": { + "__id__": 8 + }, + "delete": { + "__id__": 51 + }, + "agree": { + "__id__": 99 + }, + "refuse": { + "__id__": 94 + }, + "addToFriend": { + "__id__": 104 + }, + "playerHead": { + "__id__": 2 + }, + "playerName": { + "__id__": 5 + }, + "_id": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "85MacCmkNLGYRPgJ5fdT0J", + "sync": false + } +] \ No newline at end of file diff --git a/assets/res/prefabs/NUI/singleFriend.prefab.meta b/assets/res/prefabs/NUI/singleFriend.prefab.meta new file mode 100644 index 00000000..2e40c740 --- /dev/null +++ b/assets/res/prefabs/NUI/singleFriend.prefab.meta @@ -0,0 +1,7 @@ +{ + "ver": "1.0.1", + "uuid": "cef03361-18fb-4a3d-a4fd-6babd3277617", + "optimizationPolicy": "AUTO", + "asyncLoadAssets": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/scripts/UI/UIFriend/SingleFriendList.js b/assets/scripts/UI/UIFriend/SingleFriendList.js new file mode 100644 index 00000000..5b538e3e --- /dev/null +++ b/assets/scripts/UI/UIFriend/SingleFriendList.js @@ -0,0 +1,71 @@ +cc.Class({ + extends: cc.Component, + + properties: { + addToBlack: { + default: null, + type: cc.Node, + }, + delete: { + default: null, + type: cc.Node, + }, + agree: { + default: null, + type: cc.Node, + }, + refuse: { + default: null, + type: cc.Node, + }, + addToFriend: { + default: null, + type: cc.Node, + }, + playerHead: { + default: null, + type: cc.Node, + }, + playerName: { + default: null, + type: cc.Node, + }, + }, + + setToFriendList() { + this.addToBlack.active = true; + this.delete.active = true; + }, + + setToApplyList() { + this.agree.active = true; + this.refuse.active = true; + }, + + setToBlackList() { + this.addToFriend.active = true; + }, + + // friendlist + onAddToBlacklist() { + console.log("加入黑名单"); + }, + + onDelete() { + console.log("删除好友"); + }, + + // applylist + onAgree() { + console.log("同意申请"); + }, + + onRefuse() { + console.log("拒绝申请"); + }, + + // blacklist + onAddToFriend() { + console.log("加入好友列表"); + }, +}); diff --git a/assets/scripts/UI/UIFriend/SingleFriendList.js.meta b/assets/scripts/UI/UIFriend/SingleFriendList.js.meta new file mode 100644 index 00000000..64f521ed --- /dev/null +++ b/assets/scripts/UI/UIFriend/SingleFriendList.js.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.0.5", + "uuid": "10eaeefb-7816-45b9-a916-994bd57515fc", + "isPlugin": false, + "loadPluginInWeb": true, + "loadPluginInNative": true, + "loadPluginInEditor": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/scripts/UI/UIFriend/UIFriendNew.js b/assets/scripts/UI/UIFriend/UIFriendNew.js new file mode 100644 index 00000000..0913e710 --- /dev/null +++ b/assets/scripts/UI/UIFriend/UIFriendNew.js @@ -0,0 +1,141 @@ +var SDKManage = require("SDKManage"); +cc.Class({ + extends: cc.Component, + + properties: { + nd_friend: { + default: null, + type: cc.Node, + }, + + nd_apply: { + default: null, + type: cc.Node, + }, + + nd_blacklist: { + default: null, + type: cc.Node, + }, + + edit_find: { + default: null, + type: cc.EditBox, + }, + + pb_oneFriend: { + default: null, + type: cc.Prefab, + }, + + // contents + content_friend: { + default: null, + type: cc.Node, + }, + + content_apply: { + default: null, + type: cc.Node, + }, + + content_blacklist: { + default: null, + type: cc.Node, + }, + }, + + onLoad() { + // get friendlist + cc.chatMgr.sendmsg("CMFriendList"); + cc.Notifier.on("friendlist", this, this.getFriendList.bind(this)); + this.setToFriend(); + }, + + start() {}, + + setToNone() { + this.edit_find.string = ""; + this.nd_friend.active = false; + this.nd_apply.active = false; + this.nd_blacklist.active = false; + }, + + testinitOne(index) { + for (let i = 0; i < 50; i += 1) { + const node = cc.instantiate(this.pb_oneFriend); + switch (index) { + case 0: + node.getComponent("SingleFriendList").setToFriendList(); + this.content_friend.addChild(node); + break; + case 1: + node.getComponent("SingleFriendList").setToApplyList(); + this.content_apply.addChild(node); + break; + case 2: + node.getComponent("SingleFriendList").setToBlackList(); + this.content_blacklist.addChild(node); + break; + } + } + }, + + setToFriend() { + this.setToNone(); + this.nd_friend.active = true; + this.testinitOne(0); + }, + + setToApply() { + this.setToNone(); + this.nd_apply.active = true; + this.testinitOne(1); + }, + + setToBlackList() { + this.setToNone(); + this.nd_blacklist.active = true; + this.testinitOne(2); + }, + + onClose() { + this.node.destroy(); + }, + + onSearch() { + console.log(`search:${this.edit_find.string}`); + }, + + onClickToggle(event, data) { + switch (data) { + case "0": + this.setToFriend(); + break; + case "1": + this.setToApply(); + break; + case "2": + this.setToBlackList(); + break; + } + }, + + getFriendList(msg) { + this.friend_list = []; + for (var m = 0; m < msg.friend_list.length; m++) { + this.friend_list.push(msg.friend_list[m]); + } + for (var i = this.friend_list.length - 1; i >= 0; i--) { + if ( + this.friend_list[i].base_data["account_id"] == + SDKManage.account_id + ) { + this.friend_list.splice(i, 1); + break; + } + } + + console.log(this.friend_list); + }, +}); diff --git a/assets/scripts/UI/UIFriend/UIFriendNew.js.meta b/assets/scripts/UI/UIFriend/UIFriendNew.js.meta new file mode 100644 index 00000000..1b3b4f84 --- /dev/null +++ b/assets/scripts/UI/UIFriend/UIFriendNew.js.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.0.5", + "uuid": "37ef4feb-9e80-4537-bda1-a246edae68d9", + "isPlugin": false, + "loadPluginInWeb": true, + "loadPluginInNative": true, + "loadPluginInEditor": false, + "subMetas": {} +} \ No newline at end of file diff --git a/assets/scripts/UI/UIFriend/UIFriend.js b/assets/scripts/UI/UIFriend/UIFriendTmp.js similarity index 95% rename from assets/scripts/UI/UIFriend/UIFriend.js rename to assets/scripts/UI/UIFriend/UIFriendTmp.js index e04bcdb3..73b39f8b 100644 --- a/assets/scripts/UI/UIFriend/UIFriend.js +++ b/assets/scripts/UI/UIFriend/UIFriendTmp.js @@ -1,618 +1,618 @@ -var gameConfig = require('gameConfig'); -var playerData = require('playerData'); -var SDKManage = require('SDKManage'); -var NetManage = require('NetManage'); -var Main = require('Main'); -cc.Class({ - extends: cc.Component, - - properties: { - nd_friendlist: { - default: null, - type: cc.Node, - }, - - tableview_friend: { - default: null, - type: cc.Node, - }, - - tableview_recommend: { - default: null, - type: cc.Node, - }, - - nd_friendbg: { - default: null, - type: cc.Node, - }, - - nd_friendpick: { - default: null, - type: cc.Node, - }, - - mask: { - default: null, - type: cc.Node, - }, - - nd_applylist: { - default: null, - type: cc.Node, - }, - - tableview_apply: { - default: null, - type: cc.Node, - }, - - nd_applybg: { - default: null, - type: cc.Node, - }, - - nd_applypick: { - default: null, - type: cc.Node, - }, - - editbox: { - default: null, - type: cc.EditBox, - }, - - nd_delfriend: { - default: null, - type: cc.Node, - }, - - lb_delname: { - default: null, - type: cc.Label, - }, - - pb_friendinfo: { - default: null, - type: cc.Prefab, - }, - - lb_friendnum: { - default: null, - type: cc.Label, - }, - - lb_blacknum: { - default: null, - type: cc.Label, - }, - - nd_blacklist: { - default: null, - type: cc.Node, - }, - - tableview_black: { - default: null, - type: cc.Node, - }, - - nd_blackbg: { - default: null, - type: cc.Node, - }, - - nd_blackpick: { - default: null, - type: cc.Node, - }, - - pb_addblacktip: { - default: null, - type: cc.Prefab, - }, - }, - - // LIFE-CYCLE CALLBACKS: - - // onLoad () {}, - onLoad() { - cc.Notifier.on('selectuser', this, this.selectuser.bind(this)); - cc.Notifier.on('friendlist', this, this.SMFriendList.bind(this)); - cc.Notifier.on('SMFriendApply', this, this.SMFriendApply.bind(this)); - cc.Notifier.on( - 'SMFriendApplyList', - this, - this.SMFriendApplyList.bind(this) - ); - cc.Notifier.on('delfriend', this, this.delfriend.bind(this)); - cc.Notifier.on('SMFriendAgree', this, this.SMFriendAgree.bind(this)); - cc.Notifier.on('SMFriendRefuse', this, this.SMFriendRefuse.bind(this)); - cc.Notifier.on('SMFriendDelete', this, this.SMFriendDelete.bind(this)); - cc.Notifier.on( - 'SMDeleteFriendNotify', - this, - this.SMDeleteFriendNotify.bind(this) - ); - cc.Notifier.on( - 'SMUserInfoUpdate', - this, - this.SMUserInfoUpdate.bind(this) - ); - cc.Notifier.on('showplayerinfo', this, this.showplayerinfo.bind(this)); - cc.Notifier.on('blacklist', this, this.SMFriendBlackList.bind(this)); - cc.Notifier.on( - 'SMFriendDeleteBlack', - this, - this.SMFriendDeleteBlack.bind(this) - ); - cc.Notifier.on( - 'SMFriendAddBlack', - this, - this.SMFriendAddBlack.bind(this) - ); - cc.Notifier.on( - 'onbtnAddblacktip', - this, - this.onbtnAddblacktip.bind(this) - ); - cc.Notifier.on( - 'SMRecommandFriend', - this, - this.SMRecommandFriend.bind(this) - ); - cc.Notifier.on( - 'selectUserByName', - this, - this.selectUserByName.bind(this) - ); - this.editbox.node.on('editing-did-began', this.callbackbegin, this); - this.editbox.node.on('editing-did-ended', this.callbackend, this); - cc.Notifier.on('dirtywordcheck', this, this.dirtywordcheck.bind(this)); - this.lb_friendnum.string = - cc.language.stringformat('friendnum') + '0 / 30'; - this.lb_blacknum.string = - cc.language.stringformat('blacknum') + '0 / 10'; - - this.friend_list = []; - this.num = 0; - this.time = 0; - this.close_status = true; - this.user_name = cc.language.stringformat('nickname'); - }, - onDestroy() { - cc.Notifier.off('selectuser', this); - cc.Notifier.off('friendlist', this); - cc.Notifier.off('SMFriendApply', this); - cc.Notifier.off('SMFriendApplyList', this); - cc.Notifier.off('delfriend', this); - cc.Notifier.off('SMFriendAgree', this); - cc.Notifier.off('SMFriendRefuse', this); - cc.Notifier.off('SMFriendDelete', this); - cc.Notifier.off('SMUserInfoUpdate', this); - cc.Notifier.off('showplayerinfo', this); - cc.Notifier.off('blacklist', this); - cc.Notifier.off('SMFriendDeleteBlack', this); - cc.Notifier.off('SMFriendAddBlack', this); - cc.Notifier.off('onbtnAddblacktip', this); - cc.Notifier.off('SMRecommandFriend', this); - cc.Notifier.off('SMDeleteFriendNotify', this); - cc.Notifier.off('selectUserByName', this); - cc.Notifier.off('dirtywordcheck', this); - }, - - start() { - // if (playerData.friend_red != 1) { - // this.onBtnFriend(); - // } else { - // this.onBtnApply(); - // } - // var date = new Date(); - //请求推荐列表 - cc.chatMgr.sendmsg('CMRecommandFriend'); - }, - - SMRecommandFriend(msg) { - var recommend_list = msg.friend_list; - if (recommend_list.length > 3) { - recommend_list.length = 3; - } - - this.tableview_recommend - .getComponent('tableView') - .initTableView(recommend_list.length, { - array: recommend_list, - target: this, - }); - }, - - onBtnRecommend() { - //请求推荐列表 - cc.Notifier.emit('changerecommend'); - cc.chatMgr.sendmsg('CMRecommandFriend'); - }, - - onBtnFriend() { - this.nd_friendbg.active = false; - this.nd_friendpick.active = true; - this.nd_applybg.active = true; - this.nd_applypick.active = false; - this.nd_friendlist.active = true; - this.nd_applylist.active = false; - this.nd_blacklist.active = false; - this.nd_blackbg.active = true; - this.nd_blackpick.active = false; - - this.nd_delfriend.active = false; - //请求好友信息 - cc.chatMgr.sendmsg('CMFriendList'); - }, - - onBtnApply() { - this.nd_friendbg.active = true; - this.nd_friendpick.active = false; - this.nd_applybg.active = false; - this.nd_applypick.active = true; - this.nd_friendlist.active = false; - this.nd_applylist.active = true; - this.nd_blacklist.active = false; - this.nd_blackbg.active = true; - this.nd_blackpick.active = false; - - this.nd_delfriend.active = false; - //请求申请列表信息 - cc.chatMgr.sendmsg('CMFriendApplyList'); - }, - - onBtnBlack() { - this.nd_friendbg.active = true; - this.nd_friendpick.active = false; - this.nd_applybg.active = true; - this.nd_applypick.active = false; - this.nd_friendlist.active = false; - this.nd_applylist.active = false; - this.nd_blacklist.active = true; - this.nd_blackbg.active = false; - this.nd_blackpick.active = true; - - this.nd_delfriend.active = false; - //请求黑名单信息 - cc.chatMgr.sendmsg('CMFriendBlackList'); - }, - - SMFriendBlackList() { - if (!playerData.black_list) { - return; - } - this.blacknum = playerData.black_list.length; - if (this.blacknum <= 10) { - this.lb_blacknum.string = - cc.language.stringformat('blacknum') + this.blacknum + ' / 10'; - } else { - this.lb_blacknum.string = - cc.language.stringformat('blacknum') + '10 / 10'; - } - this.tableview_black - .getComponent('tableView') - .initTableView(playerData.black_list.length, { - array: playerData.black_list, - target: this, - }); - }, - - SMFriendList(msg) { - this.friend_list = []; - for (var m = 0; m < msg.friend_list.length; m++) { - this.friend_list.push(msg.friend_list[m]); - } - for (var i = this.friend_list.length - 1; i >= 0; i--) { - if ( - this.friend_list[i].base_data['account_id'] == - SDKManage.account_id - ) { - this.friend_list.splice(i, 1); - break; - } - } - this.friend_list.sort((a, b) => { - var aonline = parseInt(a.base_data['_online']); - var bonline = parseInt(b.base_data['_online']); - if (aonline == bonline) { - return ( - a.temp_custom_data['value1'] - b.temp_custom_data['value1'] - ); - } else { - return bonline - aonline; - } - }); - - this.num = this.friend_list.length; - if (this.num <= 30) { - this.lb_friendnum.string = - cc.language.stringformat('friendnum') + this.num + ' / 30'; - } else { - this.lb_friendnum.string = - cc.language.stringformat('friendnum') + '30 / 30'; - } - this.tableview_friend - .getComponent('tableView') - .initTableView(this.friend_list.length, { - array: this.friend_list, - target: this, - }); - }, - - SMFriendApplyList(msg) { - var apply_list = msg.apply_list; - this.tableview_apply - .getComponent('tableView') - .initTableView(apply_list.length, { - array: apply_list, - target: this, - }); - }, - - getChannelID() { - var ChannelId = 6000; - if (cc.sys.platform == cc.sys.WECHAT_GAME) { - ChannelId = 6001; - } else if (cc.sys.platform == cc.sys.QQ_PLAY) { - ChannelId = 6002; - } else if (window.qg == cc.sys.QQ_PLAY) { - ChannelId = 6003; - } else { - ChannelId = 6000; - } - return ChannelId; - }, - - SMFriendApply(msg) { - if (msg.errcode == 1) { - cc.uiHelper.showTips(msg.errmsg); - } else if (msg.errcode == 21) { - cc.uiHelper.showTips(msg.errmsg); - this.editbox.string = ''; - } else { - cc.uiHelper.showTips(cc.language.stringformat('hasinvite')); - this.editbox.string = ''; - } - }, - - // onBtnSelectFriend(){ - // if (this.num >= 30) { - // cc.uiHelper.showTips('好友数量已达上限'); - // this.editbox.string = '' - // return - // } - // if (this.editbox.string != ''&&this.editbox.string) { - // this.accountid = this.getChannelID() + '_2004_' + this.editbox.string - // NetManage.selectUser(this.accountid) - // } - // }, - - onBtnSelectFriend() { - if ( - this.editbox.string == '' || - this.editbox.string.indexOf(' ') != -1 - ) { - cc.uiHelper.showTips(cc.language.stringformat('strnotkong')); - } else if ( - this.editbox.string == cc.language.stringformat('nickname') - ) { - cc.uiHelper.showTips(cc.language.stringformat('weijinzi')); - this.editbox.string = ''; - } else if (this.editbox.string.indexOf(' ') != -1) { - cc.uiHelper.showTips(cc.language.stringformat('weijinzi')); - this.editbox.string = ''; - } else { - NetManage.dirtyWordCheck(this.editbox.string); - } - }, - - dirtywordcheck(obj) { - if (obj.errcode == 0) { - if (this.num >= 30) { - cc.uiHelper.showTips(cc.language.stringformat('friendnummax')); - this.editbox.string = ''; - return; - } - if (this.editbox.string != '' && this.editbox.string) { - NetManage.selectUserByName(this.editbox.string); - } - } else { - cc.uiHelper.showTips(cc.language.stringformat('weijinzi')); - this.editbox.string = ''; - } - }, - - selectUserByName(obj) { - if (obj.errcode == 0) { - //cc.uiHelper.showTips('已经向对方发送好友申请'); - this.editbox.string = ''; - cc.chatMgr.sendmsg('CMFriendApply', { - friend_id: obj.fri_accountid, - msg: '', - }); - } else { - cc.uiHelper.showTips(cc.language.stringformat('notplayer')); - this.editbox.string = ''; - } - }, - - selectuser(obj) { - if (obj.errcode == 0) { - this.user_name = obj.name; - cc.chatMgr.sendmsg('CMFriendApply', { - friend_id: this.accountid, - msg: '', - }); - } else { - cc.uiHelper.showTips(cc.language.stringformat('notplayer')); - this.editbox.string = ''; - } - }, - - SMFriendAgree(msg) { - if (msg.errcode == null || msg.errcode == 0) { - cc.uiHelper.showTips(cc.language.stringformat('addsuccess')); - var num = this.num + 1; - if (num <= 30) { - this.lb_friendnum.string = - cc.language.stringformat('friendnum') + num + ' / 30'; - } else { - this.lb_friendnum.string = - cc.language.stringformat('friendnum') + '30 / 30'; - } - cc.chatMgr.sendmsg('CMFriendApplyList'); - } else { - cc.uiHelper.showTips(msg.errmsg); - } - }, - - SMFriendRefuse(msg) { - cc.chatMgr.sendmsg('CMFriendApplyList'); - }, - - delfriend(name) { - this.nd_delfriend.active = true; - this.lb_delname.string = name; - }, - - onBtnTrueDel() { - cc.chatMgr.sendmsg('CMFriendDelete', { - friend_id: this.accountid, - }); - }, - - onBtnCancelDel() { - this.nd_delfriend.active = false; - }, - - SMFriendDelete(msg) { - if (msg.errcode == null || msg.errcode == 0) { - cc.uiHelper.showTips(cc.language.stringformat('deletesuccess')); - } - this.nd_delfriend.active = false; - cc.chatMgr.sendmsg('CMFriendList'); - }, - - SMFriendDeleteBlack(msg) { - if (msg.errcode == null || msg.errcode == 0) { - cc.uiHelper.showTips(cc.language.stringformat('deletesuccess')); - } - cc.chatMgr.sendmsg('CMFriendBlackList'); - }, - - SMFriendAddBlack(msg) { - // if (msg.errcode == null || msg.errcode == 0) { - // cc.uiHelper.showTips('已将对方拉黑'); - // } - cc.Notifier.emit('closefriendinfo'); - cc.chatMgr.sendmsg('CMFriendList'); - cc.chatMgr.sendmsg('CMFriendBlackList'); - }, - - SMDeleteFriendNotify(msg) { - if (this.friend_list == null) { - return; - } - for (var i = this.friend_list.length - 1; i >= 0; i--) { - if ( - this.friend_list[i].base_data['account_id'] == - msg.user_list[0] || - this.friend_list[i].base_data['account_id'] == - SDKManage.account_id - ) { - this.friend_list.splice(i, 1); - break; - } - } - this.num = this.friend_list.length; - if (this.num <= 30) { - this.lb_friendnum.string = - cc.language.stringformat('friendnum') + this.num + ' / 30'; - } else { - this.lb_friendnum.string = - cc.language.stringformat('friendnum') + '30 / 30'; - } - this.tableview_friend - .getComponent('tableView') - .initTableView(this.friend_list.length, { - array: this.friend_list, - target: this, - }); - }, - - SMUserInfoUpdate(msg) { - if (msg.user_infos[0].base_data['account_id'] == SDKManage.account_id) { - return; - } - var flag = 0; - for (var i = 0; i < this.friend_list.length; i++) { - if ( - this.friend_list[i].base_data['account_id'] == - msg.user_infos[0].base_data['account_id'] - ) { - flag = 1; - this.friend_list[i].base_data = msg.user_infos[0].base_data; - } - } - if (flag == 0) { - var num = this.num + 1; - if (num <= 30) { - this.lb_friendnum.string = - cc.language.stringformat('friendnum') + num + ' / 30'; - } else { - this.lb_friendnum.string = - cc.language.stringformat('friendnum') + '30 / 30'; - } - this.friend_list.push(msg.user_infos[0]); - } - this.tableview_friend - .getComponent('tableView') - .initTableView(this.friend_list.length, { - array: this.friend_list, - target: this, - }); - }, - - close() { - if (!this.close_status) { - return; - } - cc.director.emit('checkred'); - this.node.destroy(); - }, - - showplayerinfo(obj) { - // var nd = cc.instantiate(this.pb_friendinfo) - // nd.zIndex = 2 - // this.node.addChild(nd) - // nd.getComponent("UIFriendInfo").showAddBtn(obj) - }, - - callbackbegin(editbox) { - // 回调的参数是 editbox 组件 - // do whatever you want with the editbox - this.close_status = false; - }, - - callbackend(editbox) { - this.close_status = true; - }, - - onBtnInviteFriend() { - SDKManage.Share('addfriend', 'wxAddFriend=1'); - }, - - onbtnAddblacktip(obj) { - var nd = cc.instantiate(this.pb_addblacktip); - nd.zIndex = 2; - this.node.addChild(nd); - nd.getComponent('addblacktip').showblacktip(obj); - }, - - onClose() { - this.node.destroy(); - }, -}); +var gameConfig = require('gameConfig'); +var playerData = require('playerData'); +var SDKManage = require('SDKManage'); +var NetManage = require('NetManage'); +var Main = require('Main'); +cc.Class({ + extends: cc.Component, + + properties: { + nd_friendlist: { + default: null, + type: cc.Node, + }, + + tableview_friend: { + default: null, + type: cc.Node, + }, + + tableview_recommend: { + default: null, + type: cc.Node, + }, + + nd_friendbg: { + default: null, + type: cc.Node, + }, + + nd_friendpick: { + default: null, + type: cc.Node, + }, + + mask: { + default: null, + type: cc.Node, + }, + + nd_applylist: { + default: null, + type: cc.Node, + }, + + tableview_apply: { + default: null, + type: cc.Node, + }, + + nd_applybg: { + default: null, + type: cc.Node, + }, + + nd_applypick: { + default: null, + type: cc.Node, + }, + + editbox: { + default: null, + type: cc.EditBox, + }, + + nd_delfriend: { + default: null, + type: cc.Node, + }, + + lb_delname: { + default: null, + type: cc.Label, + }, + + pb_friendinfo: { + default: null, + type: cc.Prefab, + }, + + lb_friendnum: { + default: null, + type: cc.Label, + }, + + lb_blacknum: { + default: null, + type: cc.Label, + }, + + nd_blacklist: { + default: null, + type: cc.Node, + }, + + tableview_black: { + default: null, + type: cc.Node, + }, + + nd_blackbg: { + default: null, + type: cc.Node, + }, + + nd_blackpick: { + default: null, + type: cc.Node, + }, + + pb_addblacktip: { + default: null, + type: cc.Prefab, + }, + }, + + // LIFE-CYCLE CALLBACKS: + + // onLoad () {}, + onLoad() { + cc.Notifier.on('selectuser', this, this.selectuser.bind(this)); + cc.Notifier.on('friendlist', this, this.SMFriendList.bind(this)); + cc.Notifier.on('SMFriendApply', this, this.SMFriendApply.bind(this)); + cc.Notifier.on( + 'SMFriendApplyList', + this, + this.SMFriendApplyList.bind(this) + ); + cc.Notifier.on('delfriend', this, this.delfriend.bind(this)); + cc.Notifier.on('SMFriendAgree', this, this.SMFriendAgree.bind(this)); + cc.Notifier.on('SMFriendRefuse', this, this.SMFriendRefuse.bind(this)); + cc.Notifier.on('SMFriendDelete', this, this.SMFriendDelete.bind(this)); + cc.Notifier.on( + 'SMDeleteFriendNotify', + this, + this.SMDeleteFriendNotify.bind(this) + ); + cc.Notifier.on( + 'SMUserInfoUpdate', + this, + this.SMUserInfoUpdate.bind(this) + ); + cc.Notifier.on('showplayerinfo', this, this.showplayerinfo.bind(this)); + cc.Notifier.on('blacklist', this, this.SMFriendBlackList.bind(this)); + cc.Notifier.on( + 'SMFriendDeleteBlack', + this, + this.SMFriendDeleteBlack.bind(this) + ); + cc.Notifier.on( + 'SMFriendAddBlack', + this, + this.SMFriendAddBlack.bind(this) + ); + cc.Notifier.on( + 'onbtnAddblacktip', + this, + this.onbtnAddblacktip.bind(this) + ); + cc.Notifier.on( + 'SMRecommandFriend', + this, + this.SMRecommandFriend.bind(this) + ); + cc.Notifier.on( + 'selectUserByName', + this, + this.selectUserByName.bind(this) + ); + this.editbox.node.on('editing-did-began', this.callbackbegin, this); + this.editbox.node.on('editing-did-ended', this.callbackend, this); + cc.Notifier.on('dirtywordcheck', this, this.dirtywordcheck.bind(this)); + this.lb_friendnum.string = + cc.language.stringformat('friendnum') + '0 / 30'; + this.lb_blacknum.string = + cc.language.stringformat('blacknum') + '0 / 10'; + + this.friend_list = []; + this.num = 0; + this.time = 0; + this.close_status = true; + this.user_name = cc.language.stringformat('nickname'); + }, + onDestroy() { + cc.Notifier.off('selectuser', this); + cc.Notifier.off('friendlist', this); + cc.Notifier.off('SMFriendApply', this); + cc.Notifier.off('SMFriendApplyList', this); + cc.Notifier.off('delfriend', this); + cc.Notifier.off('SMFriendAgree', this); + cc.Notifier.off('SMFriendRefuse', this); + cc.Notifier.off('SMFriendDelete', this); + cc.Notifier.off('SMUserInfoUpdate', this); + cc.Notifier.off('showplayerinfo', this); + cc.Notifier.off('blacklist', this); + cc.Notifier.off('SMFriendDeleteBlack', this); + cc.Notifier.off('SMFriendAddBlack', this); + cc.Notifier.off('onbtnAddblacktip', this); + cc.Notifier.off('SMRecommandFriend', this); + cc.Notifier.off('SMDeleteFriendNotify', this); + cc.Notifier.off('selectUserByName', this); + cc.Notifier.off('dirtywordcheck', this); + }, + + start() { + // if (playerData.friend_red != 1) { + // this.onBtnFriend(); + // } else { + // this.onBtnApply(); + // } + // var date = new Date(); + //请求推荐列表 + cc.chatMgr.sendmsg('CMRecommandFriend'); + }, + + SMRecommandFriend(msg) { + var recommend_list = msg.friend_list; + if (recommend_list.length > 3) { + recommend_list.length = 3; + } + + this.tableview_recommend + .getComponent('tableView') + .initTableView(recommend_list.length, { + array: recommend_list, + target: this, + }); + }, + + onBtnRecommend() { + //请求推荐列表 + cc.Notifier.emit('changerecommend'); + cc.chatMgr.sendmsg('CMRecommandFriend'); + }, + + onBtnFriend() { + this.nd_friendbg.active = false; + this.nd_friendpick.active = true; + this.nd_applybg.active = true; + this.nd_applypick.active = false; + this.nd_friendlist.active = true; + this.nd_applylist.active = false; + this.nd_blacklist.active = false; + this.nd_blackbg.active = true; + this.nd_blackpick.active = false; + + this.nd_delfriend.active = false; + //请求好友信息 + cc.chatMgr.sendmsg('CMFriendList'); + }, + + onBtnApply() { + this.nd_friendbg.active = true; + this.nd_friendpick.active = false; + this.nd_applybg.active = false; + this.nd_applypick.active = true; + this.nd_friendlist.active = false; + this.nd_applylist.active = true; + this.nd_blacklist.active = false; + this.nd_blackbg.active = true; + this.nd_blackpick.active = false; + + this.nd_delfriend.active = false; + //请求申请列表信息 + cc.chatMgr.sendmsg('CMFriendApplyList'); + }, + + onBtnBlack() { + this.nd_friendbg.active = true; + this.nd_friendpick.active = false; + this.nd_applybg.active = true; + this.nd_applypick.active = false; + this.nd_friendlist.active = false; + this.nd_applylist.active = false; + this.nd_blacklist.active = true; + this.nd_blackbg.active = false; + this.nd_blackpick.active = true; + + this.nd_delfriend.active = false; + //请求黑名单信息 + cc.chatMgr.sendmsg('CMFriendBlackList'); + }, + + SMFriendBlackList() { + if (!playerData.black_list) { + return; + } + this.blacknum = playerData.black_list.length; + if (this.blacknum <= 10) { + this.lb_blacknum.string = + cc.language.stringformat('blacknum') + this.blacknum + ' / 10'; + } else { + this.lb_blacknum.string = + cc.language.stringformat('blacknum') + '10 / 10'; + } + this.tableview_black + .getComponent('tableView') + .initTableView(playerData.black_list.length, { + array: playerData.black_list, + target: this, + }); + }, + + SMFriendList(msg) { + this.friend_list = []; + for (var m = 0; m < msg.friend_list.length; m++) { + this.friend_list.push(msg.friend_list[m]); + } + for (var i = this.friend_list.length - 1; i >= 0; i--) { + if ( + this.friend_list[i].base_data['account_id'] == + SDKManage.account_id + ) { + this.friend_list.splice(i, 1); + break; + } + } + this.friend_list.sort((a, b) => { + var aonline = parseInt(a.base_data['_online']); + var bonline = parseInt(b.base_data['_online']); + if (aonline == bonline) { + return ( + a.temp_custom_data['value1'] - b.temp_custom_data['value1'] + ); + } else { + return bonline - aonline; + } + }); + + this.num = this.friend_list.length; + if (this.num <= 30) { + this.lb_friendnum.string = + cc.language.stringformat('friendnum') + this.num + ' / 30'; + } else { + this.lb_friendnum.string = + cc.language.stringformat('friendnum') + '30 / 30'; + } + this.tableview_friend + .getComponent('tableView') + .initTableView(this.friend_list.length, { + array: this.friend_list, + target: this, + }); + }, + + SMFriendApplyList(msg) { + var apply_list = msg.apply_list; + this.tableview_apply + .getComponent('tableView') + .initTableView(apply_list.length, { + array: apply_list, + target: this, + }); + }, + + getChannelID() { + var ChannelId = 6000; + if (cc.sys.platform == cc.sys.WECHAT_GAME) { + ChannelId = 6001; + } else if (cc.sys.platform == cc.sys.QQ_PLAY) { + ChannelId = 6002; + } else if (window.qg == cc.sys.QQ_PLAY) { + ChannelId = 6003; + } else { + ChannelId = 6000; + } + return ChannelId; + }, + + SMFriendApply(msg) { + if (msg.errcode == 1) { + cc.uiHelper.showTips(msg.errmsg); + } else if (msg.errcode == 21) { + cc.uiHelper.showTips(msg.errmsg); + this.editbox.string = ''; + } else { + cc.uiHelper.showTips(cc.language.stringformat('hasinvite')); + this.editbox.string = ''; + } + }, + + // onBtnSelectFriend(){ + // if (this.num >= 30) { + // cc.uiHelper.showTips('好友数量已达上限'); + // this.editbox.string = '' + // return + // } + // if (this.editbox.string != ''&&this.editbox.string) { + // this.accountid = this.getChannelID() + '_2004_' + this.editbox.string + // NetManage.selectUser(this.accountid) + // } + // }, + + onBtnSelectFriend() { + if ( + this.editbox.string == '' || + this.editbox.string.indexOf(' ') != -1 + ) { + cc.uiHelper.showTips(cc.language.stringformat('strnotkong')); + } else if ( + this.editbox.string == cc.language.stringformat('nickname') + ) { + cc.uiHelper.showTips(cc.language.stringformat('weijinzi')); + this.editbox.string = ''; + } else if (this.editbox.string.indexOf(' ') != -1) { + cc.uiHelper.showTips(cc.language.stringformat('weijinzi')); + this.editbox.string = ''; + } else { + NetManage.dirtyWordCheck(this.editbox.string); + } + }, + + dirtywordcheck(obj) { + if (obj.errcode == 0) { + if (this.num >= 30) { + cc.uiHelper.showTips(cc.language.stringformat('friendnummax')); + this.editbox.string = ''; + return; + } + if (this.editbox.string != '' && this.editbox.string) { + NetManage.selectUserByName(this.editbox.string); + } + } else { + cc.uiHelper.showTips(cc.language.stringformat('weijinzi')); + this.editbox.string = ''; + } + }, + + selectUserByName(obj) { + if (obj.errcode == 0) { + //cc.uiHelper.showTips('已经向对方发送好友申请'); + this.editbox.string = ''; + cc.chatMgr.sendmsg('CMFriendApply', { + friend_id: obj.fri_accountid, + msg: '', + }); + } else { + cc.uiHelper.showTips(cc.language.stringformat('notplayer')); + this.editbox.string = ''; + } + }, + + selectuser(obj) { + if (obj.errcode == 0) { + this.user_name = obj.name; + cc.chatMgr.sendmsg('CMFriendApply', { + friend_id: this.accountid, + msg: '', + }); + } else { + cc.uiHelper.showTips(cc.language.stringformat('notplayer')); + this.editbox.string = ''; + } + }, + + SMFriendAgree(msg) { + if (msg.errcode == null || msg.errcode == 0) { + cc.uiHelper.showTips(cc.language.stringformat('addsuccess')); + var num = this.num + 1; + if (num <= 30) { + this.lb_friendnum.string = + cc.language.stringformat('friendnum') + num + ' / 30'; + } else { + this.lb_friendnum.string = + cc.language.stringformat('friendnum') + '30 / 30'; + } + cc.chatMgr.sendmsg('CMFriendApplyList'); + } else { + cc.uiHelper.showTips(msg.errmsg); + } + }, + + SMFriendRefuse(msg) { + cc.chatMgr.sendmsg('CMFriendApplyList'); + }, + + delfriend(name) { + this.nd_delfriend.active = true; + this.lb_delname.string = name; + }, + + onBtnTrueDel() { + cc.chatMgr.sendmsg('CMFriendDelete', { + friend_id: this.accountid, + }); + }, + + onBtnCancelDel() { + this.nd_delfriend.active = false; + }, + + SMFriendDelete(msg) { + if (msg.errcode == null || msg.errcode == 0) { + cc.uiHelper.showTips(cc.language.stringformat('deletesuccess')); + } + this.nd_delfriend.active = false; + cc.chatMgr.sendmsg('CMFriendList'); + }, + + SMFriendDeleteBlack(msg) { + if (msg.errcode == null || msg.errcode == 0) { + cc.uiHelper.showTips(cc.language.stringformat('deletesuccess')); + } + cc.chatMgr.sendmsg('CMFriendBlackList'); + }, + + SMFriendAddBlack(msg) { + // if (msg.errcode == null || msg.errcode == 0) { + // cc.uiHelper.showTips('已将对方拉黑'); + // } + cc.Notifier.emit('closefriendinfo'); + cc.chatMgr.sendmsg('CMFriendList'); + cc.chatMgr.sendmsg('CMFriendBlackList'); + }, + + SMDeleteFriendNotify(msg) { + if (this.friend_list == null) { + return; + } + for (var i = this.friend_list.length - 1; i >= 0; i--) { + if ( + this.friend_list[i].base_data['account_id'] == + msg.user_list[0] || + this.friend_list[i].base_data['account_id'] == + SDKManage.account_id + ) { + this.friend_list.splice(i, 1); + break; + } + } + this.num = this.friend_list.length; + if (this.num <= 30) { + this.lb_friendnum.string = + cc.language.stringformat('friendnum') + this.num + ' / 30'; + } else { + this.lb_friendnum.string = + cc.language.stringformat('friendnum') + '30 / 30'; + } + this.tableview_friend + .getComponent('tableView') + .initTableView(this.friend_list.length, { + array: this.friend_list, + target: this, + }); + }, + + SMUserInfoUpdate(msg) { + if (msg.user_infos[0].base_data['account_id'] == SDKManage.account_id) { + return; + } + var flag = 0; + for (var i = 0; i < this.friend_list.length; i++) { + if ( + this.friend_list[i].base_data['account_id'] == + msg.user_infos[0].base_data['account_id'] + ) { + flag = 1; + this.friend_list[i].base_data = msg.user_infos[0].base_data; + } + } + if (flag == 0) { + var num = this.num + 1; + if (num <= 30) { + this.lb_friendnum.string = + cc.language.stringformat('friendnum') + num + ' / 30'; + } else { + this.lb_friendnum.string = + cc.language.stringformat('friendnum') + '30 / 30'; + } + this.friend_list.push(msg.user_infos[0]); + } + this.tableview_friend + .getComponent('tableView') + .initTableView(this.friend_list.length, { + array: this.friend_list, + target: this, + }); + }, + + close() { + if (!this.close_status) { + return; + } + cc.director.emit('checkred'); + this.node.destroy(); + }, + + showplayerinfo(obj) { + // var nd = cc.instantiate(this.pb_friendinfo) + // nd.zIndex = 2 + // this.node.addChild(nd) + // nd.getComponent("UIFriendInfo").showAddBtn(obj) + }, + + callbackbegin(editbox) { + // 回调的参数是 editbox 组件 + // do whatever you want with the editbox + this.close_status = false; + }, + + callbackend(editbox) { + this.close_status = true; + }, + + onBtnInviteFriend() { + SDKManage.Share('addfriend', 'wxAddFriend=1'); + }, + + onbtnAddblacktip(obj) { + var nd = cc.instantiate(this.pb_addblacktip); + nd.zIndex = 2; + this.node.addChild(nd); + nd.getComponent('addblacktip').showblacktip(obj); + }, + + onClose() { + this.node.destroy(); + }, +}); diff --git a/assets/scripts/UI/UIFriend/UIFriend.js.meta b/assets/scripts/UI/UIFriend/UIFriendTmp.js.meta similarity index 100% rename from assets/scripts/UI/UIFriend/UIFriend.js.meta rename to assets/scripts/UI/UIFriend/UIFriendTmp.js.meta diff --git a/assets/scripts/manages/SDKManage.js b/assets/scripts/manages/SDKManage.js index 19755fc7..1d1a7aa9 100644 --- a/assets/scripts/manages/SDKManage.js +++ b/assets/scripts/manages/SDKManage.js @@ -1,368 +1,368 @@ -var jcfw = require('jcfw'); -var Main = require('Main'); -var Utils = require('Utils'); +var jcfw = require("jcfw"); +var Main = require("Main"); +var Utils = require("Utils"); //var playerData = require("playerData") var jcgamelog = jcfw.gamelog; var jcshare = jcfw.share; -var NetManage = require('NetManage'); -var urlbuilder = require('urlbuilder'); -var httpclient = require('httpclient'); -var wxVoice = require('wxVoice'); +var NetManage = require("NetManage"); +var urlbuilder = require("urlbuilder"); +var httpclient = require("httpclient"); +var wxVoice = require("wxVoice"); cc.interstitialAdTime = 0; cc.notreward = 0; var toCodePoint = function (unicodeSurrogates) { - var r = [], - c = 0, - p = 0, - i = 0; - while (i < unicodeSurrogates.length) { - var pos = i; - c = unicodeSurrogates.charCodeAt(i++); //返回位置的字符的 Unicode 编码 - if (c == 0xfe0f) { - continue; - } - if (p) { - var value = 0x10000 + ((p - 0xd800) << 10) + (c - 0xdc00); - r.push({ - v: value, - pos: pos, - }); //计算4字节的unicode - p = 0; - } else if (0xd800 <= c && c <= 0xdbff) { - p = c; //如果unicode编码在oxD800-0xDBff之间,则需要与后一个字符放在一起 - } else { - r.push({ - v: c, - pos: pos, - }); //如果是2字节,直接将码点转为对应的十六进制形式 - } - } - return r; + var r = [], + c = 0, + p = 0, + i = 0; + while (i < unicodeSurrogates.length) { + var pos = i; + c = unicodeSurrogates.charCodeAt(i++); //返回位置的字符的 Unicode 编码 + if (c == 0xfe0f) { + continue; + } + if (p) { + var value = 0x10000 + ((p - 0xd800) << 10) + (c - 0xdc00); + r.push({ + v: value, + pos: pos, + }); //计算4字节的unicode + p = 0; + } else if (0xd800 <= c && c <= 0xdbff) { + p = c; //如果unicode编码在oxD800-0xDBff之间,则需要与后一个字符放在一起 + } else { + r.push({ + v: c, + pos: pos, + }); //如果是2字节,直接将码点转为对应的十六进制形式 + } + } + return r; }; var SDKManage = function () { - this.isoffical = Main.config.mainConfig.isoffical; - this.checking = false; - this.gameId = 2006; - this.nickName = 'test'; - this.avatarUrl = ''; - this.NodeId = 1; - this.session_id = ''; + this.isoffical = Main.config.mainConfig.isoffical; + this.checking = false; + this.gameId = 2006; + this.nickName = "test"; + this.avatarUrl = ""; + this.NodeId = 1; + this.session_id = ""; - this.m_hiID = 18001; - this.account_id = 0; //玩家账号ID + this.m_hiID = 18001; + this.account_id = 0; //玩家账号ID - // playerData.SDKManage = this - this.getplayerdata = function () { - if (!this.playerData) { - this.playerData = require('playerData'); - } - return this.playerData; - }; - this.sixstr = function (str, maxChars, suffix) { - if (str == '' || str == null) { - return ' '; - } - maxChars = maxChars == null ? 6 : maxChars; - suffix = suffix == null ? '...' : suffix; - maxChars *= 2; + // playerData.SDKManage = this + this.getplayerdata = function () { + if (!this.playerData) { + this.playerData = require("playerData"); + } + return this.playerData; + }; + this.sixstr = function (str, maxChars, suffix) { + if (str == "" || str == null) { + return " "; + } + maxChars = maxChars == null ? 6 : maxChars; + suffix = suffix == null ? "..." : suffix; + maxChars *= 2; - var codeArr = toCodePoint(str); - var numChar = 0; - var index = 0; - for (var i = 0; i < codeArr.length; ++i) { - var code = codeArr[i].v; - var add = 1; - if (code >= 128) { - add = 2; - } + var codeArr = toCodePoint(str); + var numChar = 0; + var index = 0; + for (var i = 0; i < codeArr.length; ++i) { + var code = codeArr[i].v; + var add = 1; + if (code >= 128) { + add = 2; + } - //如果超过了限制,则按上一个为准 - if (numChar + add > maxChars) { - break; - } + //如果超过了限制,则按上一个为准 + if (numChar + add > maxChars) { + break; + } - index = i; + index = i; - //累加 - numChar += add; - } + //累加 + numChar += add; + } - if (codeArr.length - 1 == index) { - return str; - } + if (codeArr.length - 1 == index) { + return str; + } - var more = suffix ? 1 : 0; + var more = suffix ? 1 : 0; - return str.substring(0, codeArr[index - more].pos + 1) + suffix; - }; + return str.substring(0, codeArr[index - more].pos + 1) + suffix; + }; - // 6513 游客 6516 钱包 - this.init = function (channelid = 6513) { - // this.nickName = this.sixstr(this.nickName) - if (cc.sys.platform == cc.sys.WECHAT_GAME) { - this.ChannelId = 6001; - } else if (cc.sys.platform == cc.sys.QQ_PLAY) { - this.ChannelId = 6002; - } else if (window.qg == cc.sys.QQ_PLAY) { - this.ChannelId = 6003; - } else { - this.ChannelId = channelid; //for test - } - // this.getRecommendGames() - cc.SDKManage = this; - jcfw.init(this.ChannelId, this.gameId, this.isoffical); - }; + // 6513 游客 6516 钱包 + this.init = function (channelid = 6513) { + // this.nickName = this.sixstr(this.nickName) + if (cc.sys.platform == cc.sys.WECHAT_GAME) { + this.ChannelId = 6001; + } else if (cc.sys.platform == cc.sys.QQ_PLAY) { + this.ChannelId = 6002; + } else if (window.qg == cc.sys.QQ_PLAY) { + this.ChannelId = 6003; + } else { + this.ChannelId = channelid; //for test + } + // this.getRecommendGames() + cc.SDKManage = this; + jcfw.init(this.ChannelId, this.gameId, this.isoffical); + }; - this.compareVersion = function (v1, v2) { - v1 = v1.split('.'); - v2 = v2.split('.'); - const len = Math.max(v1.length, v2.length); + this.compareVersion = function (v1, v2) { + v1 = v1.split("."); + v2 = v2.split("."); + const len = Math.max(v1.length, v2.length); - while (v1.length < len) { - v1.push('0'); - } - while (v2.length < len) { - v2.push('0'); - } + while (v1.length < len) { + v1.push("0"); + } + while (v2.length < len) { + v2.push("0"); + } - for (let i = 0; i < len; i++) { - const num1 = parseInt(v1[i]); - const num2 = parseInt(v2[i]); + for (let i = 0; i < len; i++) { + const num1 = parseInt(v1[i]); + const num2 = parseInt(v2[i]); - if (num1 > num2) { - return 1; - } else if (num1 < num2) { - return -1; - } - } + if (num1 > num2) { + return 1; + } else if (num1 < num2) { + return -1; + } + } - return 0; - }; + return 0; + }; - this.doLogin = function (res) { - if (this.loginStep < this.logincbarr.length) { - this.logincbarr[this.loginStep](res); - this.loginStep++; - } else { - this.logEvent('loginend', '登录完成'); - var lgtime = Number(new Date().getTime() - this.gameloginstartime); + this.doLogin = function (res) { + if (this.loginStep < this.logincbarr.length) { + this.logincbarr[this.loginStep](res); + this.loginStep++; + } else { + this.logEvent("loginend", "登录完成"); + var lgtime = Number(new Date().getTime() - this.gameloginstartime); - jcgamelog.logEnterMainScene(lgtime); - this.loginOver(); - } - }; + jcgamelog.logEnterMainScene(lgtime); + this.loginOver(); + } + }; - this.gamelogin = function () { - // this.time1 = new Date().getTime() + this.gamelogin = function () { + // this.time1 = new Date().getTime() - var token = cc.sys.localStorage.getItem('token'); - var self = this; + var token = cc.sys.localStorage.getItem("token"); + var self = this; - if (!token || token == '') { - token = jcfw.makeUUID(); - try { - cc.sys.localStorage.setItem('token', token); - } catch (e) {} - } + if (!token || token == "") { + token = jcfw.makeUUID(); + try { + cc.sys.localStorage.setItem("token", token); + } catch (e) {} + } - jcfw.loginUser( - (res) => { - cc.channelid = res.channel; - self.hasLogin = true; - self.logEvent('gamelogin', '游戏登录成功'); + jcfw.loginUser( + (res) => { + cc.channelid = res.channel; + self.hasLogin = true; + self.logEvent("gamelogin", "游戏登录成功"); - self.account_id = res.account_id; - self.session_id = res.session_id; - self.openid = res.openid; + self.account_id = res.account_id; + self.session_id = res.session_id; + self.openid = res.openid; - localStorage.setItem('loginaccount', res.account_id); - localStorage.setItem('loginsession', res.session_id); + localStorage.setItem("loginaccount", res.account_id); + localStorage.setItem("loginsession", res.session_id); - self.doLogin(); - }, - (neterr, logicerr, errmsg) => { - setTimeout(() => { - self.gamelogin(); - }, 1000); - } - ); - }; - this.Login = function (cb) { - this.loginStep = 0; - if (cb) { - this.loginOver = cb; - } - this.logincbarr = []; - this.gameloginstartime = new Date().getTime(); + self.doLogin(); + }, + (neterr, logicerr, errmsg) => { + setTimeout(() => { + self.gamelogin(); + }, 1000); + } + ); + }; + this.Login = function (cb) { + this.loginStep = 0; + if (cb) { + this.loginOver = cb; + } + this.logincbarr = []; + this.gameloginstartime = new Date().getTime(); - this.logincbarr = [ - this.gamelogin.bind(this), - this.initNetManage.bind(this), - this.getUserInfo.bind(this), - this.getothers.bind(this), - ]; - this.doLogin(); - }; + this.logincbarr = [ + this.gamelogin.bind(this), + this.initNetManage.bind(this), + this.getUserInfo.bind(this), + this.getothers.bind(this), + ]; + this.doLogin(); + }; - this.getothers = function () { - var self = this; - this.allcount = 3; - var cb = function () { - self.allcount--; - if (self.allcount <= 0) { - self.gamelogin(); - } - }; - NetManage.getHeroList(cb); - NetManage.getSkinList(cb); - NetManage.getItemList(cb); - }; + this.getothers = function () { + var self = this; + this.allcount = 3; + var cb = function () { + self.allcount--; + if (self.allcount <= 0) { + self.gamelogin(); + } + }; + NetManage.getHeroList(cb); + NetManage.getSkinList(cb); + NetManage.getItemList(cb); + }; - this.initFriendInfo = function () { - var opt = { - account_id: this.account_id, - session_id: this.session_id, - nickname: cc.playerData.name, - avatar_url: cc.playerData.head_id, - sex: 0, - // "proto_version":this.friend_pversion, - server_id: 1, - vip_lv: 0, //性别 - head: Number(cc.playerData.head_frame), //头像框 - }; - cc.chatMgr.initengine(cc.SDKManage.isoffical, opt); - }; + this.initFriendInfo = function () { + var opt = { + account_id: this.account_id, + session_id: this.session_id, + nickname: cc.playerData.name, + avatar_url: cc.playerData.head_id, + sex: 0, + // "proto_version":this.friend_pversion, + server_id: 1, + vip_lv: 0, //性别 + head: Number(cc.playerData.head_frame), //头像框 + }; + cc.chatMgr.initengine(cc.SDKManage.isoffical, opt); + }; - this.getUserInfo = function () { - var self = this; - var cb = function (obj) { - cc.playerData.refreshInfo(obj.info); - self.logEvent('getUserInfo', '获取用户信息成功'); - self.initFriendInfo(); - self.doLogin(); - console.log('改名次数:' + obj.info.rename_count); - if (obj.info.rename_count == 0) { - window.canrename = true; - } else { - window.canrename = false; - } - }; - NetManage.logingame(cb); - }; + this.getUserInfo = function () { + var self = this; + var cb = function (obj) { + cc.playerData.refreshInfo(obj.info); + self.logEvent("getUserInfo", "获取用户信息成功"); + self.initFriendInfo(); + self.doLogin(); + console.log("改名次数:" + obj.info.rename_count); + if (obj.info.rename_count == 0) { + window.canrename = true; + } else { + window.canrename = false; + } + }; + NetManage.logingame(cb); + }; - this.initNetManage = function () { - var self = this; - NetManage.init( - self.account_id, - self.session_id, - self.nickName, - self.avatarUrl - ); - NetManage.getNodeID(() => {}); - // NetManage.getTime(() => {}) + this.initNetManage = function () { + var self = this; + NetManage.init( + self.account_id, + self.session_id, + self.nickName, + self.avatarUrl + ); + NetManage.getNodeID(() => {}); + // NetManage.getTime(() => {}) - console.log('start init 6516'); - self.logEvent('initNetManage', '初始化人物信息'); - setTimeout(() => { - self.doLogin(); - }, 10); - }; + console.log("start init 6516"); + self.logEvent("initNetManage", "初始化人物信息"); + setTimeout(() => { + self.doLogin(); + }, 10); + }; - this.getGameConfig = function () { - var self = this; - var cb = function (res2) { - self.logEvent('getGameConfig', '获取配置信息成功'); - var res = {}; - for (var i = 0; i < res2.length; i++) { - res[res2[i].key] = res2[i].value; - } + this.getGameConfig = function () { + var self = this; + var cb = function (res2) { + self.logEvent("getGameConfig", "获取配置信息成功"); + var res = {}; + for (var i = 0; i < res2.length; i++) { + res[res2[i].key] = res2[i].value; + } - setTimeout(() => { - self.doLogin(); - }, 10); - }; - var cbf = function (res) { - self.getGameConfig(); - }; + setTimeout(() => { + self.doLogin(); + }, 10); + }; + var cbf = function (res) { + self.getGameConfig(); + }; - //cb(this.config) + //cb(this.config) - jcfw.cloud.getConfig('', cb, cbf); - }; + jcfw.cloud.getConfig("", cb, cbf); + }; - this.checkRate = function (nubmer) { - //判断正整数/[1−9]+[0−9]∗]∗/ - var re = /^[0-9]+.?[0-9]*/; // - if (!re.test(nubmer)) { - return false; - } - return true; - }; - this.logEvent = function (k, v) { - jcgamelog.logButtonClick(k, v); + this.checkRate = function (nubmer) { + //判断正整数/[1−9]+[0−9]∗]∗/ + var re = /^[0-9]+.?[0-9]*/; // + if (!re.test(nubmer)) { + return false; + } + return true; + }; + this.logEvent = function (k, v) { + jcgamelog.logButtonClick(k, v); - if (CC_JSB) { - if (!v) { - v = ''; - } - if (cc.sys.os == cc.sys.OS_ANDROID) { - //反射调用原生的隐藏方法 - jsb.reflection.callStaticMethod( - 'org/cocos2dx/javascript/AppActivity', - 'logEvent', - '(Ljava/lang/String;Ljava/lang/String;)V', - k + '', - v - ); - } - } - }; + if (CC_JSB) { + if (!v) { + v = ""; + } + if (cc.sys.os == cc.sys.OS_ANDROID) { + //反射调用原生的隐藏方法 + jsb.reflection.callStaticMethod( + "org/cocos2dx/javascript/AppActivity", + "logEvent", + "(Ljava/lang/String;Ljava/lang/String;)V", + k + "", + v + ); + } + } + }; - this.getBattleCounts = function () { - var count = 0; - var scount = cc.sys.localStorage.getItem('battleCount'); - var today = new Date(); - var datakey = today.getMonth() + '-' + today.getDate(); - var savedata = cc.sys.localStorage.getItem('datakey'); - if (savedata != datakey) { - try { - cc.sys.localStorage.setItem('datakey', datakey); - } catch (err) {} - try { - cc.sys.localStorage.setItem('battleCount', 0); - } catch (err) {} - scount = null; - } + this.getBattleCounts = function () { + var count = 0; + var scount = cc.sys.localStorage.getItem("battleCount"); + var today = new Date(); + var datakey = today.getMonth() + "-" + today.getDate(); + var savedata = cc.sys.localStorage.getItem("datakey"); + if (savedata != datakey) { + try { + cc.sys.localStorage.setItem("datakey", datakey); + } catch (err) {} + try { + cc.sys.localStorage.setItem("battleCount", 0); + } catch (err) {} + scount = null; + } - if (scount != null && scount != '') { - count = parseInt(scount); - } - return count; - }; - this.saveBattleCount = function () { - var count = this.getBattleCounts() + 1; - try { - cc.sys.localStorage.setItem('battleCount', count); - } catch (err) {} - }; + if (scount != null && scount != "") { + count = parseInt(scount); + } + return count; + }; + this.saveBattleCount = function () { + var count = this.getBattleCounts() + 1; + try { + cc.sys.localStorage.setItem("battleCount", count); + } catch (err) {} + }; - this.dirtyWordCheck = function ( - _str //检查敏感词汇 - ) { - NetManage.dirtyWordCheck(_str); - }; + this.dirtyWordCheck = function ( + _str //检查敏感词汇 + ) { + NetManage.dirtyWordCheck(_str); + }; - this.initGameRes = function () //初始化进入游戏前数据 - { - wxVoice.playbgm('bgm'); - cc.battleCache.loadwave(); - cc.highmode = true; - //SDKManage.nickName = "战斗测试" - cc.game.setFrameRate(60); - cc.macro.CLEANUP_IMAGE_CACHE = false; - cc.dynamicAtlasManager.enabled = true; - cc.mygamedelta = 0.0167; - }; + this.initGameRes = function () //初始化进入游戏前数据 + { + wxVoice.playbgm("bgm"); + cc.battleCache.loadwave(); + cc.highmode = true; + //SDKManage.nickName = "战斗测试" + cc.game.setFrameRate(60); + cc.macro.CLEANUP_IMAGE_CACHE = false; + cc.dynamicAtlasManager.enabled = true; + cc.mygamedelta = 0.0167; + }; }; var instance = new SDKManage();