diff --git a/JisolGameCocos/.protobufjs.js b/JisolGameCocos/.protobufjs.js deleted file mode 100644 index 8a5d7061..00000000 --- a/JisolGameCocos/.protobufjs.js +++ /dev/null @@ -1,186 +0,0 @@ -const path = require("path"); -const child_process = require("child_process"); -const fs = require("fs"); - -/** - * @typedef {Object} proto_list - * @property {string | undefined} namespace_s 命名空间 - * @property {string[]} proto_ss 协议文件(生成为脚本的协议文件) - * @property {string} ts_output_path_s ts 输出路径(带脚本名) - * @property {string} dts_output_path_s d.ts 输出路径(带脚本名) - * @property {string[] | undefined} pbjs_parameters_ss pbjs 生成时参数(可用于裁剪代码, 命令行`npx pbjs`查看具体参数) - */ - -module.exports = { - /** - * 协议列表 - * @type {proto_list[]} - */ - proto_list: [], - /** - 自动构建开关 - - true: 递归监听 dir_path_ss 内的文件添加/删除/修改,并触发构建指令 - - false:需要手动点击 `protobuf/构建` 才会触发构建菜单 - */ - automatic_build_b: false, - - /** 自动构建延迟(秒),防止短时间内频繁触发构建 */ - automatic_build_delay_s_n: 2, - - /** - * 构建函数 - * @param {proto_list} config_ proto 配置 - * @returns {boolean} 成功状态 - */ - async build_f(config_) { - // 生成消息头 - child_process.execSync("npx ts-node ./protobuf/main.ts", { - "cwd": "./tool" - }) - - /** ts 输出路径 */ - let ts_output_path_s = config_.ts_output_path_s[0] !== "." ? config_.ts_output_path_s : path.join(__dirname, config_.ts_output_path_s); - /** js 输出路径 */ - let js_output_path_s = path.join(path.dirname(ts_output_path_s), path.basename(ts_output_path_s, path.extname(ts_output_path_s)) + ".js"); - /** 声明文件路径 */ - let dts_path_s = config_.dts_output_path_s[0] !== "." ? config_.dts_output_path_s : path.join(__dirname, config_.dts_output_path_s); - - // 确保文件夹存在 - { - if (!fs.existsSync(path.dirname(ts_output_path_s))) { - fs.mkdirSync(path.dirname(ts_output_path_s)); - } - - if (!fs.existsSync(path.dirname(dts_path_s))) { - fs.mkdirSync(path.dirname(dts_path_s)); - } - } - - let result = await Promise.resolve() - // 生成 js 文件 - .then(() => { - return new Promise((resolve_f, reject_t) => { - // 使用 es6 的生成类型 - child_process.exec( - `npx pbjs -t static-module -w es6 -l eslint-disable --es6 --keep-case ${!config_.pbjs_parameters_ss ? "" : config_.pbjs_parameters_ss.join(" ") - } ${!config_.namespace_s ? "" : `--root ${config_.namespace_s}`} -o ${js_output_path_s} ${config_.proto_ss.join(" ")}`, - { - cwd: __dirname, - }, - (error, stdout, stderr) => { - if (stderr) { - reject_t(stderr); - return; - } - - resolve_f(); - } - ); - }); - }) - // 生成 d.ts 文件 - .then(() => { - // 生成 d.ts - return new Promise((resolve_f, reject_t) => { - child_process.exec( - `npx pbts -m ${config_.namespace_s ? `--root ${config_.namespace_s}` : ""} -o ${dts_path_s} ${js_output_path_s}`, - { - cwd: __dirname, - }, - (error, stdout, stderr) => { - if (stderr) { - reject_t(stderr); - return; - } - - resolve_f(); - } - ); - }); - }) - // js 后处理 - .then(() => { - let file_s = fs.readFileSync(js_output_path_s, "utf-8"); - - file_s = file_s - // 替换 import - .replace('import * as $protobuf from "protobufjs/minimal";', 'import $protobuf from "protobufjs/minimal.js";') - // 替换 root - .replace(/const \$root = ([^]+?);/, "const $root = {};"); - - // 存在命名空间 - if (config_.namespace_s) { - file_s = file_s.replace(/export const /g, "const "); - } - - // 更新协议文件 - fs.writeFileSync(js_output_path_s, file_s); - }) - // d.ts 文件后处理 - .then(() => { - let file_s = fs.readFileSync(dts_path_s, "utf-8"); - - if (config_.namespace_s) { - file_s = `export namespace ${config_.namespace_s} {\n${file_s}\n}`; - } - // 添加类型声明 - file_s = `import type { Long } from "protobufjs";\n` + file_s; - // 后处理 - file_s = file_s.replace(/\$protobuf/g, "protobuf"); - - // 更新协议文件 - fs.writeFileSync(dts_path_s, file_s); - }) - // 将 js 协议脚本转换为 ts - .then(() => { - let js_file_s = fs.readFileSync(js_output_path_s, "utf-8"); - /** ts 文件路径 */ - let ts_script_path_s = path.join( - path.dirname(ts_output_path_s), - path.basename(ts_output_path_s, path.extname(ts_output_path_s)) + ".ts" - ); - /** d.ts 相对路径 */ - let dts_relative_path_s = path.relative(path.dirname(ts_output_path_s), path.dirname(dts_path_s)).replace(/\\/g, "/"); - /** d.ts 导入路径 */ - let dts_import_path_s = (dts_relative_path_s || "./") + path.basename(dts_path_s, ".ts"); - - // 后处理 - js_file_s = js_file_s - // 对象类型const $root: typeof import("./test.d").pb - .replace( - "const $root = ", - `const $root: typeof import("${dts_import_path_s}")${config_.namespace_s ? `.${config_.namespace_s}` : ""} = ` - ) - // 修复对象类型错误 - .replace( - /export const ([^ ]+?) = ([^ ]+?) =/g, - function (...args_as) { - return `export const ${args_as[1]}: typeof ${args_as[2]} = ${args_as[2]} =`; - } - ); - - if (config_.namespace_s) { - js_file_s = js_file_s - // module.exports - .replace( - "export { $root as default }", - `export ${config_.namespace_s ? `const ${config_.namespace_s} = ` : ""}{ ...$root }`); - } - - fs.writeFileSync(js_output_path_s, "// @ts-nocheck\n" + js_file_s); - fs.renameSync(js_output_path_s, ts_script_path_s); - }) - // 捕获错误 - .catch((error) => { - console.error("生成错误:", error); - - return false; - }) - // 任务完成 - .then((v) => { - return v ?? true; - }); - - return result; - }, -}; diff --git a/JisolGameCocos/assets/resources/demo01.meta b/JisolGameCocos/assets/resources/demo01.meta new file mode 100644 index 00000000..0365aef8 --- /dev/null +++ b/JisolGameCocos/assets/resources/demo01.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "5592da29-bb83-47c5-9d95-27f5c71ae7b6", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatItem.prefab b/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatItem.prefab new file mode 100644 index 00000000..9db4b443 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatItem.prefab @@ -0,0 +1,146 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "MainChatItem", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "MainChatItem", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 2 + }, + { + "__id__": 4 + } + ], + "_prefab": { + "__id__": 6 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1512.0000000000005, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 3 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 335.53125, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3251Mcv39NZJJvhmqkWsTm" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 5 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "ScrollView content01", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 36, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7ahEvd3z5N4ruHsPPLIdmV" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b4aPDEneNHC4OYnY3k7ypP", + "targetOverrides": null + } +] \ No newline at end of file diff --git a/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatItem.prefab.meta b/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatItem.prefab.meta new file mode 100644 index 00000000..89f20d74 --- /dev/null +++ b/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatItem.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.49", + "importer": "prefab", + "imported": true, + "uuid": "da561b68-57fb-462b-b799-da2ba6658534", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "MainChatItem" + } +} diff --git a/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatView.prefab b/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatView.prefab index fc17f87d..6475d242 100644 --- a/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatView.prefab +++ b/JisolGameCocos/assets/resources/prefab/ui/主页/聊天/MainChatView.prefab @@ -25,17 +25,17 @@ "_active": true, "_components": [ { - "__id__": 278 + "__id__": 137 }, { - "__id__": 280 + "__id__": 139 }, { - "__id__": 282 + "__id__": 141 } ], "_prefab": { - "__id__": 284 + "__id__": 143 }, "_lpos": { "__type__": "cc.Vec3", @@ -79,23 +79,23 @@ "__id__": 3 }, { - "__id__": 241 + "__id__": 81 } ], "_active": true, "_components": [ { - "__id__": 271 + "__id__": 130 }, { - "__id__": 273 + "__id__": 132 }, { - "__id__": 275 + "__id__": 134 } ], "_prefab": { - "__id__": 277 + "__id__": 136 }, "_lpos": { "__type__": "cc.Vec3", @@ -142,14 +142,14 @@ "_active": true, "_components": [ { - "__id__": 236 + "__id__": 76 }, { - "__id__": 238 + "__id__": 78 } ], "_prefab": { - "__id__": 240 + "__id__": 80 }, "_lpos": { "__type__": "cc.Vec3", @@ -199,23 +199,23 @@ "_active": true, "_components": [ { - "__id__": 227 + "__id__": 67 }, { - "__id__": 229 + "__id__": 69 }, { "__id__": 20 }, { - "__id__": 231 + "__id__": 71 }, { - "__id__": 233 + "__id__": 73 } ], "_prefab": { - "__id__": 235 + "__id__": 75 }, "_lpos": { "__type__": "cc.Vec3", @@ -275,7 +275,7 @@ } ], "_prefab": { - "__id__": 226 + "__id__": 66 }, "_lpos": { "__type__": "cc.Vec3", @@ -624,110 +624,23 @@ "__id__": 33 }, { - "__id__": 39 - }, - { - "__id__": 45 + "__id__": 41 }, { "__id__": 51 - }, - { - "__id__": 57 - }, - { - "__id__": 63 - }, - { - "__id__": 69 - }, - { - "__id__": 75 - }, - { - "__id__": 81 - }, - { - "__id__": 87 - }, - { - "__id__": 93 - }, - { - "__id__": 99 - }, - { - "__id__": 105 - }, - { - "__id__": 111 - }, - { - "__id__": 117 - }, - { - "__id__": 123 - }, - { - "__id__": 129 - }, - { - "__id__": 135 - }, - { - "__id__": 141 - }, - { - "__id__": 147 - }, - { - "__id__": 153 - }, - { - "__id__": 159 - }, - { - "__id__": 165 - }, - { - "__id__": 171 - }, - { - "__id__": 177 - }, - { - "__id__": 183 - }, - { - "__id__": 189 - }, - { - "__id__": 195 - }, - { - "__id__": 201 - }, - { - "__id__": 207 - }, - { - "__id__": 213 } ], "_active": true, "_components": [ { - "__id__": 219 + "__id__": 61 }, { - "__id__": 221 - }, - { - "__id__": 223 + "__id__": 63 } ], "_prefab": { - "__id__": 225 + "__id__": 65 }, "_lpos": { "__type__": "cc.Vec3", @@ -965,4236 +878,394 @@ }, { "__type__": "cc.Node", - "_name": "item", "_objFlags": 0, - "__editorExtras__": {}, "_parent": { "__id__": 22 }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 34 - }, - { - "__id__": 36 - } - ], "_prefab": { - "__id__": 38 + "__id__": 34 }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1512.0000000000005, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 33 - }, - "_enabled": true, - "__prefab": { - "__id__": 35 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 335.53125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "3251Mcv39NZJJvhmqkWsTm" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 33 - }, - "_enabled": true, - "__prefab": { - "__id__": 37 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content01", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "7ahEvd3z5N4ruHsPPLIdmV" + "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1 + "__id__": 33 }, "asset": { - "__id__": 0 + "__uuid__": "da561b68-57fb-462b-b799-da2ba6658534", + "__expectedType__": "cc.Prefab" }, "fileId": "b4aPDEneNHC4OYnY3k7ypP", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + "instance": { + "__id__": 35 + }, + "targetOverrides": null }, { - "__type__": "cc.Node", - "_name": "item-001", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 + "__type__": "cc.PrefabInstance", + "fileId": "88VLo/6FxGso1Xk2TLIXCi", + "prefabRootNode": { + "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ { - "__id__": 40 + "__id__": 36 }, { - "__id__": 42 + "__id__": 38 + }, + { + "__id__": 39 + }, + { + "__id__": 40 } ], - "_prefab": { - "__id__": 44 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 37 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "MainChatItem" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "b4aPDEneNHC4OYnY3k7ypP" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 37 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", "x": 0, - "y": 1461.6000000000004, + "y": 100.79999999999998, "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 37 }, - "_lrot": { + "propertyPath": [ + "_lrot" + ], + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 37 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" + } }, { - "__type__": "cc.UITransform", - "_name": "", + "__type__": "cc.Node", "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 39 + "_parent": { + "__id__": 22 }, - "_enabled": true, - "__prefab": { - "__id__": 41 + "_prefab": { + "__id__": 42 }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "50zoQJ06ZNZZDHW5zkhOE+" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 39 - }, - "_enabled": true, - "__prefab": { - "__id__": 43 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "85+GbSvehG9rnuZrmyF48+" + "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1 + "__id__": 41 }, "asset": { - "__id__": 0 + "__uuid__": "da561b68-57fb-462b-b799-da2ba6658534", + "__expectedType__": "cc.Prefab" }, - "fileId": "b3704TaaBL9Lb45FynkH0T", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + "fileId": "b4aPDEneNHC4OYnY3k7ypP", + "instance": { + "__id__": 43 + }, + "targetOverrides": null }, { - "__type__": "cc.Node", - "_name": "item-002", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 + "__type__": "cc.PrefabInstance", + "fileId": "b2m3yUp99HMqmUHFd9+in0", + "prefabRootNode": { + "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 44 + }, { "__id__": 46 }, { - "__id__": 48 - } - ], - "_prefab": { - "__id__": 50 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1411.2000000000003, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 45 - }, - "_enabled": true, - "__prefab": { - "__id__": 47 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "efDCB5rZ5OLoMGGBmen5/v" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 45 - }, - "_enabled": true, - "__prefab": { - "__id__": 49 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "96U+qQ+xhDzoVCgagGj0o7" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "058u1ufQ9M6IXNDHGs0wx5", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-003", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 52 + "__id__": 47 }, { - "__id__": 54 + "__id__": 48 + }, + { + "__id__": 49 } ], - "_prefab": { - "__id__": 56 + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 45 }, - "_lpos": { + "propertyPath": [ + "_name" + ], + "value": "MainChatItem-001" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "b4aPDEneNHC4OYnY3k7ypP" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 45 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", "x": 0, - "y": 1360.8000000000002, + "y": 50.399999999999984, "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 45 }, - "_lrot": { + "propertyPath": [ + "_lrot" + ], + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 45 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "" + } }, { - "__type__": "cc.UITransform", - "_name": "", + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 50 + }, + "propertyPath": [ + "_string" + ], + "value": "ScrollView content02" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7ahEvd3z5N4ruHsPPLIdmV" + ] + }, + { + "__type__": "cc.Node", "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 51 + "_parent": { + "__id__": 22 }, - "_enabled": true, - "__prefab": { - "__id__": 53 + "_prefab": { + "__id__": 52 }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "1dPNVtFslF3qIsefOgeAbi" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 51 - }, - "_enabled": true, - "__prefab": { - "__id__": 55 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "efQTg5J75BJJv7BBCmS3c8" + "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 1 + "__id__": 51 }, "asset": { - "__id__": 0 + "__uuid__": "da561b68-57fb-462b-b799-da2ba6658534", + "__expectedType__": "cc.Prefab" }, - "fileId": "97rzXYgYpPCZQxY1CXQwbY", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null + "fileId": "b4aPDEneNHC4OYnY3k7ypP", + "instance": { + "__id__": 53 + }, + "targetOverrides": null }, { - "__type__": "cc.Node", - "_name": "item-004", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 + "__type__": "cc.PrefabInstance", + "fileId": "c1q9+5/s5Erplsdy7A2eT0", + "prefabRootNode": { + "__id__": 1 }, - "_children": [], - "_active": true, - "_components": [ + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 54 + }, + { + "__id__": 56 + }, + { + "__id__": 57 + }, { "__id__": 58 }, { - "__id__": 60 + "__id__": 59 } ], - "_prefab": { + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_name" + ], + "value": "MainChatItem-002" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "b4aPDEneNHC4OYnY3k7ypP" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": -1.4210854715202004e-14, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 55 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 60 + }, + "propertyPath": [ + "_string" + ], + "value": "ScrollView content03" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "7ahEvd3z5N4ruHsPPLIdmV" + ] + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { "__id__": 62 }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1310.4, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 57 - }, - "_enabled": true, - "__prefab": { - "__id__": 59 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "1bZLjtNZxJs59Tf/hVM23p" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 57 - }, - "_enabled": true, - "__prefab": { - "__id__": 61 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "26OJRp0zxIibq1+kkXmNW2" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "a67r8vcoxEn4zqIu8pXqjj", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-005", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 64 - }, - { - "__id__": 66 - } - ], - "_prefab": { - "__id__": 68 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1260, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 63 - }, - "_enabled": true, - "__prefab": { - "__id__": 65 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "b7X7zQdfdJjIKrA2lIufLX" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 63 - }, - "_enabled": true, - "__prefab": { - "__id__": 67 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "8aGIrnyWJAWo11nmbzIQsI" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "4bHEba9XFG2L+rXkGFIeo5", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-006", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 70 - }, - { - "__id__": 72 - } - ], - "_prefab": { - "__id__": 74 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1209.6, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 69 - }, - "_enabled": true, - "__prefab": { - "__id__": 71 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "20RFiVXvhMe7xinGbfsaCx" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 69 - }, - "_enabled": true, - "__prefab": { - "__id__": 73 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "80ksDGMBJA7ZUsC7C9WIH6" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "21ukS5UfNNc7dqaRPfgk9J", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-007", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 76 - }, - { - "__id__": 78 - } - ], - "_prefab": { - "__id__": 80 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1159.1999999999998, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 75 - }, - "_enabled": true, - "__prefab": { - "__id__": 77 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "95XpdbX75Oz50XQEXOwX4j" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 75 - }, - "_enabled": true, - "__prefab": { - "__id__": 79 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "65zVOxRPtOSJnfBcE2ft0J" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "0cuzaAdn5GFogzMABa7j7V", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-008", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 82 - }, - { - "__id__": 84 - } - ], - "_prefab": { - "__id__": 86 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1108.7999999999997, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 81 - }, - "_enabled": true, - "__prefab": { - "__id__": 83 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "66/WwDUYBMoKxVV2LiifR2" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 81 - }, - "_enabled": true, - "__prefab": { - "__id__": 85 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e5Fi2perVLQJhvio7WSl1f" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "9dKcLasTpKkYRpXwvk26Ct", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-009", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 88 - }, - { - "__id__": 90 - } - ], - "_prefab": { - "__id__": 92 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1058.3999999999996, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 87 - }, - "_enabled": true, - "__prefab": { - "__id__": 89 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "ddAkpgULNLzq1Bfe5xKURo" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 87 - }, - "_enabled": true, - "__prefab": { - "__id__": 91 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "199A+OcU5OlrJ+6q/ph1Mw" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "30PWp42IlH4pZ7bBgxKeqk", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-010", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 94 - }, - { - "__id__": 96 - } - ], - "_prefab": { - "__id__": 98 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1007.9999999999997, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 93 - }, - "_enabled": true, - "__prefab": { - "__id__": 95 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "fdmkYDQyJFcKhvnq3PnJBM" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 93 - }, - "_enabled": true, - "__prefab": { - "__id__": 97 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "79/RDgZVtNxYYzp7YN07Fz" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "27pKsN/SJGK7a4SxWysI/B", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-011", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 100 - }, - { - "__id__": 102 - } - ], - "_prefab": { - "__id__": 104 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 957.5999999999997, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 99 - }, - "_enabled": true, - "__prefab": { - "__id__": 101 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "57/aybxzZGtYXDhRgOLeL2" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 99 - }, - "_enabled": true, - "__prefab": { - "__id__": 103 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "0e7/8iyWxA9oLkvK7LDpp3" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "302Dy0IrhP5Zwxl+bofmoE", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-012", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 106 - }, - { - "__id__": 108 - } - ], - "_prefab": { - "__id__": 110 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 907.1999999999997, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 105 - }, - "_enabled": true, - "__prefab": { - "__id__": 107 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "07kyv6QcRFV7yO4LugGW3p" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 105 - }, - "_enabled": true, - "__prefab": { - "__id__": 109 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "84yXvR5+RIapCOiHtRO0XN" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "63Hx8PZUNDlZNNp2Zxq0Cg", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-013", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 112 - }, - { - "__id__": 114 - } - ], - "_prefab": { - "__id__": 116 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 856.7999999999997, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 111 - }, - "_enabled": true, - "__prefab": { - "__id__": 113 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "7dlUoRUNRGXZBoi3OhjeeU" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 111 - }, - "_enabled": true, - "__prefab": { - "__id__": 115 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d1Og4AREdMspmw+WEp0QhN" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "40oR4BXGpG5694CvtAB75M", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-014", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 118 - }, - { - "__id__": 120 - } - ], - "_prefab": { - "__id__": 122 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 806.3999999999997, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 117 - }, - "_enabled": true, - "__prefab": { - "__id__": 119 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "88WONOuutGjrRNvD/MaSI4" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 117 - }, - "_enabled": true, - "__prefab": { - "__id__": 121 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f4YxdRb8pDVqFz5LmYUNG0" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "aezxOSjSZI/KydVu0B661R", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-015", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 124 - }, - { - "__id__": 126 - } - ], - "_prefab": { - "__id__": 128 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 755.9999999999998, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 123 - }, - "_enabled": true, - "__prefab": { - "__id__": 125 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "cadYfpeYJJgZg8MbS8oD+j" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 123 - }, - "_enabled": true, - "__prefab": { - "__id__": 127 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "18Rf7x7q1Bl4goX5wQ13sa" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "96UlSJX1NO85cZdkZuFyL9", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-016", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 130 - }, - { - "__id__": 132 - } - ], - "_prefab": { - "__id__": 134 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 705.5999999999998, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 129 - }, - "_enabled": true, - "__prefab": { - "__id__": 131 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "699so51iRIMZD0kAsWmBS2" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 129 - }, - "_enabled": true, - "__prefab": { - "__id__": 133 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d1xcw/6rZIH6xaU7wwxNaC" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "04C7sCyKBEabw1IC40kMkS", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-017", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 136 - }, - { - "__id__": 138 - } - ], - "_prefab": { - "__id__": 140 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 655.1999999999998, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 135 - }, - "_enabled": true, - "__prefab": { - "__id__": 137 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "9eKjkWGchEX6A3Ek45UwgX" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 135 - }, - "_enabled": true, - "__prefab": { - "__id__": 139 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "7aGtc1nk5Gz6LjADGgWfKa" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "a8aZ0snaRAGaRKGIN0OXFV", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-018", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 142 - }, - { - "__id__": 144 - } - ], - "_prefab": { - "__id__": 146 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 604.7999999999998, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 141 - }, - "_enabled": true, - "__prefab": { - "__id__": 143 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e8XEyx2cNBqLC+mhT9JU/M" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 141 - }, - "_enabled": true, - "__prefab": { - "__id__": 145 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e7IQqL68VOo5YMmil9EQv1" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "ffjesFL1FFsbCU+gyy+vwF", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-019", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 148 - }, - { - "__id__": 150 - } - ], - "_prefab": { - "__id__": 152 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 554.3999999999999, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 147 - }, - "_enabled": true, - "__prefab": { - "__id__": 149 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "4fzeE0JS1HC65C+ANbHxdh" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 147 - }, - "_enabled": true, - "__prefab": { - "__id__": 151 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5bVO2TbbNDUrH5sHM2EuoV" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "4dss60s6NMcpfn8uBBFyyE", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-020", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 154 - }, - { - "__id__": 156 - } - ], - "_prefab": { - "__id__": 158 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 503.9999999999999, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 153 - }, - "_enabled": true, - "__prefab": { - "__id__": 155 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e8/2+y0A5KgpNI20PS4bAQ" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 153 - }, - "_enabled": true, - "__prefab": { - "__id__": 157 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "47w2+2ruFE4KRpIIWup8MF" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "90F+soJWNKv72ZT39zJ0oR", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-021", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 160 - }, - { - "__id__": 162 - } - ], - "_prefab": { - "__id__": 164 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 453.5999999999999, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 159 - }, - "_enabled": true, - "__prefab": { - "__id__": 161 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "26HRF+0tdCcYF48mB28Day" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 159 - }, - "_enabled": true, - "__prefab": { - "__id__": 163 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "b5NjzK/9dL1INShgSKCkPQ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "d9lr9q3b5C2ZdW7mQHxUbV", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-022", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 166 - }, - { - "__id__": 168 - } - ], - "_prefab": { - "__id__": 170 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 403.19999999999993, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 165 - }, - "_enabled": true, - "__prefab": { - "__id__": 167 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "04QvMh+NVPypRjq/eOfgKX" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 165 - }, - "_enabled": true, - "__prefab": { - "__id__": 169 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e84C0Av4RAvo7QDplQgXhF" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "450Qa5MKpCxbCMp9VIvgAI", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-023", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 172 - }, - { - "__id__": 174 - } - ], - "_prefab": { - "__id__": 176 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 352.79999999999995, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 171 - }, - "_enabled": true, - "__prefab": { - "__id__": 173 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "86Gt47KyVC+KI9csRlnSaA" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 171 - }, - "_enabled": true, - "__prefab": { - "__id__": 175 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f5Y11z0/9JX5ezr8FO9TF8" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "d1DZJdzq5LLa2a5SVG6mBe", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-024", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 178 - }, - { - "__id__": 180 - } - ], - "_prefab": { - "__id__": 182 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 302.4, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 177 - }, - "_enabled": true, - "__prefab": { - "__id__": 179 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6f7cZs5VFDt7YhkM5DGN4i" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 177 - }, - "_enabled": true, - "__prefab": { - "__id__": 181 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6cHIX8ca9Oqa/CTaMNsNO2" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "71kCvDiNxPzrCAzqtTAM6H", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-025", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 184 - }, - { - "__id__": 186 - } - ], - "_prefab": { - "__id__": 188 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 251.99999999999997, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 183 - }, - "_enabled": true, - "__prefab": { - "__id__": 185 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "882vorjkxNvot8fvPr+FTV" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 183 - }, - "_enabled": true, - "__prefab": { - "__id__": 187 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "efmQ3WcCtPYKgTXC7hBOp5" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "ccjuUfLS5KB5K/zCZfzfLd", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-026", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 190 - }, - { - "__id__": 192 - } - ], - "_prefab": { - "__id__": 194 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 201.59999999999997, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 189 - }, - "_enabled": true, - "__prefab": { - "__id__": 191 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d9c+bF0IhLcrHtKU4eYFbh" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 189 - }, - "_enabled": true, - "__prefab": { - "__id__": 193 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "3bHmfxEMxDwpRdZ2Uijax8" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "90AkkTdoFIJKFG/uEpewcK", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-027", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 196 - }, - { - "__id__": 198 - } - ], - "_prefab": { - "__id__": 200 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 151.19999999999996, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 195 - }, - "_enabled": true, - "__prefab": { - "__id__": 197 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "63nL2HqOhO2ZWsAoDVsPQw" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 195 - }, - "_enabled": true, - "__prefab": { - "__id__": 199 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "492PUhTZ1DtKnip7CnJcOT" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "begF3R1hxEAojryuvYCZmv", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-028", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 202 - }, - { - "__id__": 204 - } - ], - "_prefab": { - "__id__": 206 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 100.79999999999995, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 201 - }, - "_enabled": true, - "__prefab": { - "__id__": 203 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "ecgasnxRRFYJZBZlM8C/Cn" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 201 - }, - "_enabled": true, - "__prefab": { - "__id__": 205 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "68+sgXUelHz5V6rkYIy+ka" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "3dRmZ+UGBHuLPTVq2g0YCk", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-029", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 208 - }, - { - "__id__": 210 - } - ], - "_prefab": { - "__id__": 212 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 50.399999999999956, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 207 - }, - "_enabled": true, - "__prefab": { - "__id__": 209 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 295.48828125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "deFf50s4pNypJpdvSe37jC" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 207 - }, - "_enabled": true, - "__prefab": { - "__id__": 211 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "681HaTeMRHX5b7h2n0OWVE" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "0alhZnuddBg72q48Z/gl8a", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "item-030", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 22 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 214 - }, - { - "__id__": 216 - } - ], - "_prefab": { - "__id__": 218 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -4.263256414560601e-14, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 213 - }, - "_enabled": true, - "__prefab": { - "__id__": 215 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 335.53125, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "9fGqgEcFdEX6n+7M/7aCKj" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 213 - }, - "_enabled": true, - "__prefab": { - "__id__": 217 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_string": "ScrollView content30", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 36, - "_fontSize": 36, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e66ptWm81Hxo4timlj2umI" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "120qboKelMzKTUIMPRF21N", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 22 - }, - "_enabled": true, - "__prefab": { - "__id__": 220 - }, "_contentSize": { "__type__": "cc.Size", "width": 720, - "height": 1562.4000000000005 + "height": 151.2 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -5207,42 +1278,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "38jBpHtyBHH5T8svDuE4uI" }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 22 - }, - "_enabled": true, - "__prefab": { - "__id__": 222 - }, - "_alignFlags": 44, - "_target": null, - "_left": 0, - "_right": 0, - "_top": -135, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 220, - "_originalHeight": 400, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e4V0mn19NP4qBqTNlFFbjs" - }, { "__type__": "cc.Layout", "_name": "", @@ -5253,7 +1288,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 224 + "__id__": 64 }, "_resizeMode": 1, "_layoutType": 2, @@ -5317,7 +1352,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 228 + "__id__": 68 }, "_contentSize": { "__type__": "cc.Size", @@ -5345,16 +1380,16 @@ }, "_enabled": true, "__prefab": { - "__id__": 230 + "__id__": 70 }, "_customMaterial": null, "_srcBlendFactor": 2, "_dstBlendFactor": 4, "_color": { "__type__": "cc.Color", - "r": 175, - "g": 175, - "b": 175, + "r": 255, + "g": 255, + "b": 255, "a": 255 }, "_spriteFrame": { @@ -5390,7 +1425,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 232 + "__id__": 72 }, "_alignFlags": 45, "_target": null, @@ -5426,7 +1461,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 234 + "__id__": 74 }, "view": { "__id__": 24 @@ -5463,7 +1498,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 237 + "__id__": 77 }, "_contentSize": { "__type__": "cc.Size", @@ -5491,7 +1526,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 239 + "__id__": 79 }, "_alignFlags": 45, "_target": null, @@ -5540,23 +1575,26 @@ }, "_children": [ { - "__id__": 242 + "__id__": 82 + }, + { + "__id__": 104 } ], "_active": true, "_components": [ { - "__id__": 264 + "__id__": 123 }, { - "__id__": 266 + "__id__": 125 }, { - "__id__": 268 + "__id__": 127 } ], "_prefab": { - "__id__": 270 + "__id__": 129 }, "_lpos": { "__type__": "cc.Vec3", @@ -5593,37 +1631,37 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 241 + "__id__": 81 }, "_children": [ { - "__id__": 243 + "__id__": 83 }, { - "__id__": 249 + "__id__": 89 } ], "_active": true, "_components": [ { - "__id__": 255 + "__id__": 95 }, { - "__id__": 257 + "__id__": 97 }, { - "__id__": 259 + "__id__": 99 }, { - "__id__": 261 + "__id__": 101 } ], "_prefab": { - "__id__": 263 + "__id__": 103 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, + "x": -75, "y": 0, "z": 0 }, @@ -5656,24 +1694,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 242 + "__id__": 82 }, "_children": [], "_active": false, "_components": [ { - "__id__": 244 + "__id__": 84 }, { - "__id__": 246 + "__id__": 86 } ], "_prefab": { - "__id__": 248 + "__id__": 88 }, "_lpos": { "__type__": "cc.Vec3", - "x": -308, + "x": -233, "y": 30, "z": 0 }, @@ -5706,15 +1744,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 243 + "__id__": 83 }, "_enabled": true, "__prefab": { - "__id__": 245 + "__id__": 85 }, "_contentSize": { "__type__": "cc.Size", - "width": 618, + "width": 468, "height": 60 }, "_anchorPoint": { @@ -5734,11 +1772,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 243 + "__id__": 83 }, "_enabled": true, "__prefab": { - "__id__": 247 + "__id__": 87 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5792,24 +1830,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 242 + "__id__": 82 }, "_children": [], "_active": true, "_components": [ { - "__id__": 250 + "__id__": 90 }, { - "__id__": 252 + "__id__": 92 } ], "_prefab": { - "__id__": 254 + "__id__": 94 }, "_lpos": { "__type__": "cc.Vec3", - "x": -308, + "x": -233, "y": 30, "z": 0 }, @@ -5842,15 +1880,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 249 + "__id__": 89 }, "_enabled": true, "__prefab": { - "__id__": 251 + "__id__": 91 }, "_contentSize": { "__type__": "cc.Size", - "width": 618, + "width": 468, "height": 60 }, "_anchorPoint": { @@ -5870,11 +1908,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 249 + "__id__": 89 }, "_enabled": true, "__prefab": { - "__id__": 253 + "__id__": 93 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5928,15 +1966,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 242 + "__id__": 82 }, "_enabled": true, "__prefab": { - "__id__": 256 + "__id__": 96 }, "_contentSize": { "__type__": "cc.Size", - "width": 620, + "width": 470, "height": 60 }, "_anchorPoint": { @@ -5956,11 +1994,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 242 + "__id__": 82 }, "_enabled": true, "__prefab": { - "__id__": 258 + "__id__": 98 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6001,21 +2039,21 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 242 + "__id__": 82 }, "_enabled": true, "__prefab": { - "__id__": 260 + "__id__": 100 }, "editingDidBegan": [], "textChanged": [], "editingDidEnded": [], "editingReturn": [], "_textLabel": { - "__id__": 246 + "__id__": 86 }, "_placeholderLabel": { - "__id__": 252 + "__id__": 92 }, "_returnType": 0, "_string": "", @@ -6039,16 +2077,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 242 + "__id__": 82 }, "_enabled": true, "__prefab": { - "__id__": 262 + "__id__": 102 }, "_alignFlags": 45, "_target": null, "_left": 50, - "_right": 50, + "_right": 200, "_top": 20, "_bottom": 20, "_horizontalCenter": 0, @@ -6082,17 +2120,448 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "Button", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 81 + }, + "_children": [ + { + "__id__": 105 + } + ], + "_active": true, + "_components": [ + { + "__id__": 113 + }, + { + "__id__": 115 + }, + { + "__id__": 117 + }, + { + "__id__": 120 + } + ], + "_prefab": { + "__id__": 122 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 260, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 104 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 106 + }, + { + "__id__": 108 + }, + { + "__id__": 110 + } + ], + "_prefab": { + "__id__": 112 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 241 + "__id__": 105 }, "_enabled": true, "__prefab": { - "__id__": 265 + "__id__": 107 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b0sZg+QCJJppxyfiSFnzPI" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 105 + }, + "_enabled": true, + "__prefab": { + "__id__": 109 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "发送", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 30, + "_fontSize": 30, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "69M06TrDBNToewISHyVMK9" + }, + { + "__type__": "cc.LabelOutline", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 105 + }, + "_enabled": true, + "__prefab": { + "__id__": 111 + }, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_width": 3, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "086niuHLhJLa486HfNgyta" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "911ZbZrlZJN4SV1pXmkSt9", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 104 + }, + "_enabled": true, + "__prefab": { + "__id__": 114 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cbZS8OVX1DhL7tgFFzHcEA" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 104 + }, + "_enabled": true, + "__prefab": { + "__id__": 116 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 170, + "g": 170, + "b": 170, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e8E6OG4D9ELqvaogo3Wdel" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 104 + }, + "_enabled": true, + "__prefab": { + "__id__": 118 + }, + "clickEvents": [ + { + "__id__": 119 + } + ], + "_interactable": true, + "_transition": 3, + "_normalColor": { + "__type__": "cc.Color", + "r": 214, + "g": 214, + "b": 214, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": { + "__uuid__": "20835ba4-6145-4fbc-a58a-051ce700aa3e@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_pressedSprite": { + "__uuid__": "544e49d6-3f05-4fa8-9a9e-091f98fc2ce8@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_disabledSprite": { + "__uuid__": "951249e0-9f16-456d-8b85-a6ca954da16b@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": { + "__id__": 104 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "99UGZjhadEzovZ+HA1fMm/" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "ec6f0yWsr5CypPnEboLemYl", + "handler": "onClickSendMessage", + "customEventData": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 104 + }, + "_enabled": true, + "__prefab": { + "__id__": 121 + }, + "_alignFlags": 32, + "_target": null, + "_left": 0, + "_right": 25, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dd1UkQULBNmY9AAde5okAy" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "6b76dgqpVIqYcK/ana6UAo", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 81 + }, + "_enabled": true, + "__prefab": { + "__id__": 124 }, "_contentSize": { "__type__": "cc.Size", @@ -6116,11 +2585,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 241 + "__id__": 81 }, "_enabled": true, "__prefab": { - "__id__": 267 + "__id__": 126 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6161,11 +2630,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 241 + "__id__": 81 }, "_enabled": true, "__prefab": { - "__id__": 269 + "__id__": 128 }, "_alignFlags": 44, "_target": null, @@ -6214,7 +2683,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 272 + "__id__": 131 }, "_contentSize": { "__type__": "cc.Size", @@ -6242,7 +2711,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 274 + "__id__": 133 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6287,7 +2756,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 276 + "__id__": 135 }, "_alignFlags": 45, "_target": null, @@ -6336,7 +2805,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 279 + "__id__": 138 }, "_contentSize": { "__type__": "cc.Size", @@ -6364,7 +2833,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 281 + "__id__": 140 }, "_alignFlags": 45, "_target": null, @@ -6400,11 +2869,21 @@ }, "_enabled": true, "__prefab": { - "__id__": 283 + "__id__": 142 }, "mask": true, "maskOpcity": 80, "isClickMaskeClose": true, + "content": { + "__id__": 22 + }, + "chatPrefab": { + "__uuid__": "da561b68-57fb-462b-b799-da2ba6658534", + "__expectedType__": "cc.Prefab" + }, + "inputMessage": { + "__id__": 99 + }, "_id": "" }, { @@ -6421,6 +2900,17 @@ }, "fileId": "08xLpDDa9NlK3pgR7XiOqb", "instance": null, - "targetOverrides": null + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 51 + }, + { + "__id__": 41 + }, + { + "__id__": 33 + } + ] } ] \ No newline at end of file diff --git a/JisolGameCocos/assets/script/App.ts b/JisolGameCocos/assets/script/App.ts index 5d1cf9e2..757b9aad 100644 --- a/JisolGameCocos/assets/script/App.ts +++ b/JisolGameCocos/assets/script/App.ts @@ -20,15 +20,15 @@ import { SpriteFrame } from "cc"; import Loading from "../../extensions/ngame/assets/ngame/util/Loading"; import { Tables } from "../resources/config/data/schema"; import { JsonAsset } from "cc"; -import { GAction } from "./consts/GActionEnum"; +import { GAction } from "./consts/GAction"; import { StorageData, StorageEnum } from "./consts/GData"; import { JAPI, JAPIConfig } from "../../extensions/ngame/assets/ngame/util/JAPI"; import { AppData } from "./AppData"; -// let APIPath = `http://localhost:8080` -// let WsPath = `ws://localhost:8080/websocket` -let APIPath = `https://api.pet.jisol.cn` -let WsPath = `wss://api.pet.jisol.cn/websocket` +let APIPath = `http://localhost:8080` +let WsPath = `ws://localhost:8080/websocket` +// let APIPath = `https://api.pet.jisol.cn` +// let WsPath = `wss://api.pet.jisol.cn/websocket` //重写UI class JNGLayer extends JNLayer{ diff --git a/JisolGameCocos/assets/script/AppData.ts b/JisolGameCocos/assets/script/AppData.ts index 45bb42dd..4ac7f951 100644 --- a/JisolGameCocos/assets/script/AppData.ts +++ b/JisolGameCocos/assets/script/AppData.ts @@ -1,6 +1,7 @@ import SystemBase from "../../extensions/ngame/assets/ngame/system/SystemBase"; import { app } from "./App"; import BaseData from "./data/BaseData"; +import ChatData from "./data/ChatData"; import PlayerData from "./data/PlayerData"; import PlayerPetData from "./data/PlayerPetData"; @@ -12,6 +13,7 @@ export class AppData extends SystemBase{ loadings:BaseData[] = [ PlayerData.getIns(), //玩家信息 PlayerPetData.getIns(), //玩家宠物信息 + ChatData.getIns(), //聊天 ]; async onInit(): Promise { diff --git a/JisolGameCocos/assets/script/consts/GAction.ts b/JisolGameCocos/assets/script/consts/GAction.ts new file mode 100644 index 00000000..944f522f --- /dev/null +++ b/JisolGameCocos/assets/script/consts/GAction.ts @@ -0,0 +1,9 @@ +export enum GAction { + + TOKEN_EXPIRED = 1001, //Token过期 + + //聊天 + CHAT_MESSAGE = 2001, //发送聊天消息 + CHAT_RECEIVE_MESSAGE = 2002, //接受聊天消息 + +} \ No newline at end of file diff --git a/JisolGameCocos/assets/script/consts/GActionEnum.ts.meta b/JisolGameCocos/assets/script/consts/GAction.ts.meta similarity index 70% rename from JisolGameCocos/assets/script/consts/GActionEnum.ts.meta rename to JisolGameCocos/assets/script/consts/GAction.ts.meta index 5063a85a..201e4390 100644 --- a/JisolGameCocos/assets/script/consts/GActionEnum.ts.meta +++ b/JisolGameCocos/assets/script/consts/GAction.ts.meta @@ -2,7 +2,7 @@ "ver": "4.0.23", "importer": "typescript", "imported": true, - "uuid": "ed7dee3c-9396-4f08-bd29-deb690ca6cf8", + "uuid": "a70276f1-e218-427c-ba96-791133341363", "files": [], "subMetas": {}, "userData": {} diff --git a/JisolGameCocos/assets/script/consts/GActionEnum.ts b/JisolGameCocos/assets/script/consts/GActionEnum.ts deleted file mode 100644 index 9c8d88ea..00000000 --- a/JisolGameCocos/assets/script/consts/GActionEnum.ts +++ /dev/null @@ -1,6 +0,0 @@ -export enum GAction { - - TOKEN_EXPIRED = 1001, //Token过期 - NOT_CREATE_PLAYER_INFO = 2001, //没有玩家信息 - 前往引导页面 - -} \ No newline at end of file diff --git a/JisolGameCocos/assets/script/consts/GActionType.ts b/JisolGameCocos/assets/script/consts/GActionType.ts new file mode 100644 index 00000000..a181e1fd --- /dev/null +++ b/JisolGameCocos/assets/script/consts/GActionType.ts @@ -0,0 +1,9 @@ +export interface GUIChatMessage{ + message:string; +} + +export enum GActionType { + + GUIChatMessage = "GUIChatMessage",//聊天信息 + +} \ No newline at end of file diff --git a/JisolGameCocos/assets/script/consts/GActionType.ts.meta b/JisolGameCocos/assets/script/consts/GActionType.ts.meta new file mode 100644 index 00000000..b99726dd --- /dev/null +++ b/JisolGameCocos/assets/script/consts/GActionType.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "d3e60765-b4ca-4c63-9dd8-20befd658457", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/consts/HttpCode.ts b/JisolGameCocos/assets/script/consts/HttpCode.ts new file mode 100644 index 00000000..648fd5dd --- /dev/null +++ b/JisolGameCocos/assets/script/consts/HttpCode.ts @@ -0,0 +1,3 @@ +export enum GAction { + +} \ No newline at end of file diff --git a/JisolGameCocos/assets/script/consts/HttpCode.ts.meta b/JisolGameCocos/assets/script/consts/HttpCode.ts.meta new file mode 100644 index 00000000..b79f6922 --- /dev/null +++ b/JisolGameCocos/assets/script/consts/HttpCode.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "772c2168-9685-4567-92b0-93cb00b8d679", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/data/ChatData.ts b/JisolGameCocos/assets/script/data/ChatData.ts new file mode 100644 index 00000000..9e52a76a --- /dev/null +++ b/JisolGameCocos/assets/script/data/ChatData.ts @@ -0,0 +1,46 @@ +import Singleton from "../../../extensions/ngame/assets/ngame/util/Singleton"; +import { app } from "../App"; +import { GAction } from "../consts/GAction"; +import { GActionType, GUIChatMessage } from "../consts/GActionType"; +import BaseData from "./BaseData"; + +//聊天数据 +export default class ChatData extends BaseData{ + + //世界消息列表 + datas:string[] = []; + + //接受消息事件 + receives:Function[] = []; + + onInit() { + //监听聊天消息 + app.socket.on(GAction.CHAT_RECEIVE_MESSAGE,this.onChatReceiveMessage,this,GActionType.GUIChatMessage); + } + + + //接受聊天消息 + onChatReceiveMessage(info:GUIChatMessage){ + console.log(`ChatData - onChatReceiveMessage`,info.message); + this.datas.push(info.message); + this.receives.forEach(fun => fun(info)) + } + + //发送消息 + onSend(message:GUIChatMessage){ + app.socket.Send(GAction.CHAT_MESSAGE,message,GActionType.GUIChatMessage); + } + + //监听接受消息 + on(receive:Function){ + this.receives.push(receive); + } + //取消 + off(receive:Function){ + let index = this.receives.indexOf(receive); + if(index != -1) + this.receives.splice(index,1); + } + +} + diff --git a/JisolGameCocos/assets/script/data/ChatData.ts.meta b/JisolGameCocos/assets/script/data/ChatData.ts.meta new file mode 100644 index 00000000..17b27111 --- /dev/null +++ b/JisolGameCocos/assets/script/data/ChatData.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "37e2c6bd-5072-431f-a9c4-ec7fda53b41f", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/manager.meta b/JisolGameCocos/assets/script/manager.meta new file mode 100644 index 00000000..5f67a520 --- /dev/null +++ b/JisolGameCocos/assets/script/manager.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "2c2f02a8-a17c-4c79-81c6-df08eff53759", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/JisolGameCocos/assets/script/ui/Novice/NoviceManager.ts b/JisolGameCocos/assets/script/manager/NoviceManager.ts similarity index 73% rename from JisolGameCocos/assets/script/ui/Novice/NoviceManager.ts rename to JisolGameCocos/assets/script/manager/NoviceManager.ts index 796488c2..47276ce9 100644 --- a/JisolGameCocos/assets/script/ui/Novice/NoviceManager.ts +++ b/JisolGameCocos/assets/script/manager/NoviceManager.ts @@ -1,8 +1,8 @@ -import Singleton from "../../../../extensions/ngame/assets/ngame/util/Singleton"; -import { app } from "../../App"; -import PlayerData from "../../data/PlayerData"; -import PlayerPetData from "../../data/PlayerPetData"; -import { GUI } from "../UIConfig"; +import Singleton from "../../../extensions/ngame/assets/ngame/util/Singleton"; +import { app } from "../App"; +import PlayerData from "../data/PlayerData"; +import PlayerPetData from "../data/PlayerPetData"; +import { GUI } from "../ui/UIConfig"; export default class NoviceManager extends Singleton{ diff --git a/JisolGameCocos/assets/script/ui/Novice/NoviceManager.ts.meta b/JisolGameCocos/assets/script/manager/NoviceManager.ts.meta similarity index 70% rename from JisolGameCocos/assets/script/ui/Novice/NoviceManager.ts.meta rename to JisolGameCocos/assets/script/manager/NoviceManager.ts.meta index be074a4f..fce8a370 100644 --- a/JisolGameCocos/assets/script/ui/Novice/NoviceManager.ts.meta +++ b/JisolGameCocos/assets/script/manager/NoviceManager.ts.meta @@ -2,7 +2,7 @@ "ver": "4.0.23", "importer": "typescript", "imported": true, - "uuid": "8b5cc1e0-3fa2-4ee3-b93b-2da9878f9c8c", + "uuid": "ef14d8c5-9f53-4f42-baeb-1c663be5f283", "files": [], "subMetas": {}, "userData": {} diff --git a/JisolGameCocos/assets/script/ui/Home/Chat/MainChatView.ts b/JisolGameCocos/assets/script/ui/Home/Chat/MainChatView.ts index bdade5bc..edb1f104 100644 --- a/JisolGameCocos/assets/script/ui/Home/Chat/MainChatView.ts +++ b/JisolGameCocos/assets/script/ui/Home/Chat/MainChatView.ts @@ -1,9 +1,83 @@ import { _decorator, Component, Node } from 'cc'; -import { JNGLayerBase } from '../../../App'; +import { app, JNGLayerBase } from '../../../App'; +import { Prefab } from 'cc'; +import ChatData from '../../../data/ChatData'; +import { instantiate } from 'cc'; +import { Label } from 'cc'; +import { EditBox } from 'cc'; +import { GUI } from '../../UIConfig'; +import { GUIChatMessage } from '../../../consts/GActionType'; +import { Widget } from 'cc'; +import JScrollExceedHide from '../../../../../extensions/ngame/assets/ngame/util/components/JScrollExceedHide'; const { ccclass, property } = _decorator; @ccclass('MainChatView') export class MainChatView extends JNGLayerBase { + + @property(Node) + content:Node; //聊天内容 + + @property(Prefab) + chatPrefab:Prefab; //聊天预制体 + + @property(EditBox) + inputMessage:EditBox; //聊天输入框 + + onJNLoad(data?: any): void { + + super.onJNLoad(data); + this.onInitUpdate(); + + //监听消息 + ChatData.getIns().on(this.onMessage.bind(this)); + + } + + onJNClose(): void { + super.onJNClose(); + ChatData.getIns().off(this.onMessage.bind(this)); + } + + //初始化聊天显示 + onInitUpdate(){ + + this.content.destroyAllChildren(); + let messages = ChatData.getIns().datas; + + messages.forEach(message => { + let node = instantiate(this.chatPrefab); + node.getComponent(Label).string = message; + this.content.addChild(node); + }) + + } + + //发送消息 + onClickSendMessage(){ + + if(!this.inputMessage.string){ + app.layer.Open(GUI.Tips,{text:"请输入内容"}) + return; + } + + ChatData.getIns().onSend({ + message:this.inputMessage.string + }); + + } + + //接受到消息 + onMessage(info:GUIChatMessage){ + + //插入数据 + let node = instantiate(this.chatPrefab); + node.getComponent(Label).string = info.message; + this.content.addChild(node); + this.scheduleOnce(() => { + this.getComponentInChildren(JScrollExceedHide).onUpdate(); + }) + + } } diff --git a/JisolGameCocos/assets/script/ui/Home/MainView.ts b/JisolGameCocos/assets/script/ui/Home/MainView.ts index 9b738484..cf636312 100644 --- a/JisolGameCocos/assets/script/ui/Home/MainView.ts +++ b/JisolGameCocos/assets/script/ui/Home/MainView.ts @@ -1,6 +1,8 @@ import { _decorator, Component, Label, Node } from 'cc'; import { app, JNGLayerBase } from '../../App'; import { GUI } from '../UIConfig'; +import ChatData from '../../data/ChatData'; +import PlayerData from '../../data/PlayerData'; const { ccclass, property } = _decorator; @ccclass('MainView') @@ -8,6 +10,12 @@ export class MainView extends JNGLayerBase { onJNLoad(data?: any): void { + + //发送消息 + ChatData.getIns().onSend({ + message:`${PlayerData.getIns().data.playerId} 加入游戏` + }); + } //打开聊天页面 diff --git a/JisolGameCocos/assets/script/ui/Loading/LoadingView.ts b/JisolGameCocos/assets/script/ui/Loading/LoadingView.ts index ec7bee35..a9e782e5 100644 --- a/JisolGameCocos/assets/script/ui/Loading/LoadingView.ts +++ b/JisolGameCocos/assets/script/ui/Loading/LoadingView.ts @@ -3,9 +3,7 @@ import { _decorator } from "cc"; import { JNGLayerBase, app } from "../../App"; import { Label } from "cc"; import { GUI } from "../UIConfig"; -import { API } from "../../consts/API"; -import { GAction } from "../../consts/GActionEnum"; -import NoviceManager from "../Novice/NoviceManager"; +import NoviceManager from "../../manager/NoviceManager"; const { ccclass, property } = _decorator; @ccclass('LoadingView') diff --git a/JisolGameCocos/extensions/ngame b/JisolGameCocos/extensions/ngame index bcaff676..c5432ebb 160000 --- a/JisolGameCocos/extensions/ngame +++ b/JisolGameCocos/extensions/ngame @@ -1 +1 @@ -Subproject commit bcaff67650a01e8ebea3a5c8a86f8879f3ce39f4 +Subproject commit c5432ebb220d354a6790fa96348c70620cb16dcc diff --git a/JisolGameCocos/package-lock.json b/JisolGameCocos/package-lock.json index a591a435..0603c07b 100644 --- a/JisolGameCocos/package-lock.json +++ b/JisolGameCocos/package-lock.json @@ -6,9 +6,31 @@ "": { "name": "JisolGameCocos", "dependencies": { - "protobufjs": "^7.2.5" + "protobufjs": "^7.2.5", + "protobufjs-cli": "^1.1.2" + } + }, + "node_modules/@babel/parser": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.3.tgz", + "integrity": "sha512-uVsWNvlVsIninV2prNz/3lHCb+5CJ+e+IUBfbjToAHODtfGYLfCFuY4AU7TskI+dAKk+njsPiBjq1gKTvZOBaw==", + "bin": { + "parser": "bin/babel-parser.js" }, - "devDependencies": {} + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jsdoc/salty": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.6.tgz", + "integrity": "sha512-aA+awb5yoml8TQ3CzI5Ue7sM3VMRC4l1zJJW4fgZ8OCL1wshJZhNzaf0PL85DSnOUw6QuFgeHGD/eq/xwwAF2g==", + "dependencies": { + "lodash": "^4.17.21" + }, + "engines": { + "node": ">=v12.0.0" + } }, "node_modules/@protobufjs/aspromise": { "version": "1.1.2", @@ -64,6 +86,25 @@ "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" }, + "node_modules/@types/linkify-it": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-3.0.5.tgz", + "integrity": "sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw==" + }, + "node_modules/@types/markdown-it": { + "version": "12.2.3", + "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-12.2.3.tgz", + "integrity": "sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==", + "dependencies": { + "@types/linkify-it": "*", + "@types/mdurl": "*" + } + }, + "node_modules/@types/mdurl": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-1.0.5.tgz", + "integrity": "sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==" + }, "node_modules/@types/node": { "version": "20.9.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.0.tgz", @@ -72,11 +113,464 @@ "undici-types": "~5.26.4" } }, + "node_modules/acorn": { + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", + "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/catharsis": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz", + "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", + "dependencies": { + "lodash": "^4.17.15" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + }, + "node_modules/entities": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", + "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=4.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/escodegen/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/js2xmlparser": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz", + "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", + "dependencies": { + "xmlcreate": "^2.0.4" + } + }, + "node_modules/jsdoc": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.2.tgz", + "integrity": "sha512-e8cIg2z62InH7azBBi3EsSEqrKx+nUtAS5bBcYTSpZFA+vhNPyhv8PTFZ0WsjOPDj04/dOLlm08EDcQJDqaGQg==", + "dependencies": { + "@babel/parser": "^7.20.15", + "@jsdoc/salty": "^0.2.1", + "@types/markdown-it": "^12.2.3", + "bluebird": "^3.7.2", + "catharsis": "^0.9.0", + "escape-string-regexp": "^2.0.0", + "js2xmlparser": "^4.0.2", + "klaw": "^3.0.0", + "markdown-it": "^12.3.2", + "markdown-it-anchor": "^8.4.1", + "marked": "^4.0.10", + "mkdirp": "^1.0.4", + "requizzle": "^0.2.3", + "strip-json-comments": "^3.1.0", + "underscore": "~1.13.2" + }, + "bin": { + "jsdoc": "jsdoc.js" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/klaw": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", + "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", + "dependencies": { + "graceful-fs": "^4.1.9" + } + }, + "node_modules/levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/linkify-it": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.3.tgz", + "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", + "dependencies": { + "uc.micro": "^1.0.1" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, "node_modules/long": { "version": "5.2.3", "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/markdown-it": { + "version": "12.3.2", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.3.2.tgz", + "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", + "dependencies": { + "argparse": "^2.0.1", + "entities": "~2.1.0", + "linkify-it": "^3.0.1", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" + }, + "bin": { + "markdown-it": "bin/markdown-it.js" + } + }, + "node_modules/markdown-it-anchor": { + "version": "8.6.7", + "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz", + "integrity": "sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA==", + "peerDependencies": { + "@types/markdown-it": "*", + "markdown-it": "*" + } + }, + "node_modules/marked": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", + "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/mdurl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", + "integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==" + }, + "node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/protobufjs": { "version": "7.2.5", "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.5.tgz", @@ -100,10 +594,209 @@ "node": ">=12.0.0" } }, + "node_modules/protobufjs-cli": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/protobufjs-cli/-/protobufjs-cli-1.1.2.tgz", + "integrity": "sha512-8ivXWxT39gZN4mm4ArQyJrRgnIwZqffBWoLDsE21TmMcKI3XwJMV4lEF2WU02C4JAtgYYc2SfJIltelD8to35g==", + "dependencies": { + "chalk": "^4.0.0", + "escodegen": "^1.13.0", + "espree": "^9.0.0", + "estraverse": "^5.1.0", + "glob": "^8.0.0", + "jsdoc": "^4.0.0", + "minimist": "^1.2.0", + "semver": "^7.1.2", + "tmp": "^0.2.1", + "uglify-js": "^3.7.7" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "protobufjs": "^7.0.0" + } + }, + "node_modules/requizzle": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.4.tgz", + "integrity": "sha512-JRrFk1D4OQ4SqovXOgdav+K8EAhSB/LJZqCz8tbX0KObcdeM15Ss59ozWMBWmmINMagCwmqn4ZNryUGpBsl6Jw==", + "dependencies": { + "lodash": "^4.17.21" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/rimraf/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tmp": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", + "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", + "dependencies": { + "rimraf": "^3.0.0" + }, + "engines": { + "node": ">=8.17.0" + } + }, + "node_modules/type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" + }, + "node_modules/uglify-js": { + "version": "3.17.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", + "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/underscore": { + "version": "1.13.6", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz", + "integrity": "sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==" + }, "node_modules/undici-types": { "version": "5.26.5", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/xmlcreate": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz", + "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==" + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } } diff --git a/JisolGameCocos/package.json b/JisolGameCocos/package.json index c761bd66..4b7115dd 100644 --- a/JisolGameCocos/package.json +++ b/JisolGameCocos/package.json @@ -9,6 +9,7 @@ "build-proto:pbts": "pbts --main --out ./extensions/ngame/assets/ngame/message/proto.d.ts ./extensions/ngame/assets/ngame/message/proto.js" }, "dependencies": { - "protobufjs": "^7.2.5" + "protobufjs": "^7.2.5", + "protobufjs-cli": "^1.1.2" } } diff --git a/JisolGameCocos/proto.bat b/JisolGameCocos/proto.bat index da383a86..efbce34a 100644 --- a/JisolGameCocos/proto.bat +++ b/JisolGameCocos/proto.bat @@ -1,2 +1,5 @@ +pause npm run build-proto:pbjs -npm run build-proto:pbts \ No newline at end of file +pause +npm run build-proto:pbts +pause diff --git a/JisolGameCocos/proto/GUIMessage.proto b/JisolGameCocos/proto/GUIMessage.proto index d46bd1c8..ffa416a9 100644 --- a/JisolGameCocos/proto/GUIMessage.proto +++ b/JisolGameCocos/proto/GUIMessage.proto @@ -4,5 +4,5 @@ option java_package = "cn.jisol.ngame.proto"; //聊天信息 message GUIChatMessage { - repeated string message = 1; //聊天内容 + string message = 1; //聊天内容 } diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/actions/GActionEnum.java b/JisolGameServer/Main/src/main/java/cn/jisol/game/actions/GActionEnum.java index 4de8b4aa..24ce5fb4 100644 --- a/JisolGameServer/Main/src/main/java/cn/jisol/game/actions/GActionEnum.java +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/actions/GActionEnum.java @@ -4,4 +4,8 @@ public interface GActionEnum { int TOKEN_EXPIRED = 1001; //Token过期 + /*************** 聊天 *********************/ + int CHAT_MESSAGE = 2001; //发送聊天消息 + int CHAT_RECEIVE_MESSAGE = 2002; //接受聊天消息 + } diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/actions/GChatAction.java b/JisolGameServer/Main/src/main/java/cn/jisol/game/actions/GChatAction.java new file mode 100644 index 00000000..9ade27c5 --- /dev/null +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/actions/GChatAction.java @@ -0,0 +1,21 @@ +package cn.jisol.game.actions; + +import cn.jisol.game.network.client.GClient; +import cn.jisol.game.proto.GUIMessage; +import cn.jisol.ngame.actions.core.NAction; +import cn.jisol.ngame.actions.core.NActionMethod; + +import java.util.Map; + +@NAction +public class GChatAction { + + //发送消息 + @NActionMethod(GActionEnum.CHAT_MESSAGE) + public static void onChatMessage(GUIMessage.GUIChatMessage message, Map clients){ + clients.values().forEach(client -> { + client.invoke(GActionEnum.CHAT_RECEIVE_MESSAGE,message); + }); + } + +} diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/network/WebSocket.java b/JisolGameServer/Main/src/main/java/cn/jisol/game/network/WebSocket.java index dc8f5c37..834fe100 100644 --- a/JisolGameServer/Main/src/main/java/cn/jisol/game/network/WebSocket.java +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/network/WebSocket.java @@ -1,11 +1,10 @@ package cn.jisol.game.network; import cn.jisol.game.actions.GActionEnum; -import cn.jisol.game.data.Cache; +import cn.jisol.game.controller.game.GPlayerController; import cn.jisol.game.network.client.GClient; -import cn.jisol.ngame.actions.core.NActionEnum; -import cn.jisol.ngame.client.NClient; import cn.jisol.ngame.network.JNetwork; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import javax.websocket.OnClose; @@ -24,20 +23,30 @@ import java.util.concurrent.ConcurrentHashMap; @Controller public class WebSocket { - public static final Map CLIENTS = new ConcurrentHashMap<>(); + static GPlayerController playerController; + + @Autowired + private void setPlayerController(GPlayerController playerController){ + WebSocket.playerController = playerController; + } + + public static final Map CLIENTS = new ConcurrentHashMap<>(); @OnOpen public void onOpen(Session session){ String token = session.getPathParameters().get("token"); - NClient client = new GClient(session); - if(Objects.isNull(Cache.TOKEN.get(token))){ + GClient client = new GClient(token,session); + + if(Objects.isNull(client.user)){ //发送Token过期请求 client.invoke(GActionEnum.TOKEN_EXPIRED); //关闭连接 client.Close(); return; } + + client.player = playerController.getPlayerInfo(client.user).data; CLIENTS.put(session.getId(),client); System.out.printf("[WebSocket] %s 连接成功.\n",session.getId()); @@ -45,7 +54,8 @@ public class WebSocket { @OnMessage public void onMessage(Session session, InputStream inputStream){ - JNetwork.onMessage(inputStream,CLIENTS.get(session.getId()),CLIENTS); + GClient client = CLIENTS.get(session.getId()); + JNetwork.onMessage(inputStream,client,CLIENTS,client.user,client.player); } @OnClose diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/network/client/GClient.java b/JisolGameServer/Main/src/main/java/cn/jisol/game/network/client/GClient.java index 714ca20e..67457008 100644 --- a/JisolGameServer/Main/src/main/java/cn/jisol/game/network/client/GClient.java +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/network/client/GClient.java @@ -1,5 +1,8 @@ package cn.jisol.game.network.client; +import cn.jisol.game.data.Cache; +import cn.jisol.game.entity.User; +import cn.jisol.game.entity.game.Player; import cn.jisol.ngame.client.QueueNClient; import javax.websocket.EncodeException; @@ -10,9 +13,14 @@ public class GClient extends QueueNClient { public Session session; - public GClient(Session session){ + public User user; + + public Player player; + + public GClient(String token,Session session){ super(session.getId()); this.session = session; + this.user = Cache.TOKEN.get(token); } @Override @@ -32,4 +40,5 @@ public class GClient extends QueueNClient { } catch (IOException ignored) {} } } + } diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/proto/GUIMessage.java b/JisolGameServer/Main/src/main/java/cn/jisol/game/proto/GUIMessage.java index 96aba86f..6b4d899d 100644 --- a/JisolGameServer/Main/src/main/java/cn/jisol/game/proto/GUIMessage.java +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/proto/GUIMessage.java @@ -23,41 +23,20 @@ public final class GUIMessage { *聊天内容 * * - * repeated string message = 1; - * @return A list containing the message. + * string message = 1; + * @return The message. */ - java.util.List - getMessageList(); + java.lang.String getMessage(); /** *
      *聊天内容
      * 
* - * repeated string message = 1; - * @return The count of message. - */ - int getMessageCount(); - /** - *
-     *聊天内容
-     * 
- * - * repeated string message = 1; - * @param index The index of the element to return. - * @return The message at the given index. - */ - java.lang.String getMessage(int index); - /** - *
-     *聊天内容
-     * 
- * - * repeated string message = 1; - * @param index The index of the value to return. - * @return The bytes of the message at the given index. + * string message = 1; + * @return The bytes for message. */ com.google.protobuf.ByteString - getMessageBytes(int index); + getMessageBytes(); } /** *
@@ -76,7 +55,7 @@ public final class GUIMessage {
       super(builder);
     }
     private GUIChatMessage() {
-      message_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      message_ = "";
     }
 
     @java.lang.Override
@@ -99,7 +78,6 @@ public final class GUIMessage {
       if (extensionRegistry == null) {
         throw new java.lang.NullPointerException();
       }
-      int mutable_bitField0_ = 0;
       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
           com.google.protobuf.UnknownFieldSet.newBuilder();
       try {
@@ -112,11 +90,8 @@ public final class GUIMessage {
               break;
             case 10: {
               java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                message_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              message_.add(s);
+
+              message_ = s;
               break;
             }
             default: {
@@ -136,9 +111,6 @@ public final class GUIMessage {
         throw new com.google.protobuf.InvalidProtocolBufferException(
             e).setUnfinishedMessage(this);
       } finally {
-        if (((mutable_bitField0_ & 0x00000001) != 0)) {
-          message_ = message_.getUnmodifiableView();
-        }
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
@@ -157,54 +129,49 @@ public final class GUIMessage {
     }
 
     public static final int MESSAGE_FIELD_NUMBER = 1;
-    private com.google.protobuf.LazyStringList message_;
+    private volatile java.lang.Object message_;
     /**
      * 
      *聊天内容
      * 
* - * repeated string message = 1; - * @return A list containing the message. + * string message = 1; + * @return The message. */ - public com.google.protobuf.ProtocolStringList - getMessageList() { - return message_; + @java.lang.Override + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } } /** *
      *聊天内容
      * 
* - * repeated string message = 1; - * @return The count of message. - */ - public int getMessageCount() { - return message_.size(); - } - /** - *
-     *聊天内容
-     * 
- * - * repeated string message = 1; - * @param index The index of the element to return. - * @return The message at the given index. - */ - public java.lang.String getMessage(int index) { - return message_.get(index); - } - /** - *
-     *聊天内容
-     * 
- * - * repeated string message = 1; - * @param index The index of the value to return. - * @return The bytes of the message at the given index. + * string message = 1; + * @return The bytes for message. */ + @java.lang.Override public com.google.protobuf.ByteString - getMessageBytes(int index) { - return message_.getByteString(index); + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } private byte memoizedIsInitialized = -1; @@ -221,8 +188,8 @@ public final class GUIMessage { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < message_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_.getRaw(i)); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } unknownFields.writeTo(output); } @@ -233,13 +200,8 @@ public final class GUIMessage { if (size != -1) return size; size = 0; - { - int dataSize = 0; - for (int i = 0; i < message_.size(); i++) { - dataSize += computeStringSizeNoTag(message_.getRaw(i)); - } - size += dataSize; - size += 1 * getMessageList().size(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -256,8 +218,8 @@ public final class GUIMessage { } GUIMessage.GUIChatMessage other = (GUIMessage.GUIChatMessage) obj; - if (!getMessageList() - .equals(other.getMessageList())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,10 +231,8 @@ public final class GUIMessage { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getMessageCount() > 0) { - hash = (37 * hash) + MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getMessageList().hashCode(); - } + hash = (37 * hash) + MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -410,8 +370,8 @@ public final class GUIMessage { @java.lang.Override public Builder clear() { super.clear(); - message_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + message_ = ""; + return this; } @@ -438,11 +398,6 @@ public final class GUIMessage { @java.lang.Override public GUIMessage.GUIChatMessage buildPartial() { GUIMessage.GUIChatMessage result = new GUIMessage.GUIChatMessage(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - message_ = message_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } result.message_ = message_; onBuilt(); return result; @@ -492,14 +447,8 @@ public final class GUIMessage { public Builder mergeFrom(GUIMessage.GUIChatMessage other) { if (other == GUIMessage.GUIChatMessage.getDefaultInstance()) return this; - if (!other.message_.isEmpty()) { - if (message_.isEmpty()) { - message_ = other.message_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureMessageIsMutable(); - message_.addAll(other.message_); - } + if (!other.getMessage().isEmpty()) { + message_ = other.message_; onChanged(); } this.mergeUnknownFields(other.unknownFields); @@ -530,99 +479,65 @@ public final class GUIMessage { } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList message_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureMessageIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - message_ = new com.google.protobuf.LazyStringArrayList(message_); - bitField0_ |= 0x00000001; - } - } + private java.lang.Object message_ = ""; /** *
        *聊天内容
        * 
* - * repeated string message = 1; - * @return A list containing the message. + * string message = 1; + * @return The message. */ - public com.google.protobuf.ProtocolStringList - getMessageList() { - return message_.getUnmodifiableView(); + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } else { + return (java.lang.String) ref; + } } /** *
        *聊天内容
        * 
* - * repeated string message = 1; - * @return The count of message. - */ - public int getMessageCount() { - return message_.size(); - } - /** - *
-       *聊天内容
-       * 
- * - * repeated string message = 1; - * @param index The index of the element to return. - * @return The message at the given index. - */ - public java.lang.String getMessage(int index) { - return message_.get(index); - } - /** - *
-       *聊天内容
-       * 
- * - * repeated string message = 1; - * @param index The index of the value to return. - * @return The bytes of the message at the given index. + * string message = 1; + * @return The bytes for message. */ public com.google.protobuf.ByteString - getMessageBytes(int index) { - return message_.getByteString(index); + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** *
        *聊天内容
        * 
* - * repeated string message = 1; - * @param index The index to set the value at. + * string message = 1; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureMessageIsMutable(); - message_.set(index, value); - onChanged(); - return this; - } - /** - *
-       *聊天内容
-       * 
- * - * repeated string message = 1; - * @param value The message to add. - * @return This builder for chaining. - */ - public Builder addMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } - ensureMessageIsMutable(); - message_.add(value); + + message_ = value; onChanged(); return this; } @@ -631,29 +546,12 @@ public final class GUIMessage { *聊天内容 *
* - * repeated string message = 1; - * @param values The message to add. - * @return This builder for chaining. - */ - public Builder addAllMessage( - java.lang.Iterable values) { - ensureMessageIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, message_); - onChanged(); - return this; - } - /** - *
-       *聊天内容
-       * 
- * - * repeated string message = 1; + * string message = 1; * @return This builder for chaining. */ public Builder clearMessage() { - message_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } @@ -662,18 +560,18 @@ public final class GUIMessage { *聊天内容 * * - * repeated string message = 1; - * @param value The bytes of the message to add. + * string message = 1; + * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder addMessageBytes( + public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - ensureMessageIsMutable(); - message_.add(value); + + message_ = value; onChanged(); return this; } @@ -745,7 +643,7 @@ public final class GUIMessage { static { java.lang.String[] descriptorData = { "\n\020GUIMessage.proto\"!\n\016GUIChatMessage\022\017\n\007" + - "message\030\001 \003(\tB\026\n\024cn.jisol.ngame.protob\006p" + + "message\030\001 \001(\tB\026\n\024cn.jisol.ngame.protob\006p" + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor diff --git a/JisolGameServer/Main/src/main/java/cn/jisol/game/proto/GUIMessage.proto b/JisolGameServer/Main/src/main/java/cn/jisol/game/proto/GUIMessage.proto index d46bd1c8..ffa416a9 100644 --- a/JisolGameServer/Main/src/main/java/cn/jisol/game/proto/GUIMessage.proto +++ b/JisolGameServer/Main/src/main/java/cn/jisol/game/proto/GUIMessage.proto @@ -4,5 +4,5 @@ option java_package = "cn.jisol.ngame.proto"; //聊天信息 message GUIChatMessage { - repeated string message = 1; //聊天内容 + string message = 1; //聊天内容 }