diff --git a/examples/cocos-creator-3.3.0/backend/.gitignore b/examples/cocos-creator-3.3.0/backend/.gitignore new file mode 100644 index 0000000..d84f0da --- /dev/null +++ b/examples/cocos-creator-3.3.0/backend/.gitignore @@ -0,0 +1,3 @@ +node_modules +dist +.DS_STORE \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/backend/.vscode/launch.json b/examples/cocos-creator-3.3.0/backend/.vscode/launch.json new file mode 100644 index 0000000..9ba4218 --- /dev/null +++ b/examples/cocos-creator-3.3.0/backend/.vscode/launch.json @@ -0,0 +1,30 @@ +{ + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "mocha current file", + "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", + "args": [ + "${file}" + ], + "internalConsoleOptions": "openOnSessionStart", + "cwd": "${workspaceFolder}" + }, + { + "type": "node", + "request": "launch", + "name": "ts-node current file", + "protocol": "inspector", + "args": [ + "${relativeFile}" + ], + "cwd": "${workspaceRoot}", + "runtimeArgs": [ + "-r", + "ts-node/register" + ], + "internalConsoleOptions": "openOnSessionStart" + } + ] +} \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/backend/.vscode/settings.json b/examples/cocos-creator-3.3.0/backend/.vscode/settings.json new file mode 100644 index 0000000..00ad71f --- /dev/null +++ b/examples/cocos-creator-3.3.0/backend/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "typescript.tsdk": "node_modules\\typescript\\lib" +} \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/backend/README.md b/examples/cocos-creator-3.3.0/backend/README.md new file mode 100644 index 0000000..7492c22 --- /dev/null +++ b/examples/cocos-creator-3.3.0/backend/README.md @@ -0,0 +1,35 @@ +# TSRPC Server + +## Run +### Local Dev Server +``` +npm run dev +``` + + + +### Build +``` +npm run build +``` + +--- + +## Files +### Generate ServiceProto +``` +npm run proto +``` + +### Generate API templates +``` +npm run api +``` + +### Sync shared code to client + +``` +npm run sync +``` + +> If you chose symlink when using `create-tsrpc-app`, it would re-create the symlink instead of copy files. diff --git a/examples/cocos-creator-3.3.0/backend/package.json b/examples/cocos-creator-3.3.0/backend/package.json new file mode 100644 index 0000000..59acc2c --- /dev/null +++ b/examples/cocos-creator-3.3.0/backend/package.json @@ -0,0 +1,23 @@ +{ + "name": "chatroom-backend", + "version": "0.1.0", + "main": "index.js", + "private": true, + "scripts": { + "proto": "tsrpc proto -i src/shared/protocols -o src/shared/protocols/serviceProto.ts", + "sync": "tsrpc sync --from src/shared --to ../frontend/assets/scripts/shared", + "api": "tsrpc api -i src/shared/protocols/serviceProto.ts -o src/api", + "dev": "onchange \"src/**/*.ts\" -i -k -- ts-node \"src/index.ts\"", + "build": "tsrpc build" + }, + "devDependencies": { + "@types/node": "^15.12.3", + "onchange": "^7.1.0", + "ts-node": "^9.1.1", + "tsrpc-cli": "^2.0.3", + "typescript": "^4.3.4" + }, + "dependencies": { + "tsrpc": "^3.0.2" + } +} diff --git a/examples/cocos-creator-3.3.0/backend/src/api/ApiSend.ts b/examples/cocos-creator-3.3.0/backend/src/api/ApiSend.ts new file mode 100644 index 0000000..0864ac3 --- /dev/null +++ b/examples/cocos-creator-3.3.0/backend/src/api/ApiSend.ts @@ -0,0 +1,23 @@ +import { ApiCall } from "tsrpc"; +import { server } from ".."; +import { ReqSend, ResSend } from "../shared/protocols/PtlSend"; + +export async function ApiSend(call: ApiCall) { + // Error + if (call.req.content.length === 0) { + call.error('Content is empty') + return; + } + + // Success + let time = new Date(); + call.succ({ + time: time + }); + + // Broadcast + server.broadcastMsg('Chat', { + content: call.req.content, + time: time + }) +} \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/backend/src/index.ts b/examples/cocos-creator-3.3.0/backend/src/index.ts new file mode 100644 index 0000000..eab4171 --- /dev/null +++ b/examples/cocos-creator-3.3.0/backend/src/index.ts @@ -0,0 +1,24 @@ +import * as path from "path"; +import { WsServer } from "tsrpc"; +import { serviceProto } from './shared/protocols/serviceProto'; + +// Create the Server +export const server = new WsServer(serviceProto, { + port: 3000 +}); + +// Entry function +async function main() { + await server.autoImplementApi(path.resolve(__dirname, 'api')); + + // TODO + // Prepare something... (e.g. connect the db) + + await server.start(); +}; + +main().catch(e => { + // Exit if any error during the startup + server.logger.error(e); + process.exit(-1); +}); \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/backend/src/shared/protocols/MsgChat.ts b/examples/cocos-creator-3.3.0/backend/src/shared/protocols/MsgChat.ts new file mode 100644 index 0000000..4912efe --- /dev/null +++ b/examples/cocos-creator-3.3.0/backend/src/shared/protocols/MsgChat.ts @@ -0,0 +1,4 @@ +export interface MsgChat { + content: string, + time: Date +} \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/backend/src/shared/protocols/PtlSend.ts b/examples/cocos-creator-3.3.0/backend/src/shared/protocols/PtlSend.ts new file mode 100644 index 0000000..ed2505d --- /dev/null +++ b/examples/cocos-creator-3.3.0/backend/src/shared/protocols/PtlSend.ts @@ -0,0 +1,7 @@ +export interface ReqSend { + content: string +} + +export interface ResSend { + time: Date +} \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/backend/src/shared/protocols/serviceProto.ts b/examples/cocos-creator-3.3.0/backend/src/shared/protocols/serviceProto.ts new file mode 100644 index 0000000..d007337 --- /dev/null +++ b/examples/cocos-creator-3.3.0/backend/src/shared/protocols/serviceProto.ts @@ -0,0 +1,75 @@ +import { ServiceProto } from 'tsrpc-proto'; +import { MsgChat } from './MsgChat'; +import { ReqSend, ResSend } from './PtlSend'; + +export interface ServiceType { + api: { + "Send": { + req: ReqSend, + res: ResSend + } + }, + msg: { + "Chat": MsgChat + } +} + +export const serviceProto: ServiceProto = { + "services": [ + { + "id": 0, + "name": "Chat", + "type": "msg" + }, + { + "id": 1, + "name": "Send", + "type": "api" + } + ], + "types": { + "MsgChat/MsgChat": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "content", + "type": { + "type": "String" + } + }, + { + "id": 1, + "name": "time", + "type": { + "type": "Date" + } + } + ] + }, + "PtlSend/ReqSend": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "content", + "type": { + "type": "String" + } + } + ] + }, + "PtlSend/ResSend": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "time", + "type": { + "type": "Date" + } + } + ] + } + } +}; \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/backend/tsconfig.json b/examples/cocos-creator-3.3.0/backend/tsconfig.json new file mode 100644 index 0000000..d18498f --- /dev/null +++ b/examples/cocos-creator-3.3.0/backend/tsconfig.json @@ -0,0 +1,18 @@ +{ + "compilerOptions": { + "lib": [ + "es2018" + ], + "module": "commonjs", + "target": "es2018", + "outDir": "dist", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "moduleResolution": "node" + }, + "include": [ + "src" + ] +} \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/frontend/.gitignore b/examples/cocos-creator-3.3.0/frontend/.gitignore new file mode 100644 index 0000000..0f23c51 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/.gitignore @@ -0,0 +1,5 @@ +node_modules +library +temp +build +local \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs.meta b/examples/cocos-creator-3.3.0/frontend/assets/prefabs.meta new file mode 100644 index 0000000..3bfdd32 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "c6d58550-5301-4b62-b696-31d8f827844d", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox.meta b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox.meta new file mode 100644 index 0000000..facb489 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "7f656590-e733-47c8-9a29-8fc1efd57cc2", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.prefab b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.prefab new file mode 100644 index 0000000..b052642 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.prefab @@ -0,0 +1,2438 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "ChatBox", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 10 + }, + { + "__id__": 24 + }, + { + "__id__": 62 + }, + { + "__id__": 93 + } + ], + "_active": true, + "_components": [ + { + "__id__": 110 + }, + { + "__id__": 112 + } + ], + "_prefab": { + "__id__": 114 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 218.258, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + }, + { + "__id__": 7 + } + ], + "_prefab": { + "__id__": 9 + }, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 500 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f7NISe7HdAD68SLfhnddy8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 202, + "g": 202, + "b": 202, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e71ctEmpxFC4KlSYRZNz/a" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 2, + "_originalHeight": 2, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "09PnHFu4pE4af8ssyZ1lat" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8dm+o8VjBE45MBR2QzMYAc" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 11 + } + ], + "_active": true, + "_components": [ + { + "__id__": 17 + }, + { + "__id__": 19 + }, + { + "__id__": 21 + } + ], + "_prefab": { + "__id__": 23 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 220, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "labelTitle", + "_objFlags": 0, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 14 + } + ], + "_prefab": { + "__id__": 16 + }, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 203.67, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c68UOAlNhN171Umca6yVvF" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "--- Room Name --", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 26, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2frm37uaJHQr0AEEaYyM82" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4awi0Q4yhA4Z0YBjiBPBCy" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55pCbtzR5GbojKMArZkfim" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 20 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20UGQn4U9GUoln0NJQTkbG" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 22 + }, + "_alignFlags": 1, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d0RbrZQCdBpoFNtWQanfCV" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b11tS2yQdMf7zTjjdTA7+r" + }, + { + "__type__": "cc.Node", + "_name": "messageScrollView", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 25 + }, + { + "__id__": 43 + } + ], + "_active": true, + "_components": [ + { + "__id__": 57 + }, + { + "__id__": 40 + }, + { + "__id__": 59 + } + ], + "_prefab": { + "__id__": 61 + }, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "scrollBar", + "_objFlags": 0, + "_parent": { + "__id__": 24 + }, + "_children": [ + { + "__id__": 26 + } + ], + "_active": true, + "_components": [ + { + "__id__": 32 + }, + { + "__id__": 34 + }, + { + "__id__": 36 + }, + { + "__id__": 38 + } + ], + "_prefab": { + "__id__": 56 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 348, + "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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "_parent": { + "__id__": 25 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 27 + }, + { + "__id__": 29 + } + ], + "_prefab": { + "__id__": 31 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11, + "y": -129.3792071802543, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 26 + }, + "_enabled": true, + "__prefab": { + "__id__": 28 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 10, + "height": 258.7584143605086 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "95oWyE8aJJxJ5UvVmOXyZU" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 26 + }, + "_enabled": true, + "__prefab": { + "__id__": 30 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "afc47931-f066-46b0-90be-9fe61f213428@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "02Vchn8fFF/77B+7pVCQuQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a4MohxLfRK5YD9UCpmH3TY" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 12, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "17lQPXOPpO0b6Z/3qQRAz3" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": { + "__id__": 35 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "ffb88a8f-af62-48f4-8f1d-3cb606443a43@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9dLJe/n0BKVoGauB1wT/Tc" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": { + "__id__": 37 + }, + "_alignFlags": 37, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 250, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "88/VBmjEBOMLWb2cOiN0kU" + }, + { + "__type__": "cc.ScrollBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": { + "__id__": 39 + }, + "_scrollView": { + "__id__": 40 + }, + "_handle": { + "__id__": 29 + }, + "_direction": 1, + "_enableAutoHide": false, + "_autoHideTime": 1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f4i77UV0dH4pcD0KQOXx7c" + }, + { + "__type__": "cc.ScrollView", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 24 + }, + "_enabled": true, + "__prefab": { + "__id__": 41 + }, + "bounceDuration": 0.23, + "brake": 0.75, + "elastic": true, + "inertia": true, + "horizontal": false, + "vertical": true, + "cancelInnerEvents": true, + "scrollEvents": [], + "_content": { + "__id__": 42 + }, + "_horizontalScrollBar": null, + "_verticalScrollBar": { + "__id__": 38 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a8UaPDxYhIX5MrqvKGMJdR" + }, + { + "__type__": "cc.Node", + "_name": "list", + "_objFlags": 0, + "_parent": { + "__id__": 43 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 51 + }, + { + "__id__": 53 + } + ], + "_prefab": { + "__id__": 55 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 20, + "y": 145.003, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "view", + "_objFlags": 0, + "_parent": { + "__id__": 24 + }, + "_children": [ + { + "__id__": 42 + } + ], + "_active": true, + "_components": [ + { + "__id__": 44 + }, + { + "__id__": 46 + }, + { + "__id__": 48 + } + ], + "_prefab": { + "__id__": 50 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -348, + "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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 45 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 696, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "adVJjE6iNG9YcIKwDKe/zq" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 47 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_type": 0, + "_inverted": false, + "_segments": 64, + "_spriteFrame": null, + "_alphaThreshold": 0.1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4eIg29oQZFVLk+NZnwDdlk" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 49 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "35r8M2AF9Ko6wg3YTqho+K" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "42lkL0mDBOsLYk922eGUtZ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 42 + }, + "_enabled": true, + "__prefab": { + "__id__": 52 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 656, + "height": 211.59999999999997 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "71F9vsVsZH7ZFd+PpN0azA" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 42 + }, + "_enabled": true, + "__prefab": { + "__id__": 54 + }, + "_resizeMode": 1, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 20, + "_paddingBottom": 40, + "_spacingX": 0, + "_spacingY": 10, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eaGEkmlCpANK+GS6CImtZa" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c8YrR44yxCH60JnGlI5gW7" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "61z94jsPJExah1ADIeX/WB" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 24 + }, + "_enabled": true, + "__prefab": { + "__id__": 58 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 696, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "71kmounFRG/K27WWBbH2RB" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 24 + }, + "_enabled": true, + "__prefab": { + "__id__": 60 + }, + "_alignFlags": 45, + "_target": null, + "_left": 2, + "_right": 2, + "_top": 64, + "_bottom": 64, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d7V9maLahK5pggsbztK/qb" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b6zeXXeehL4KoqDwxDLeD1" + }, + { + "__type__": "cc.Node", + "_name": "inputMsg", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 63 + } + ], + "_active": true, + "_components": [ + { + "__id__": 86 + }, + { + "__id__": 88 + }, + { + "__id__": 90 + } + ], + "_prefab": { + "__id__": 92 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -69, + "y": -218, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "input", + "_objFlags": 0, + "_parent": { + "__id__": 62 + }, + "_children": [ + { + "__id__": 64 + }, + { + "__id__": 70 + } + ], + "_active": true, + "_components": [ + { + "__id__": 76 + }, + { + "__id__": 78 + }, + { + "__id__": 80 + }, + { + "__id__": 83 + } + ], + "_prefab": { + "__id__": 85 + }, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "TEXT_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 63 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 65 + }, + { + "__id__": 67 + } + ], + "_prefab": { + "__id__": 69 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -267, + "y": 30, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 64 + }, + "_enabled": true, + "__prefab": { + "__id__": 66 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 536, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "779kAXGTtMZKXfYlOg0Tfd" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 64 + }, + "_enabled": true, + "__prefab": { + "__id__": 68 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 102, + "g": 102, + "b": 102, + "a": 255 + }, + "_string": "", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ddIY+NJvlDTIQAg7PLVrGo" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "08gYBZRyNO5LQK2shSTyzB" + }, + { + "__type__": "cc.Node", + "_name": "PLACEHOLDER_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 63 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 71 + }, + { + "__id__": 73 + } + ], + "_prefab": { + "__id__": 75 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -267, + "y": 30, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 70 + }, + "_enabled": true, + "__prefab": { + "__id__": 72 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 536, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d07wQj4whCUqYGJH1lEpVp" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 70 + }, + "_enabled": true, + "__prefab": { + "__id__": 74 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_string": "Say something...", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 24, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8fhi7qRLFJbK0abIJuXmCW" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3aZZByG8dNdrxjw6/CzpHz" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": { + "__id__": 77 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 538, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1fhJOVuOVAGYSYZoiE25Uz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": { + "__id__": 79 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": null, + "_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": "43qH95z3VGeYelCElKd6FW" + }, + { + "__type__": "cc.EditBox", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": { + "__id__": 81 + }, + "editingDidBegan": [], + "textChanged": [], + "editingDidEnded": [], + "editingReturn": [ + { + "__id__": 82 + } + ], + "_textLabel": { + "__id__": 67 + }, + "_placeholderLabel": { + "__id__": 73 + }, + "_returnType": 0, + "_string": "", + "_tabIndex": 0, + "_backgroundImage": null, + "_inputFlag": 5, + "_inputMode": 6, + "_maxLength": -1, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1bCHrwPGZOPrbmPh93kwpe" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "e256e9e7BpBP6croxSRE/vW", + "handler": "send", + "customEventData": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": { + "__id__": 84 + }, + "_alignFlags": 44, + "_target": null, + "_left": 10, + "_right": 10, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 160, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "23GZu/VLpIRIQiQiAuh32l" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3fxWU8Yo5PpqHTw6n5wX0w" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": { + "__id__": 87 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 558, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1fhJOVuOVAGYSYZoiE25Uz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": { + "__id__": 89 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@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": "43qH95z3VGeYelCElKd6FW" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": { + "__id__": 91 + }, + "_alignFlags": 44, + "_target": null, + "_left": 2, + "_right": 140, + "_top": 0, + "_bottom": 2, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 160, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9cwo1ypmBNSbLf22Dtr9YZ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "09Q7Ml7bhAbYND/ekdEwBi" + }, + { + "__type__": "cc.Node", + "_name": "btnSend", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 94 + } + ], + "_active": true, + "_components": [ + { + "__id__": 100 + }, + { + "__id__": 102 + }, + { + "__id__": 104 + }, + { + "__id__": 106 + } + ], + "_prefab": { + "__id__": 109 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 280, + "y": -218, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "labelSend", + "_objFlags": 0, + "_parent": { + "__id__": 93 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 95 + }, + { + "__id__": 97 + } + ], + "_prefab": { + "__id__": 99 + }, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 94 + }, + "_enabled": true, + "__prefab": { + "__id__": 96 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 56.05, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c68UOAlNhN171Umca6yVvF" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 94 + }, + "_enabled": true, + "__prefab": { + "__id__": 98 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Send", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 24, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2frm37uaJHQr0AEEaYyM82" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b8/vVhOBRC7JIDg2QfLqCn" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 93 + }, + "_enabled": true, + "__prefab": { + "__id__": 101 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 138, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f7NISe7HdAD68SLfhnddy8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 93 + }, + "_enabled": true, + "__prefab": { + "__id__": 103 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 33, + "g": 95, + "b": 164, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e71ctEmpxFC4KlSYRZNz/a" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 93 + }, + "_enabled": true, + "__prefab": { + "__id__": 105 + }, + "_alignFlags": 36, + "_target": null, + "_left": 417, + "_right": 1, + "_top": 0, + "_bottom": 2, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 2, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f8I2vB/TRFyp7+vN5h9Gms" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 93 + }, + "_enabled": true, + "__prefab": { + "__id__": 107 + }, + "clickEvents": [ + { + "__id__": 108 + } + ], + "_interactable": true, + "_transition": 1, + "_normalColor": { + "__type__": "cc.Color", + "r": 33, + "g": 95, + "b": 164, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 47, + "g": 116, + "b": 194, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 63, + "g": 138, + "b": 221, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "68myaMOdtBmJwkAhRW8lvj" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 1 + }, + "component": "", + "_componentId": "e256e9e7BpBP6croxSRE/vW", + "handler": "send", + "customEventData": "" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9fxiP7gdRMWbVU88YWucWh" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 111 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 500 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55pCbtzR5GbojKMArZkfim" + }, + { + "__type__": "e256e9e7BpBP6croxSRE/vW", + "_name": "", + "_objFlags": 0, + "__editorExtras__": { + "mountedRoot": { + "__id__": 1 + } + }, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 113 + }, + "roomName": "Client 1", + "prefabMsgItem": { + "__uuid__": "5393b4df-3fd4-4342-a3c1-b2dc4763d062", + "__expectedType__": "cc.Prefab" + }, + "labelTitle": { + "__id__": 14 + }, + "msgScroll": { + "__id__": 40 + }, + "inputSend": { + "__id__": 80 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d7YRgDBQlPKL5QQSuR70vu" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2c5KNW3zNHhIuZ1oC8u43g" + } +] \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.prefab.meta b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.prefab.meta new file mode 100644 index 0000000..63bffbe --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.30", + "importer": "prefab", + "imported": true, + "uuid": "da99e95a-3939-4ba1-8ce5-c60a6cd41fad", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "ChatBox" + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.ts b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.ts new file mode 100644 index 0000000..d102286 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.ts @@ -0,0 +1,105 @@ + +import { Component, EditBox, instantiate, Label, Prefab, ScrollView, _decorator } from 'cc'; +import { MINIGAME } from 'cc/env'; +import { BaseWsClient } from 'tsrpc-base-client'; +import { WsClient as WsClientBrowser } from 'tsrpc-browser'; +import { WsClient as WsClientMiniapp } from 'tsrpc-miniapp'; +import { MsgChat } from '../../scripts/shared/protocols/MsgChat'; +import { serviceProto, ServiceType } from '../../scripts/shared/protocols/serviceProto'; +import { ChatBoxMsgItem } from './prefabs/ChatBox_MsgItem/ChatBox_MsgItem'; +const { ccclass, property } = _decorator; + +@ccclass('ChatBox') +export class ChatBox extends Component { + + @property + roomName = ''; + + // Prefabs + @property(Prefab) + prefabMsgItem!: Prefab; + + // Nodes + @property(Label) + labelTitle!: Label; + @property(ScrollView) + msgScroll!: ScrollView; + @property(EditBox) + inputSend!: EditBox; + + client!: BaseWsClient; + + onLoad() { + // Create client by platform + if (MINIGAME) { + this.client = new WsClientMiniapp(serviceProto, { + server: 'ws://127.0.0.1:3000', + logger: console + }) + } + else { + this.client = new WsClientBrowser(serviceProto, { + server: 'ws://127.0.0.1:3000', + logger: console + }) + } + + // Connect at startup + this.connect(); + + // Listen Msg + this.client.listenMsg('Chat', v => { this.onChatMsg(v) }) + + // When disconnected + this.client.flows.postDisconnectFlow.push(v => { + // Retry after 2 seconds + this.labelTitle.string = `πŸ”΄ Disconnected`; + setTimeout(() => { + this.connect(); + }, 2000) + return v; + }) + } + + async connect(): Promise { + this.labelTitle.string = `🟑 Connecting...`; + let res = await this.client.connect(); + if (!res.isSucc) { + this.labelTitle.string = `πŸ”΄ Disconnected`; + + // Retry after 2 seconds + await new Promise(rs => { setTimeout(rs, 2000) }); + await this.connect(); + } + + this.labelTitle.string = '🟒 ' + this.roomName; + } + + async send() { + if (!this.inputSend.string) { + return; + } + + let ret = await this.client.callApi('Send', { + content: this.inputSend.string + }); + + // Error + if (!ret.isSucc) { + alert(ret.err.message); + return; + } + + // Success + this.inputSend.string = ''; + } + + onChatMsg(msg: MsgChat) { + let node = instantiate(this.prefabMsgItem); + this.msgScroll.content!.addChild(node); + node.getComponent(ChatBoxMsgItem)!.options = { + msg: msg + } + this.msgScroll.scrollToBottom(0.2); + } +} \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.ts.meta b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.ts.meta new file mode 100644 index 0000000..e816006 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/ChatBox.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.22", + "importer": "typescript", + "imported": true, + "uuid": "e256ef5e-ec1a-413f-a72b-a3149113fbd6", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs.meta b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs.meta new file mode 100644 index 0000000..9bcb335 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "f67e9512-1750-46bc-914f-062245e06148", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem.meta b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem.meta new file mode 100644 index 0000000..c638632 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "b51ae285-508e-4c3d-955c-02e12f6c2289", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.prefab b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.prefab new file mode 100644 index 0000000..0bec824 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.prefab @@ -0,0 +1,548 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "ChatBox_MsgItem", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 10 + } + ], + "_active": true, + "_components": [ + { + "__id__": 18 + }, + { + "__id__": 20 + }, + { + "__id__": 22 + }, + { + "__id__": 24 + } + ], + "_prefab": { + "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -95.79999999999998, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "message", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + }, + { + "__id__": 7 + } + ], + "_prefab": { + "__id__": 9 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 20, + "y": 15.11999999999999, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 616, + "height": 81.35999999999999 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c68UOAlNhN171Umca6yVvF" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 111, + "g": 111, + "b": 111, + "a": 255 + }, + "_string": "ε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Šε•Š", + "_horizontalAlign": 0, + "_verticalAlign": 0, + "_actualFontSize": 24, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 36, + "_overflow": 3, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2frm37uaJHQr0AEEaYyM82" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_alignFlags": 40, + "_target": null, + "_left": 20, + "_right": 20, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 640, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0d0EfiWOlKKJ7mcNKs1LZa" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8dI1EQZzVFsJ+aRAFdts43" + }, + { + "__type__": "cc.Node", + "_name": "time", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 11 + }, + { + "__id__": 13 + }, + { + "__id__": 15 + } + ], + "_prefab": { + "__id__": 17 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 565.29, + "y": -40.68, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 141.42, + "height": 30.24 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c68UOAlNhN171Umca6yVvF" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 75, + "g": 128, + "b": 187, + "a": 255 + }, + "_string": "δΈ‹εˆ10:57:53", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 24, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 24, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2frm37uaJHQr0AEEaYyM82" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_alignFlags": 32, + "_target": null, + "_left": 0, + "_right": 20, + "_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": "d5mZ4hY09Hg5vvBWIQESW/" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f1/rIjCeNEyK90oXy196pl" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 656, + "height": 151.59999999999997 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fdYt2dfxlHq55xokljDdID" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_resizeMode": 1, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 20, + "_paddingBottom": 20, + "_spacingX": 0, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2aP3wVb2pMEo5d4J+YmiTl" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1bGiG94TxIm65HBL1dQZbC" + }, + { + "__type__": "a9052CyCzdOc4dnnkAaz7cY", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "labelMessage": { + "__id__": 5 + }, + "labelTime": { + "__id__": 13 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4fisXaplL/qQ54HD/3H/H" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "87UoyxPYRKrJRuRW07pDnM" + } +] \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.prefab.meta b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.prefab.meta new file mode 100644 index 0000000..61c74f8 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.30", + "importer": "prefab", + "imported": true, + "uuid": "5393b4df-3fd4-4342-a3c1-b2dc4763d062", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "ChatBox_MsgItem" + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.ts b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.ts new file mode 100644 index 0000000..c78f262 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.ts @@ -0,0 +1,30 @@ + +import { Component, Label, _decorator } from 'cc'; +import { MsgChat } from '../../../../scripts/shared/protocols/MsgChat'; +const { ccclass, property } = _decorator; + +export interface ChatBoxMsgItemOptions { + msg: MsgChat +} + +@ccclass('ChatBoxMsgItem') +export class ChatBoxMsgItem extends Component { + + @property(Label) + labelMessage!: Label; + @property(Label) + labelTime!: Label; + + + private _options!: ChatBoxMsgItemOptions; + public get options(): ChatBoxMsgItemOptions { + return this._options; + } + public set options(v: ChatBoxMsgItemOptions) { + this._options = v; + + this.labelMessage.string = v.msg.content; + this.labelTime.string = v.msg.time.toLocaleTimeString(); + } + +} \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.ts.meta b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.ts.meta new file mode 100644 index 0000000..98419f1 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/prefabs/ChatBox/prefabs/ChatBox_MsgItem/ChatBox_MsgItem.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.22", + "importer": "typescript", + "imported": true, + "uuid": "a90520b2-0b37-4e73-8767-9e401acfb718", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scenes.meta b/examples/cocos-creator-3.3.0/frontend/assets/scenes.meta new file mode 100644 index 0000000..61d16ef --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scenes.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "8f992327-d7bd-4550-9784-00505b99ce9a", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene.meta b/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene.meta new file mode 100644 index 0000000..dab3ad3 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "cf5523f9-257d-4ab2-8926-bea90fb7572e", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.scene b/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.scene new file mode 100644 index 0000000..dce71a8 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.scene @@ -0,0 +1,7923 @@ +[ + { + "__type__": "cc.SceneAsset", + "_name": "", + "_objFlags": 0, + "_native": "", + "scene": { + "__id__": 1 + } + }, + { + "__type__": "cc.Scene", + "_name": "ChatScene", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [], + "_prefab": { + "__id__": 222 + }, + "autoReleaseAssets": false, + "_globals": { + "__id__": 351 + }, + "_id": "86c03e47-dc7e-4335-92f0-cf39fcd2462e" + }, + { + "__type__": "cc.Node", + "_name": "Canvas", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 5 + }, + { + "__id__": 11 + }, + { + "__id__": 16 + }, + { + "__id__": 116 + } + ], + "_active": true, + "_components": [ + { + "__id__": 216 + }, + { + "__id__": 218 + }, + { + "__id__": 220 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 375, + "y": 600, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "01RiSjjTRMuLIhTBhE5NiA" + }, + { + "__type__": "cc.Node", + "_name": "Camera", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 1000 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "44S6BxpKdHP5QZ50tYail5" + }, + { + "__type__": "cc.Camera", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": null, + "_projection": 0, + "_priority": 1073741824, + "_fov": 45, + "_fovAxis": 0, + "_orthoHeight": 600, + "_near": 1, + "_far": 2000, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_depth": 1, + "_stencil": 0, + "_clearFlags": 6, + "_rect": { + "__type__": "cc.Rect", + "x": 0, + "y": 0, + "width": 1, + "height": 1 + }, + "_aperture": 19, + "_shutter": 7, + "_iso": 0, + "_screenScale": 1, + "_visibility": 41943040, + "_targetTexture": null, + "_id": "1aFNSS7rRMyLtU3/nDJYIY" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 6 + }, + { + "__id__": 8 + }, + { + "__id__": 10 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "f0IP9vmm1CMKRaD9ghIw5I" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 750, + "height": 1200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d4FOnvqAxOzr+ND2493mg9" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55pCbtzR5GbojKMArZkfim" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "f0B6Ly5yxGRZssbObGIgmi" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20UGQn4U9GUoln0NJQTkbG" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 5 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": false, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "b7XAaEKM5CRpLYjvHJVKBf" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 15 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 534.8, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "1cZ+iVEdZENKuYA85u98gO" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 335.57, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "73BoNZs1pMiaHZ/Orzvfni" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4bf4SjaRxP4KcluNxRvaJw" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": null, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "TSRPC Chatroom", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "a8OYgT0CBFz7wE0ufD9DZE" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 1, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 40, + "_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": "11yXQLNbtJIaoKlNlV9Iyr" + }, + { + "__type__": "cc.Node", + "_name": "ChatBox 1", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 17 + }, + { + "__id__": 24 + }, + { + "__id__": 36 + }, + { + "__id__": 69 + }, + { + "__id__": 96 + } + ], + "_active": true, + "_components": [ + { + "__id__": 111 + }, + { + "__id__": 113 + }, + { + "__id__": 115 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 230, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "1a3U9vF+hCAavFREQ2eeKC" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 16 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 18 + }, + { + "__id__": 20 + }, + { + "__id__": 22 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "b0EGdveFlEe5PkT6QA7SMW" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 500 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "b6cmRp0M5KH65WNCSEMGyc" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f7NISe7HdAD68SLfhnddy8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 202, + "g": 202, + "b": 202, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "b68tNjOQdF/5Yclt1BFNf3" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e71ctEmpxFC4KlSYRZNz/a" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 2, + "_originalHeight": 2, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "de9vzZTq9Fb4Cj2+OThWnu" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "09PnHFu4pE4af8ssyZ1lat" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "_parent": { + "__id__": 16 + }, + "_children": [ + { + "__id__": 25 + } + ], + "_active": true, + "_components": [ + { + "__id__": 30 + }, + { + "__id__": 32 + }, + { + "__id__": 34 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 220, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "capd+vXwNEqKV92wwq+7WM" + }, + { + "__type__": "cc.Node", + "_name": "labelTitle", + "_objFlags": 0, + "_parent": { + "__id__": 24 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 26 + }, + { + "__id__": 28 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "20DzzfPnBH66ZtcNuCAIp9" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 203.67, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e3kJfQQ8ZI3pBffrFY+ip7" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c68UOAlNhN171Umca6yVvF" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "--- Room Name --", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 26, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "e8CDmU6r9LwLrmkjnSpCQV" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2frm37uaJHQr0AEEaYyM82" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 24 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "dfsJorSU9LALwRn9cvUS5L" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55pCbtzR5GbojKMArZkfim" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 24 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "1ej4LLYnxCGqhnx73kQsDa" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20UGQn4U9GUoln0NJQTkbG" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 24 + }, + "_enabled": true, + "__prefab": { + "__id__": 35 + }, + "_alignFlags": 1, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "712tUGrxFFIaZFGi/qMDso" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d0RbrZQCdBpoFNtWQanfCV" + }, + { + "__type__": "cc.Node", + "_name": "messageScrollView", + "_objFlags": 0, + "_parent": { + "__id__": 16 + }, + "_children": [ + { + "__id__": 37 + }, + { + "__id__": 54 + } + ], + "_active": true, + "_components": [ + { + "__id__": 65 + }, + { + "__id__": 51 + }, + { + "__id__": 67 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "aeZBoXFZVFDLSqYOyj3g7D" + }, + { + "__type__": "cc.Node", + "_name": "scrollBar", + "_objFlags": 0, + "_parent": { + "__id__": 36 + }, + "_children": [ + { + "__id__": 38 + } + ], + "_active": true, + "_components": [ + { + "__id__": 43 + }, + { + "__id__": 45 + }, + { + "__id__": 47 + }, + { + "__id__": 49 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 348, + "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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "3d9BvFhSJBXakeKf3d449C" + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "_parent": { + "__id__": 37 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 39 + }, + { + "__id__": 41 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11, + "y": -129.3792071802543, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "cctvMTuwtEY6B2qHjWQHTi" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 38 + }, + "_enabled": true, + "__prefab": { + "__id__": 40 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 10, + "height": 258.7584143605086 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "34HQ+88tlB8b0JK7szts5E" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "95oWyE8aJJxJ5UvVmOXyZU" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 38 + }, + "_enabled": true, + "__prefab": { + "__id__": 42 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "afc47931-f066-46b0-90be-9fe61f213428@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "b0+3fZkdlEwbahUE0Z8/Ij" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "02Vchn8fFF/77B+7pVCQuQ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 37 + }, + "_enabled": true, + "__prefab": { + "__id__": 44 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 12, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "66UQcKvgxIsY7Oyu2ymqMz" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "17lQPXOPpO0b6Z/3qQRAz3" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 37 + }, + "_enabled": true, + "__prefab": { + "__id__": 46 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "ffb88a8f-af62-48f4-8f1d-3cb606443a43@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "78Ek2cA5NPBL/jzNX+1bKq" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9dLJe/n0BKVoGauB1wT/Tc" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 37 + }, + "_enabled": true, + "__prefab": { + "__id__": 48 + }, + "_alignFlags": 37, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 250, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "6bBPQdF5ZGiYpzURyM4g+Y" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "88/VBmjEBOMLWb2cOiN0kU" + }, + { + "__type__": "cc.ScrollBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 37 + }, + "_enabled": true, + "__prefab": { + "__id__": 50 + }, + "_scrollView": { + "__id__": 51 + }, + "_handle": { + "__id__": 41 + }, + "_direction": 1, + "_enableAutoHide": false, + "_autoHideTime": 1, + "_id": "50mRPEMwVNnYIKCjIrBv7i" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f4i77UV0dH4pcD0KQOXx7c" + }, + { + "__type__": "cc.ScrollView", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": { + "__id__": 52 + }, + "bounceDuration": 0.23, + "brake": 0.75, + "elastic": true, + "inertia": true, + "horizontal": false, + "vertical": true, + "cancelInnerEvents": true, + "scrollEvents": [], + "_content": { + "__id__": 53 + }, + "_horizontalScrollBar": null, + "_verticalScrollBar": { + "__id__": 49 + }, + "_id": "d8GPWj9/JBVrDBMcNcgrUb" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a8UaPDxYhIX5MrqvKGMJdR" + }, + { + "__type__": "cc.Node", + "_name": "list", + "_objFlags": 0, + "_parent": { + "__id__": 54 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 61 + }, + { + "__id__": 63 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 20, + "y": 145.003, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "25e8qRQ9pD8pVcbFojxsLi" + }, + { + "__type__": "cc.Node", + "_name": "view", + "_objFlags": 0, + "_parent": { + "__id__": 36 + }, + "_children": [ + { + "__id__": 53 + } + ], + "_active": true, + "_components": [ + { + "__id__": 55 + }, + { + "__id__": 57 + }, + { + "__id__": 59 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -348, + "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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "7dsws/Xw5FW6J+kV7lYTMY" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 54 + }, + "_enabled": true, + "__prefab": { + "__id__": 56 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 696, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "b1mXdak1hF2LfsZPLM41wf" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "adVJjE6iNG9YcIKwDKe/zq" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 54 + }, + "_enabled": true, + "__prefab": { + "__id__": 58 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_type": 0, + "_inverted": false, + "_segments": 64, + "_spriteFrame": null, + "_alphaThreshold": 0.1, + "_id": "42zolwZZRI5o/bfojq860U" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4eIg29oQZFVLk+NZnwDdlk" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 54 + }, + "_enabled": true, + "__prefab": { + "__id__": 60 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "c9OeH6S7RNjaQnYaVhSv0K" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "35r8M2AF9Ko6wg3YTqho+K" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 53 + }, + "_enabled": true, + "__prefab": { + "__id__": 62 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 656, + "height": 211.59999999999997 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "4eXI1C5OhEK7msFXn7vVi2" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "71F9vsVsZH7ZFd+PpN0azA" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 53 + }, + "_enabled": true, + "__prefab": { + "__id__": 64 + }, + "_resizeMode": 1, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 20, + "_paddingBottom": 40, + "_spacingX": 0, + "_spacingY": 10, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "23w653T4BGdajVZiYhdWst" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eaGEkmlCpANK+GS6CImtZa" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": { + "__id__": 66 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 696, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c15LPSTf1Hy7OgE1U52HpA" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "71kmounFRG/K27WWBbH2RB" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": { + "__id__": 68 + }, + "_alignFlags": 45, + "_target": null, + "_left": 2, + "_right": 2, + "_top": 64, + "_bottom": 64, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "0f/F63Y49FlpN2VHUdQDWE" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d7V9maLahK5pggsbztK/qb" + }, + { + "__type__": "cc.Node", + "_name": "inputMsg", + "_objFlags": 0, + "_parent": { + "__id__": 16 + }, + "_children": [ + { + "__id__": 70 + } + ], + "_active": true, + "_components": [ + { + "__id__": 90 + }, + { + "__id__": 92 + }, + { + "__id__": 94 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -69, + "y": -218, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "d5rf5TjeZLb7009d9AyRxB" + }, + { + "__type__": "cc.Node", + "_name": "input", + "_objFlags": 0, + "_parent": { + "__id__": 69 + }, + "_children": [ + { + "__id__": 71 + }, + { + "__id__": 76 + } + ], + "_active": true, + "_components": [ + { + "__id__": 81 + }, + { + "__id__": 83 + }, + { + "__id__": 85 + }, + { + "__id__": 88 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "dfL9H+I3JIwY3uyLMlzJE3" + }, + { + "__type__": "cc.Node", + "_name": "TEXT_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 70 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 72 + }, + { + "__id__": 74 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -267, + "y": 30, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "f8o9bmzX1HDbnE6qYBsRHr" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 71 + }, + "_enabled": true, + "__prefab": { + "__id__": 73 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 536, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "7cOyY+FSlG7K4vQnV6Rrym" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "779kAXGTtMZKXfYlOg0Tfd" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 71 + }, + "_enabled": true, + "__prefab": { + "__id__": 75 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 102, + "g": 102, + "b": 102, + "a": 255 + }, + "_string": "", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "d6tAQDwSRAbqM6/V7y1Uf8" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ddIY+NJvlDTIQAg7PLVrGo" + }, + { + "__type__": "cc.Node", + "_name": "PLACEHOLDER_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 70 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 77 + }, + { + "__id__": 79 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -267, + "y": 30, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "1azMCRTB1PfLoLxl0Idixn" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 76 + }, + "_enabled": true, + "__prefab": { + "__id__": 78 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 536, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "efLk73zjJBCZHquMd2m5cU" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d07wQj4whCUqYGJH1lEpVp" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 76 + }, + "_enabled": true, + "__prefab": { + "__id__": 80 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_string": "Say something...", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 24, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "75Exm8Xz9FDrohYGj1VQRN" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8fhi7qRLFJbK0abIJuXmCW" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 70 + }, + "_enabled": true, + "__prefab": { + "__id__": 82 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 538, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5avPp6GhdDAqZxbv3085GA" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1fhJOVuOVAGYSYZoiE25Uz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 70 + }, + "_enabled": true, + "__prefab": { + "__id__": 84 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": null, + "_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": "9dvCU/H2BNE4+9MG9VFIoc" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "43qH95z3VGeYelCElKd6FW" + }, + { + "__type__": "cc.EditBox", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 70 + }, + "_enabled": true, + "__prefab": { + "__id__": 86 + }, + "editingDidBegan": [], + "textChanged": [], + "editingDidEnded": [], + "editingReturn": [ + { + "__id__": 87 + } + ], + "_textLabel": { + "__id__": 74 + }, + "_placeholderLabel": { + "__id__": 79 + }, + "_returnType": 0, + "_string": "", + "_tabIndex": 0, + "_backgroundImage": null, + "_inputFlag": 5, + "_inputMode": 6, + "_maxLength": -1, + "_id": "c3WAD9LvBHDrccAsW7Rn6c" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1bCHrwPGZOPrbmPh93kwpe" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 16 + }, + "component": "", + "_componentId": "e256e9e7BpBP6croxSRE/vW", + "handler": "send", + "customEventData": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 70 + }, + "_enabled": true, + "__prefab": { + "__id__": 89 + }, + "_alignFlags": 44, + "_target": null, + "_left": 10, + "_right": 10, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 160, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "13rWXLrbZLPrJ8SSHiU6Lh" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "23GZu/VLpIRIQiQiAuh32l" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 69 + }, + "_enabled": true, + "__prefab": { + "__id__": 91 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 558, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "54F+IEpXJK5L8ErZv/eEnj" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1fhJOVuOVAGYSYZoiE25Uz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 69 + }, + "_enabled": true, + "__prefab": { + "__id__": 93 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@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": "98OPgmVNZOJZti8PwxaMYG" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "43qH95z3VGeYelCElKd6FW" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 69 + }, + "_enabled": true, + "__prefab": { + "__id__": 95 + }, + "_alignFlags": 44, + "_target": null, + "_left": 2, + "_right": 140, + "_top": 0, + "_bottom": 2, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 160, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "2e3dvrUTJHOLY4/BIaDwd1" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9cwo1ypmBNSbLf22Dtr9YZ" + }, + { + "__type__": "cc.Node", + "_name": "btnSend", + "_objFlags": 0, + "_parent": { + "__id__": 16 + }, + "_children": [ + { + "__id__": 97 + } + ], + "_active": true, + "_components": [ + { + "__id__": 102 + }, + { + "__id__": 104 + }, + { + "__id__": 106 + }, + { + "__id__": 108 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 280, + "y": -218, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "cf1NSanI5LVpSni6V2+lhZ" + }, + { + "__type__": "cc.Node", + "_name": "labelSend", + "_objFlags": 0, + "_parent": { + "__id__": 96 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 98 + }, + { + "__id__": 100 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "ecA0rZXBVHZ7VRF/DWa/yg" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 97 + }, + "_enabled": true, + "__prefab": { + "__id__": 99 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 56.05, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "3eoCYn1pZDVqNrHf5ZPUnd" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c68UOAlNhN171Umca6yVvF" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 97 + }, + "_enabled": true, + "__prefab": { + "__id__": 101 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Send", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 24, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "e49QkZkJpGy48LbLYyMVZj" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2frm37uaJHQr0AEEaYyM82" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 96 + }, + "_enabled": true, + "__prefab": { + "__id__": 103 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 138, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "3072plRYZLDo/u1J/OgD/4" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f7NISe7HdAD68SLfhnddy8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 96 + }, + "_enabled": true, + "__prefab": { + "__id__": 105 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 33, + "g": 95, + "b": 164, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "cdN/D2QZVG2Z6Fj0/POCry" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e71ctEmpxFC4KlSYRZNz/a" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 96 + }, + "_enabled": true, + "__prefab": { + "__id__": 107 + }, + "_alignFlags": 36, + "_target": null, + "_left": 417, + "_right": 1, + "_top": 0, + "_bottom": 2, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 2, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "16YxgW/25C4JO7+GxlkxOh" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f8I2vB/TRFyp7+vN5h9Gms" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 96 + }, + "_enabled": true, + "__prefab": { + "__id__": 109 + }, + "clickEvents": [ + { + "__id__": 110 + } + ], + "_interactable": true, + "_transition": 1, + "_normalColor": { + "__type__": "cc.Color", + "r": 33, + "g": 95, + "b": 164, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 47, + "g": 116, + "b": 194, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 63, + "g": 138, + "b": 221, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "abenKO7ttJy6gsUJ2+xbiQ" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "68myaMOdtBmJwkAhRW8lvj" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 16 + }, + "component": "", + "_componentId": "e256e9e7BpBP6croxSRE/vW", + "handler": "send", + "customEventData": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 16 + }, + "_enabled": true, + "__prefab": { + "__id__": 112 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 500 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "72rU+XOY9FUKp/Qh6SpUZZ" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55pCbtzR5GbojKMArZkfim" + }, + { + "__type__": "e256e9e7BpBP6croxSRE/vW", + "_name": "", + "_objFlags": 0, + "__editorExtras__": { + "mountedRoot": { + "__id__": 16 + } + }, + "node": { + "__id__": 16 + }, + "_enabled": true, + "__prefab": { + "__id__": 114 + }, + "roomName": "#Client 1", + "prefabMsgItem": { + "__uuid__": "5393b4df-3fd4-4342-a3c1-b2dc4763d062", + "__expectedType__": "cc.Prefab" + }, + "labelTitle": { + "__id__": 28 + }, + "msgScroll": { + "__id__": 51 + }, + "inputSend": { + "__id__": 85 + }, + "_id": "8bWbBvOk5JfLCyHgHBNFVO" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d7YRgDBQlPKL5QQSuR70vu" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 16 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 5, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 120, + "_bottom": 0.48333333333333334, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": false, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 500, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "860Xe3I49PEZkPFizZTdCQ" + }, + { + "__type__": "cc.Node", + "_name": "ChatBox 2", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 117 + }, + { + "__id__": 124 + }, + { + "__id__": 136 + }, + { + "__id__": 169 + }, + { + "__id__": 196 + } + ], + "_active": true, + "_components": [ + { + "__id__": 211 + }, + { + "__id__": 213 + }, + { + "__id__": 215 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -310, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "05mIbPF51Mi4apgtW+hep9" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 116 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 118 + }, + { + "__id__": 120 + }, + { + "__id__": 122 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "7fRyn5SqpE5bjydPN+GdZZ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 117 + }, + "_enabled": true, + "__prefab": { + "__id__": 119 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 500 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "80AA1yrXlPn6coGrz8D1XC" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f7NISe7HdAD68SLfhnddy8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 117 + }, + "_enabled": true, + "__prefab": { + "__id__": 121 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 202, + "g": 202, + "b": 202, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "0e+kOnqIZIaaqVZRSiXdLy" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e71ctEmpxFC4KlSYRZNz/a" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 117 + }, + "_enabled": true, + "__prefab": { + "__id__": 123 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 2, + "_originalHeight": 2, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "d5jcQOZRFNCIkfVDniFE4m" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "09PnHFu4pE4af8ssyZ1lat" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "_parent": { + "__id__": 116 + }, + "_children": [ + { + "__id__": 125 + } + ], + "_active": true, + "_components": [ + { + "__id__": 130 + }, + { + "__id__": 132 + }, + { + "__id__": 134 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 220, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "0aO+b0ItRPH71Y255Zuac/" + }, + { + "__type__": "cc.Node", + "_name": "labelTitle", + "_objFlags": 0, + "_parent": { + "__id__": 124 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 126 + }, + { + "__id__": 128 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "cdWf0e4mlKQ4q00Oh9hu2y" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 125 + }, + "_enabled": true, + "__prefab": { + "__id__": 127 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 203.67, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "03+kF4HEZI1qzvl0q5IpG+" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c68UOAlNhN171Umca6yVvF" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 125 + }, + "_enabled": true, + "__prefab": { + "__id__": 129 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "--- Room Name --", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 26, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "e0WjBbnolEoYBGKS2FPoQR" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2frm37uaJHQr0AEEaYyM82" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 124 + }, + "_enabled": true, + "__prefab": { + "__id__": 131 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d8R/33kfxMrL3im2qSslTJ" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55pCbtzR5GbojKMArZkfim" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 124 + }, + "_enabled": true, + "__prefab": { + "__id__": 133 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "ccD26Jk75DsIF6HAgQihcU" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20UGQn4U9GUoln0NJQTkbG" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 124 + }, + "_enabled": true, + "__prefab": { + "__id__": 135 + }, + "_alignFlags": 1, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "9122QSOXhKzbrNEjfuEL5p" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d0RbrZQCdBpoFNtWQanfCV" + }, + { + "__type__": "cc.Node", + "_name": "messageScrollView", + "_objFlags": 0, + "_parent": { + "__id__": 116 + }, + "_children": [ + { + "__id__": 137 + }, + { + "__id__": 154 + } + ], + "_active": true, + "_components": [ + { + "__id__": 165 + }, + { + "__id__": 151 + }, + { + "__id__": 167 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "c8kSSIBwVCPbThJkvcrd1Z" + }, + { + "__type__": "cc.Node", + "_name": "scrollBar", + "_objFlags": 0, + "_parent": { + "__id__": 136 + }, + "_children": [ + { + "__id__": 138 + } + ], + "_active": true, + "_components": [ + { + "__id__": 143 + }, + { + "__id__": 145 + }, + { + "__id__": 147 + }, + { + "__id__": 149 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 348, + "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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "09bD7CFOFKzrJh677Cc1Hz" + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "_parent": { + "__id__": 137 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 139 + }, + { + "__id__": 141 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11, + "y": -129.3792071802543, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "52WNKoel5GtrCwcz1vL0dU" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 138 + }, + "_enabled": true, + "__prefab": { + "__id__": 140 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 10, + "height": 258.7584143605086 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "78hYHH/htJ4YJZ9bJ/KlS5" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "95oWyE8aJJxJ5UvVmOXyZU" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 138 + }, + "_enabled": true, + "__prefab": { + "__id__": 142 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "afc47931-f066-46b0-90be-9fe61f213428@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "8dwKLcbVdMhoOa7oNWlPpm" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "02Vchn8fFF/77B+7pVCQuQ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 137 + }, + "_enabled": true, + "__prefab": { + "__id__": 144 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 12, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "29NFd5HGxCcpqZRuMsDZdK" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "17lQPXOPpO0b6Z/3qQRAz3" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 137 + }, + "_enabled": true, + "__prefab": { + "__id__": 146 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "ffb88a8f-af62-48f4-8f1d-3cb606443a43@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "ecHxG+i8dOSb+VURJu291Q" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9dLJe/n0BKVoGauB1wT/Tc" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 137 + }, + "_enabled": true, + "__prefab": { + "__id__": 148 + }, + "_alignFlags": 37, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 250, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "53m+ik419AO5OeC/0UKGIx" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "88/VBmjEBOMLWb2cOiN0kU" + }, + { + "__type__": "cc.ScrollBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 137 + }, + "_enabled": true, + "__prefab": { + "__id__": 150 + }, + "_scrollView": { + "__id__": 151 + }, + "_handle": { + "__id__": 141 + }, + "_direction": 1, + "_enableAutoHide": false, + "_autoHideTime": 1, + "_id": "36v/u9W9dMBaluPSFscdq0" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f4i77UV0dH4pcD0KQOXx7c" + }, + { + "__type__": "cc.ScrollView", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 136 + }, + "_enabled": true, + "__prefab": { + "__id__": 152 + }, + "bounceDuration": 0.23, + "brake": 0.75, + "elastic": true, + "inertia": true, + "horizontal": false, + "vertical": true, + "cancelInnerEvents": true, + "scrollEvents": [], + "_content": { + "__id__": 153 + }, + "_horizontalScrollBar": null, + "_verticalScrollBar": { + "__id__": 149 + }, + "_id": "3ehoA796hMwaINBzj2fGWP" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a8UaPDxYhIX5MrqvKGMJdR" + }, + { + "__type__": "cc.Node", + "_name": "list", + "_objFlags": 0, + "_parent": { + "__id__": 154 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 161 + }, + { + "__id__": 163 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 20, + "y": 145.003, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "491RnpB/FJw6usGkjuf41I" + }, + { + "__type__": "cc.Node", + "_name": "view", + "_objFlags": 0, + "_parent": { + "__id__": 136 + }, + "_children": [ + { + "__id__": 153 + } + ], + "_active": true, + "_components": [ + { + "__id__": 155 + }, + { + "__id__": 157 + }, + { + "__id__": 159 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -348, + "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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "dbETNNrW1H07Jpezvgk6dP" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 154 + }, + "_enabled": true, + "__prefab": { + "__id__": 156 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 696, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "ccwxrFTZpHDo0FSOGM+K7f" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "adVJjE6iNG9YcIKwDKe/zq" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 154 + }, + "_enabled": true, + "__prefab": { + "__id__": 158 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_type": 0, + "_inverted": false, + "_segments": 64, + "_spriteFrame": null, + "_alphaThreshold": 0.1, + "_id": "abYuh+FIJE1o1ikDhziIdb" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4eIg29oQZFVLk+NZnwDdlk" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 154 + }, + "_enabled": true, + "__prefab": { + "__id__": 160 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "4dynDco3pKK4gwNtpn7Ag+" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "35r8M2AF9Ko6wg3YTqho+K" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 153 + }, + "_enabled": true, + "__prefab": { + "__id__": 162 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 656, + "height": 211.59999999999997 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "606E2ufDxBl5sxMQmOAMKS" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "71F9vsVsZH7ZFd+PpN0azA" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 153 + }, + "_enabled": true, + "__prefab": { + "__id__": 164 + }, + "_resizeMode": 1, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 20, + "_paddingBottom": 40, + "_spacingX": 0, + "_spacingY": 10, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "dfZnzQLDlD+5P5BC3zO2ct" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eaGEkmlCpANK+GS6CImtZa" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 136 + }, + "_enabled": true, + "__prefab": { + "__id__": 166 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 696, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a7KvP55LZGoIeO5g4K5Jun" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "71kmounFRG/K27WWBbH2RB" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 136 + }, + "_enabled": true, + "__prefab": { + "__id__": 168 + }, + "_alignFlags": 45, + "_target": null, + "_left": 2, + "_right": 2, + "_top": 64, + "_bottom": 64, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "58J7j6nNNPWJsIc3o80ycw" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d7V9maLahK5pggsbztK/qb" + }, + { + "__type__": "cc.Node", + "_name": "inputMsg", + "_objFlags": 0, + "_parent": { + "__id__": 116 + }, + "_children": [ + { + "__id__": 170 + } + ], + "_active": true, + "_components": [ + { + "__id__": 190 + }, + { + "__id__": 192 + }, + { + "__id__": 194 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -69, + "y": -218, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "c3R9IGjLBGQpWnZD59L3mz" + }, + { + "__type__": "cc.Node", + "_name": "input", + "_objFlags": 0, + "_parent": { + "__id__": 169 + }, + "_children": [ + { + "__id__": 171 + }, + { + "__id__": 176 + } + ], + "_active": true, + "_components": [ + { + "__id__": 181 + }, + { + "__id__": 183 + }, + { + "__id__": 185 + }, + { + "__id__": 188 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "0c5HzRh9hN94FwTg1oVjZX" + }, + { + "__type__": "cc.Node", + "_name": "TEXT_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 170 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 172 + }, + { + "__id__": 174 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -267, + "y": 30, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "0c2NUUWk9JcpfQeFXM0XME" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 171 + }, + "_enabled": true, + "__prefab": { + "__id__": 173 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 536, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "45EC4iIrtFeJQ9eKe03RNM" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "779kAXGTtMZKXfYlOg0Tfd" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 171 + }, + "_enabled": true, + "__prefab": { + "__id__": 175 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 102, + "g": 102, + "b": 102, + "a": 255 + }, + "_string": "", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "d1MVXtjMxIEJ1VWNiR7vNH" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ddIY+NJvlDTIQAg7PLVrGo" + }, + { + "__type__": "cc.Node", + "_name": "PLACEHOLDER_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 170 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 177 + }, + { + "__id__": 179 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -267, + "y": 30, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "b0FrdnO6hIPL8pxe2OvQoJ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 176 + }, + "_enabled": true, + "__prefab": { + "__id__": 178 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 536, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "23oQbFqwRPtIAmxA9Au2Kt" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d07wQj4whCUqYGJH1lEpVp" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 176 + }, + "_enabled": true, + "__prefab": { + "__id__": 180 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_string": "Say something...", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 24, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "27nubE015H24o0RIctIw2G" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8fhi7qRLFJbK0abIJuXmCW" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 170 + }, + "_enabled": true, + "__prefab": { + "__id__": 182 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 538, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5cVMTrI1RL5KK/1x5HvDv4" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1fhJOVuOVAGYSYZoiE25Uz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 170 + }, + "_enabled": true, + "__prefab": { + "__id__": 184 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": null, + "_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": "a0wV0zKMBEYK12EnKCGnDK" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "43qH95z3VGeYelCElKd6FW" + }, + { + "__type__": "cc.EditBox", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 170 + }, + "_enabled": true, + "__prefab": { + "__id__": 186 + }, + "editingDidBegan": [], + "textChanged": [], + "editingDidEnded": [], + "editingReturn": [ + { + "__id__": 187 + } + ], + "_textLabel": { + "__id__": 174 + }, + "_placeholderLabel": { + "__id__": 179 + }, + "_returnType": 0, + "_string": "", + "_tabIndex": 0, + "_backgroundImage": null, + "_inputFlag": 5, + "_inputMode": 6, + "_maxLength": -1, + "_id": "39kzXsEZhL752vtlPA+pCD" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1bCHrwPGZOPrbmPh93kwpe" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 116 + }, + "component": "", + "_componentId": "e256e9e7BpBP6croxSRE/vW", + "handler": "send", + "customEventData": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 170 + }, + "_enabled": true, + "__prefab": { + "__id__": 189 + }, + "_alignFlags": 44, + "_target": null, + "_left": 10, + "_right": 10, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 160, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "3fw9lsk4xPYb0P3XAhhY8m" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "23GZu/VLpIRIQiQiAuh32l" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 169 + }, + "_enabled": true, + "__prefab": { + "__id__": 191 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 558, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ffXf8yw6VFbqXeeOs2PV04" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1fhJOVuOVAGYSYZoiE25Uz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 169 + }, + "_enabled": true, + "__prefab": { + "__id__": 193 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@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": "73gOBlX99CnbBaf0FAidvh" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "43qH95z3VGeYelCElKd6FW" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 169 + }, + "_enabled": true, + "__prefab": { + "__id__": 195 + }, + "_alignFlags": 44, + "_target": null, + "_left": 2, + "_right": 140, + "_top": 0, + "_bottom": 2, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 160, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "a92snRxLlEJIpO8xpxxzNj" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9cwo1ypmBNSbLf22Dtr9YZ" + }, + { + "__type__": "cc.Node", + "_name": "btnSend", + "_objFlags": 0, + "_parent": { + "__id__": 116 + }, + "_children": [ + { + "__id__": 197 + } + ], + "_active": true, + "_components": [ + { + "__id__": 202 + }, + { + "__id__": 204 + }, + { + "__id__": 206 + }, + { + "__id__": 208 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 280, + "y": -218, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "8fQ8wYpI9DwrZC14oKfSj3" + }, + { + "__type__": "cc.Node", + "_name": "labelSend", + "_objFlags": 0, + "_parent": { + "__id__": 196 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 198 + }, + { + "__id__": 200 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "419w/N0UdBAIr+Pt0Zsza5" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 197 + }, + "_enabled": true, + "__prefab": { + "__id__": 199 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 56.05, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e5JzVOb0VNDY1vj2XnKhNE" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c68UOAlNhN171Umca6yVvF" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 197 + }, + "_enabled": true, + "__prefab": { + "__id__": 201 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Send", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 24, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "0b+GeYosBLGaNe8pVjVqwY" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2frm37uaJHQr0AEEaYyM82" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 196 + }, + "_enabled": true, + "__prefab": { + "__id__": 203 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 138, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "6cFIA1yPFJaLFzB0fughva" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f7NISe7HdAD68SLfhnddy8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 196 + }, + "_enabled": true, + "__prefab": { + "__id__": 205 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 33, + "g": 95, + "b": 164, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "71gXegn0hBeJ4bLH7TSLvd" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e71ctEmpxFC4KlSYRZNz/a" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 196 + }, + "_enabled": true, + "__prefab": { + "__id__": 207 + }, + "_alignFlags": 36, + "_target": null, + "_left": 417, + "_right": 1, + "_top": 0, + "_bottom": 2, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 2, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "18fqYbN1BIrY3f61vZsYMr" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f8I2vB/TRFyp7+vN5h9Gms" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 196 + }, + "_enabled": true, + "__prefab": { + "__id__": 209 + }, + "clickEvents": [ + { + "__id__": 210 + } + ], + "_interactable": true, + "_transition": 1, + "_normalColor": { + "__type__": "cc.Color", + "r": 33, + "g": 95, + "b": 164, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 47, + "g": 116, + "b": 194, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 63, + "g": 138, + "b": 221, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "aeyJGzwrdE65JDfMrKXBo5" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "68myaMOdtBmJwkAhRW8lvj" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 116 + }, + "component": "", + "_componentId": "e256e9e7BpBP6croxSRE/vW", + "handler": "send", + "customEventData": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 116 + }, + "_enabled": true, + "__prefab": { + "__id__": 212 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 500 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "8byaL4pp5JgqRN5yDJz4yd" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55pCbtzR5GbojKMArZkfim" + }, + { + "__type__": "e256e9e7BpBP6croxSRE/vW", + "_name": "", + "_objFlags": 0, + "__editorExtras__": { + "mountedRoot": { + "__id__": 116 + } + }, + "node": { + "__id__": 116 + }, + "_enabled": true, + "__prefab": { + "__id__": 214 + }, + "roomName": "#Client 2", + "prefabMsgItem": { + "__uuid__": "5393b4df-3fd4-4342-a3c1-b2dc4763d062", + "__expectedType__": "cc.Prefab" + }, + "labelTitle": { + "__id__": 128 + }, + "msgScroll": { + "__id__": 151 + }, + "inputSend": { + "__id__": 185 + }, + "_id": "8cVagyJWZM/axPoWfPcOBq" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d7YRgDBQlPKL5QQSuR70vu" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 116 + }, + "_enabled": true, + "__prefab": null, + "_alignFlags": 5, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0.55, + "_bottom": 40, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": false, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 500, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "4105CM0WRNDqzEm1HR8i3F" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 217 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 750, + "height": 1200 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d49f4KYldJf5GG5TqpUTGJ" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0dngp/9gNO34wUQjZfN/CX" + }, + { + "__type__": "cc.Canvas", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 219 + }, + "_cameraComponent": { + "__id__": 4 + }, + "_alignCanvasWithScreen": true, + "_id": "12goeL+IpIpqO3aC6hKrxe" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3f2oTdCepERZdpmIfLsrhd" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 221 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "b2H2x2jUdIVYV9wiYpEM0O" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e8a+bU/8dPDbbJguUzLdoF" + }, + { + "__type__": "cc.PrefabInfo", + "fileId": "", + "targetOverrides": [ + { + "__id__": 223 + }, + { + "__id__": 331 + }, + { + "__id__": 333 + }, + { + "__id__": 335 + }, + { + "__id__": 347 + }, + { + "__id__": 349 + } + ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 224 + }, + "sourceInfo": null, + "propertyPath": [ + "msgScroll" + ], + "target": { + "__id__": 225 + }, + "targetInfo": { + "__id__": 330 + } + }, + { + "__type__": "e256e9e7BpBP6croxSRE/vW", + "_name": "", + "_objFlags": 0, + "__editorExtras__": { + "mountedRoot": { + "__id__": 225 + } + }, + "node": { + "__id__": 225 + }, + "_enabled": true, + "__prefab": { + "__id__": 324 + }, + "roomName": "#Client 1", + "prefabMsgItem": { + "__uuid__": "5393b4df-3fd4-4342-a3c1-b2dc4763d062", + "__expectedType__": "cc.Prefab" + }, + "labelTitle": { + "__id__": 325 + }, + "msgScroll": { + "__id__": 260 + }, + "inputSend": { + "__id__": 294 + }, + "_id": "52TsmgtbRFibvFy53ozXfK" + }, + { + "__type__": "cc.Node", + "_name": "ChatBox 1", + "_objFlags": 0, + "_parent": null, + "_children": [ + { + "__id__": 226 + }, + { + "__id__": 233 + }, + { + "__id__": 245 + }, + { + "__id__": 278 + }, + { + "__id__": 305 + } + ], + "_active": true, + "_components": [ + { + "__id__": 320 + }, + { + "__id__": 322 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 375, + "y": 818.258, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "d4HCrjsnBDBatOmPR522lZ" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 225 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 227 + }, + { + "__id__": 229 + }, + { + "__id__": 231 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "b7n1KcDVtNjYCqnRf4hDkA" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 226 + }, + "_enabled": true, + "__prefab": { + "__id__": 228 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 500 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d2shnllQBDnL/r0zQBbdKo" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f7NISe7HdAD68SLfhnddy8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 226 + }, + "_enabled": true, + "__prefab": { + "__id__": 230 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 202, + "g": 202, + "b": 202, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "72Ko+wQqhPRpOP+NT8WaL2" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e71ctEmpxFC4KlSYRZNz/a" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 226 + }, + "_enabled": true, + "__prefab": { + "__id__": 232 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 2, + "_originalHeight": 2, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "86RQRnN3ZNAoXUi4QjgAdh" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "09PnHFu4pE4af8ssyZ1lat" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "_parent": { + "__id__": 225 + }, + "_children": [ + { + "__id__": 234 + } + ], + "_active": true, + "_components": [ + { + "__id__": 239 + }, + { + "__id__": 241 + }, + { + "__id__": 243 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 220, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "9cSpaw6yBKxohrV4JHiWIM" + }, + { + "__type__": "cc.Node", + "_name": "labelTitle", + "_objFlags": 0, + "_parent": { + "__id__": 233 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 235 + }, + { + "__id__": 237 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "8c4pvMWa5Mer+1FYNEtwF/" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 234 + }, + "_enabled": true, + "__prefab": { + "__id__": 236 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 203.67, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5dqtk5E3pCTKXl+V5K8a0k" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c68UOAlNhN171Umca6yVvF" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 234 + }, + "_enabled": true, + "__prefab": { + "__id__": 238 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "--- Room Name --", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 26, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "936WQoOVJLvqRBIdtqn7nb" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2frm37uaJHQr0AEEaYyM82" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 233 + }, + "_enabled": true, + "__prefab": { + "__id__": 240 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "9dqGy4VVlDo6lW65MZg/Lt" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55pCbtzR5GbojKMArZkfim" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 233 + }, + "_enabled": true, + "__prefab": { + "__id__": 242 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "40JQ1QeQNJbIIegcOk3ybw" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "20UGQn4U9GUoln0NJQTkbG" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 233 + }, + "_enabled": true, + "__prefab": { + "__id__": 244 + }, + "_alignFlags": 1, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "0cEYncp1tLObOi98wBsm3Q" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d0RbrZQCdBpoFNtWQanfCV" + }, + { + "__type__": "cc.Node", + "_name": "messageScrollView", + "_objFlags": 0, + "_parent": { + "__id__": 225 + }, + "_children": [ + { + "__id__": 246 + }, + { + "__id__": 263 + } + ], + "_active": true, + "_components": [ + { + "__id__": 274 + }, + { + "__id__": 260 + }, + { + "__id__": 276 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "c2eMktIMdF4oqfMq4yU55y" + }, + { + "__type__": "cc.Node", + "_name": "scrollBar", + "_objFlags": 0, + "_parent": { + "__id__": 245 + }, + "_children": [ + { + "__id__": 247 + } + ], + "_active": true, + "_components": [ + { + "__id__": 252 + }, + { + "__id__": 254 + }, + { + "__id__": 256 + }, + { + "__id__": 258 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 348, + "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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "3d9Zsbl7NFUrnMi1/0xkMq" + }, + { + "__type__": "cc.Node", + "_name": "bar", + "_objFlags": 0, + "_parent": { + "__id__": 246 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 248 + }, + { + "__id__": 250 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11, + "y": -129.3792071802543, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "30vJZuI81KGpFYxPtnMVs0" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 247 + }, + "_enabled": true, + "__prefab": { + "__id__": 249 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 10, + "height": 258.7584143605086 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "a9Wy0kpCpN1Zk8BhI35EVj" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "95oWyE8aJJxJ5UvVmOXyZU" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 247 + }, + "_enabled": true, + "__prefab": { + "__id__": 251 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "afc47931-f066-46b0-90be-9fe61f213428@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "6ep8hZHOZB7oXQtSyW9X7N" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "02Vchn8fFF/77B+7pVCQuQ" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 246 + }, + "_enabled": true, + "__prefab": { + "__id__": 253 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 12, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 1, + "y": 0.5 + }, + "_id": "a5RembBSRC/I+95h7FQvuJ" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "17lQPXOPpO0b6Z/3qQRAz3" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 246 + }, + "_enabled": true, + "__prefab": { + "__id__": 255 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "ffb88a8f-af62-48f4-8f1d-3cb606443a43@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "1bdfF7PyJE2qsAchFdt9Xp" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9dLJe/n0BKVoGauB1wT/Tc" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 246 + }, + "_enabled": true, + "__prefab": { + "__id__": 257 + }, + "_alignFlags": 37, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 250, + "_alignMode": 1, + "_lockFlags": 0, + "_id": "e10FAgo5ZFsaYMLTDPGd7Y" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "88/VBmjEBOMLWb2cOiN0kU" + }, + { + "__type__": "cc.ScrollBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 246 + }, + "_enabled": true, + "__prefab": { + "__id__": 259 + }, + "_scrollView": { + "__id__": 260 + }, + "_handle": { + "__id__": 250 + }, + "_direction": 1, + "_enableAutoHide": false, + "_autoHideTime": 1, + "_id": "0669drOxlImbsghvYvVSe7" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f4i77UV0dH4pcD0KQOXx7c" + }, + { + "__type__": "cc.ScrollView", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 245 + }, + "_enabled": true, + "__prefab": { + "__id__": 261 + }, + "bounceDuration": 0.23, + "brake": 0.75, + "elastic": true, + "inertia": true, + "horizontal": false, + "vertical": true, + "cancelInnerEvents": true, + "scrollEvents": [], + "_content": { + "__id__": 262 + }, + "_horizontalScrollBar": null, + "_verticalScrollBar": { + "__id__": 258 + }, + "_id": "faGAN1tPtCsIyX3TUbdGnz" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a8UaPDxYhIX5MrqvKGMJdR" + }, + { + "__type__": "cc.Node", + "_name": "list", + "_objFlags": 0, + "_parent": { + "__id__": 263 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 270 + }, + { + "__id__": 272 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 20, + "y": 145.003, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "03eeqUx6NIybqvW/DKnzQU" + }, + { + "__type__": "cc.Node", + "_name": "view", + "_objFlags": 0, + "_parent": { + "__id__": 245 + }, + "_children": [ + { + "__id__": 262 + } + ], + "_active": true, + "_components": [ + { + "__id__": 264 + }, + { + "__id__": 266 + }, + { + "__id__": 268 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -348, + "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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "d4zNVQbC9JtaoU+Sgh4Q6a" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 263 + }, + "_enabled": true, + "__prefab": { + "__id__": 265 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 696, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "fexwkrkptEJ5r2DkvDFMzY" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "adVJjE6iNG9YcIKwDKe/zq" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 263 + }, + "_enabled": true, + "__prefab": { + "__id__": 267 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_type": 0, + "_inverted": false, + "_segments": 64, + "_spriteFrame": null, + "_alphaThreshold": 0.1, + "_id": "37RJyqzWpJrJep/m+RlDvw" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4eIg29oQZFVLk+NZnwDdlk" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 263 + }, + "_enabled": true, + "__prefab": { + "__id__": 269 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "64IRik7VVIrqsDP6K7EOcO" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "35r8M2AF9Ko6wg3YTqho+K" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 262 + }, + "_enabled": true, + "__prefab": { + "__id__": 271 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 656, + "height": 211.59999999999997 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "bekzftWotC/Jkahk2fbl4r" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "71F9vsVsZH7ZFd+PpN0azA" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 262 + }, + "_enabled": true, + "__prefab": { + "__id__": 273 + }, + "_resizeMode": 1, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 20, + "_paddingBottom": 40, + "_spacingX": 0, + "_spacingY": 10, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "c1SwZgIVhONZKELtfWYyV/" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eaGEkmlCpANK+GS6CImtZa" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 245 + }, + "_enabled": true, + "__prefab": { + "__id__": 275 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 696, + "height": 372 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "1f4Td1BMNJIqptdl8R4UxI" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "71kmounFRG/K27WWBbH2RB" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 245 + }, + "_enabled": true, + "__prefab": { + "__id__": 277 + }, + "_alignFlags": 45, + "_target": null, + "_left": 2, + "_right": 2, + "_top": 64, + "_bottom": 64, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 240, + "_originalHeight": 250, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "c8X/Dl+rRChajHBhsT7PSi" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d7V9maLahK5pggsbztK/qb" + }, + { + "__type__": "cc.Node", + "_name": "inputMsg", + "_objFlags": 0, + "_parent": { + "__id__": 225 + }, + "_children": [ + { + "__id__": 279 + } + ], + "_active": true, + "_components": [ + { + "__id__": 299 + }, + { + "__id__": 301 + }, + { + "__id__": 303 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -69, + "y": -218, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "8bylSlUONAQbsxyhkm2Cje" + }, + { + "__type__": "cc.Node", + "_name": "input", + "_objFlags": 0, + "_parent": { + "__id__": 278 + }, + "_children": [ + { + "__id__": 280 + }, + { + "__id__": 285 + } + ], + "_active": true, + "_components": [ + { + "__id__": 290 + }, + { + "__id__": 292 + }, + { + "__id__": 294 + }, + { + "__id__": 297 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "696dIVyWBJEboGdaRd1td6" + }, + { + "__type__": "cc.Node", + "_name": "TEXT_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 279 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 281 + }, + { + "__id__": 283 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -267, + "y": 30, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "2eafLaaJpK6Y6rWgqM81vr" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 280 + }, + "_enabled": true, + "__prefab": { + "__id__": 282 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 536, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "86s7EV8g9CzYaRHNzU22gP" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "779kAXGTtMZKXfYlOg0Tfd" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 280 + }, + "_enabled": true, + "__prefab": { + "__id__": 284 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 102, + "g": 102, + "b": 102, + "a": 255 + }, + "_string": "", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "c7tDnmJ3ZOJr+L36mtrzO3" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ddIY+NJvlDTIQAg7PLVrGo" + }, + { + "__type__": "cc.Node", + "_name": "PLACEHOLDER_LABEL", + "_objFlags": 0, + "_parent": { + "__id__": 279 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 286 + }, + { + "__id__": 288 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -267, + "y": 30, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "01WbjNA7NAO7Uznxb7PqG2" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 285 + }, + "_enabled": true, + "__prefab": { + "__id__": 287 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 536, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 1 + }, + "_id": "20HIalhX5Lv4tID/yYeZQj" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d07wQj4whCUqYGJH1lEpVp" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 285 + }, + "_enabled": true, + "__prefab": { + "__id__": 289 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 187, + "g": 187, + "b": 187, + "a": 255 + }, + "_string": "Say something...", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 24, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 60, + "_overflow": 1, + "_enableWrapText": false, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "5eULgQJkFGM5fBj+NrSSQU" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8fhi7qRLFJbK0abIJuXmCW" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 279 + }, + "_enabled": true, + "__prefab": { + "__id__": 291 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 538, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c6JhRBewVNQYf2XlmRJdbF" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1fhJOVuOVAGYSYZoiE25Uz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 279 + }, + "_enabled": true, + "__prefab": { + "__id__": 293 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": null, + "_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": "2fDnTQxIND0rQrN2N+uQu5" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "43qH95z3VGeYelCElKd6FW" + }, + { + "__type__": "cc.EditBox", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 279 + }, + "_enabled": true, + "__prefab": { + "__id__": 295 + }, + "editingDidBegan": [], + "textChanged": [], + "editingDidEnded": [], + "editingReturn": [ + { + "__id__": 296 + } + ], + "_textLabel": { + "__id__": 283 + }, + "_placeholderLabel": { + "__id__": 288 + }, + "_returnType": 0, + "_string": "", + "_tabIndex": 0, + "_backgroundImage": null, + "_inputFlag": 5, + "_inputMode": 6, + "_maxLength": -1, + "_id": "0dP8W78G5KgJ+y+o0Y5mVB" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1bCHrwPGZOPrbmPh93kwpe" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 225 + }, + "component": "", + "_componentId": "e256e9e7BpBP6croxSRE/vW", + "handler": "send", + "customEventData": "" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 279 + }, + "_enabled": true, + "__prefab": { + "__id__": 298 + }, + "_alignFlags": 44, + "_target": null, + "_left": 10, + "_right": 10, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 160, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "e9qZmbdFBMO7A+b+lpfUK2" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "23GZu/VLpIRIQiQiAuh32l" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 278 + }, + "_enabled": true, + "__prefab": { + "__id__": 300 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 558, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "eaCnop2ZFOeILtDvHlFOTj" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1fhJOVuOVAGYSYZoiE25Uz" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 278 + }, + "_enabled": true, + "__prefab": { + "__id__": 302 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@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": "752lWVaWJJoakLP3qTM5Ep" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "43qH95z3VGeYelCElKd6FW" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 278 + }, + "_enabled": true, + "__prefab": { + "__id__": 304 + }, + "_alignFlags": 44, + "_target": null, + "_left": 2, + "_right": 140, + "_top": 0, + "_bottom": 2, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 160, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "18ZHh4B0JI4YbfTdpFqRO0" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9cwo1ypmBNSbLf22Dtr9YZ" + }, + { + "__type__": "cc.Node", + "_name": "btnSend", + "_objFlags": 0, + "_parent": { + "__id__": 225 + }, + "_children": [ + { + "__id__": 306 + } + ], + "_active": true, + "_components": [ + { + "__id__": 311 + }, + { + "__id__": 313 + }, + { + "__id__": 315 + }, + { + "__id__": 317 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 280, + "y": -218, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "eek+xzhHlEAaiBnef6W1e3" + }, + { + "__type__": "cc.Node", + "_name": "labelSend", + "_objFlags": 0, + "_parent": { + "__id__": 305 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 307 + }, + { + "__id__": 309 + } + ], + "_prefab": null, + "_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 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "91t1E+C/FIsKAjFRpDeHbL" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 306 + }, + "_enabled": true, + "__prefab": { + "__id__": 308 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 56.05, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5eRbNhDmBMnIIU4JGQ4piA" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c68UOAlNhN171Umca6yVvF" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 306 + }, + "_enabled": true, + "__prefab": { + "__id__": 310 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Send", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 24, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "78wrEOPdlIlqTQNTCImGV9" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2frm37uaJHQr0AEEaYyM82" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 305 + }, + "_enabled": true, + "__prefab": { + "__id__": 312 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 138, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "435Nb2oKRCl4wTjGcZyYKR" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f7NISe7HdAD68SLfhnddy8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 305 + }, + "_enabled": true, + "__prefab": { + "__id__": 314 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 33, + "g": 95, + "b": 164, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "45dj8m6bBHSYc/z8irLjIm" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e71ctEmpxFC4KlSYRZNz/a" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 305 + }, + "_enabled": true, + "__prefab": { + "__id__": 316 + }, + "_alignFlags": 36, + "_target": null, + "_left": 417, + "_right": 1, + "_top": 0, + "_bottom": 2, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 2, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "1fo4sSkJ5L9oZGF9ut3HMe" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f8I2vB/TRFyp7+vN5h9Gms" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 305 + }, + "_enabled": true, + "__prefab": { + "__id__": 318 + }, + "clickEvents": [ + { + "__id__": 319 + } + ], + "_interactable": true, + "_transition": 1, + "_normalColor": { + "__type__": "cc.Color", + "r": 33, + "g": 95, + "b": 164, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 47, + "g": 116, + "b": 194, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 63, + "g": 138, + "b": 221, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": { + "__uuid__": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "8fG2Z69UdOpouJ6GKS5Upz" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "68myaMOdtBmJwkAhRW8lvj" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 225 + }, + "component": "", + "_componentId": "e256e9e7BpBP6croxSRE/vW", + "handler": "send", + "customEventData": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 225 + }, + "_enabled": true, + "__prefab": { + "__id__": 321 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 700, + "height": 500 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "6b8PlxPgxB4r7v+BnbifJW" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55pCbtzR5GbojKMArZkfim" + }, + { + "__type__": "e256e9e7BpBP6croxSRE/vW", + "_name": "", + "_objFlags": 0, + "__editorExtras__": { + "mountedRoot": { + "__id__": 225 + } + }, + "node": { + "__id__": 225 + }, + "_enabled": true, + "__prefab": { + "__id__": 323 + }, + "roomName": "#Client 1", + "prefabMsgItem": { + "__uuid__": "5393b4df-3fd4-4342-a3c1-b2dc4763d062", + "__expectedType__": "cc.Prefab" + }, + "labelTitle": { + "__id__": 237 + }, + "msgScroll": { + "__id__": 260 + }, + "inputSend": { + "__id__": 294 + }, + "_id": "6cyXvoRyhICZQ2X2595V8C" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d7YRgDBQlPKL5QQSuR70vu" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d7YRgDBQlPKL5QQSuR70vu" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 326 + }, + "_enabled": true, + "__prefab": { + "__id__": 329 + }, + "_visFlags": 0, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "Send", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 24, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_id": "0aWLhAd5FJSq0TyiLZCYhj" + }, + { + "__type__": "cc.Node", + "_name": "labelSend-001", + "_objFlags": 0, + "_parent": null, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 327 + }, + { + "__id__": 325 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 589.3389999999999, + "y": 674.1270000000001, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "90QcZN5IFKu4/2s4f5Z5nY" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 326 + }, + "_enabled": true, + "__prefab": { + "__id__": 328 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 56.05, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "7bULyUJChAQpT3bddO4oFa" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c68UOAlNhN171Umca6yVvF" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2frm37uaJHQr0AEEaYyM82" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a8UaPDxYhIX5MrqvKGMJdR" + ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 224 + }, + "sourceInfo": null, + "propertyPath": [ + "inputSend" + ], + "target": { + "__id__": 225 + }, + "targetInfo": { + "__id__": 332 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "1bCHrwPGZOPrbmPh93kwpe" + ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 224 + }, + "sourceInfo": null, + "propertyPath": [ + "labelTitle" + ], + "target": { + "__id__": 225 + }, + "targetInfo": { + "__id__": 334 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "2frm37uaJHQr0AEEaYyM82" + ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 336 + }, + "sourceInfo": null, + "propertyPath": [ + "labelTitle" + ], + "target": { + "__id__": 337 + }, + "targetInfo": { + "__id__": 346 + } + }, + { + "__type__": "e256e9e7BpBP6croxSRE/vW", + "_name": "", + "_objFlags": 0, + "__editorExtras__": { + "mountedRoot": { + "__id__": 337 + } + }, + "node": { + "__id__": 337 + }, + "_enabled": true, + "__prefab": { + "__id__": 345 + }, + "roomName": "AAABBBCCCDDD", + "prefabMsgItem": { + "__uuid__": "5393b4df-3fd4-4342-a3c1-b2dc4763d062", + "__expectedType__": "cc.Prefab" + }, + "labelTitle": null, + "msgScroll": null, + "inputSend": null, + "_id": "e5XgHIk3NNaZ6G7NGdyG/A" + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": null, + "_prefab": { + "__id__": 338 + } + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 337 + }, + "asset": { + "__uuid__": "da99e95a-3939-4ba1-8ce5-c60a6cd41fad", + "__expectedType__": "cc.Prefab" + }, + "fileId": "f0WhsHn6pMuJoAU/Cj5K8G", + "instance": { + "__id__": 339 + } + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "3fkLdc1CVBpZoSnKDp8Ghh", + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 340 + }, + { + "__id__": 342 + }, + { + "__id__": 343 + }, + { + "__id__": 344 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 341 + }, + "propertyPath": [ + "_name" + ], + "value": "ChatBox-001" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "f0WhsHn6pMuJoAU/Cj5K8G" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 341 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 375, + "y": 273.816, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 341 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 341 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d7YRgDBQlPKL5QQSuR70vu" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "2frm37uaJHQr0AEEaYyM82" + ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 336 + }, + "sourceInfo": null, + "propertyPath": [ + "msgScroll" + ], + "target": { + "__id__": 337 + }, + "targetInfo": { + "__id__": 348 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a8UaPDxYhIX5MrqvKGMJdR" + ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 336 + }, + "sourceInfo": null, + "propertyPath": [ + "inputSend" + ], + "target": { + "__id__": 337 + }, + "targetInfo": { + "__id__": 350 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "1bCHrwPGZOPrbmPh93kwpe" + ] + }, + { + "__type__": "cc.SceneGlobals", + "ambient": { + "__id__": 352 + }, + "shadows": { + "__id__": 353 + }, + "_skybox": { + "__id__": 354 + }, + "fog": { + "__id__": 355 + } + }, + { + "__type__": "cc.AmbientInfo", + "_skyColor": { + "__type__": "cc.Color", + "r": 51, + "g": 128, + "b": 204, + "a": 1 + }, + "_skyIllum": 20000, + "_groundAlbedo": { + "__type__": "cc.Color", + "r": 51, + "g": 51, + "b": 51, + "a": 255 + } + }, + { + "__type__": "cc.ShadowsInfo", + "_type": 0, + "_enabled": false, + "_normal": { + "__type__": "cc.Vec3", + "x": 0, + "y": 1, + "z": 0 + }, + "_distance": 0, + "_shadowColor": { + "__type__": "cc.Color", + "r": 76, + "g": 76, + "b": 76, + "a": 255 + }, + "_autoAdapt": true, + "_pcf": 0, + "_bias": 0.00001, + "_normalBias": 0, + "_near": 1, + "_far": 30, + "_orthoSize": 5, + "_maxReceived": 4, + "_size": { + "__type__": "cc.Vec2", + "x": 512, + "y": 512 + }, + "_saturation": 0.75 + }, + { + "__type__": "cc.SkyboxInfo", + "_envmap": null, + "_isRGBE": false, + "_enabled": false, + "_useIBL": false + }, + { + "__type__": "cc.FogInfo", + "_type": 0, + "_fogColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "_enabled": false, + "_fogDensity": 0.3, + "_fogStart": 0.5, + "_fogEnd": 300, + "_fogAtten": 5, + "_fogTop": 1.5, + "_fogRange": 1.2 + } +] \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.scene.meta b/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.scene.meta new file mode 100644 index 0000000..41a4868 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.scene.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.1.30", + "importer": "scene", + "imported": true, + "uuid": "86c03e47-dc7e-4335-92f0-cf39fcd2462e", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.ts b/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.ts new file mode 100644 index 0000000..65fd01b --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.ts @@ -0,0 +1,44 @@ + +import { _decorator, Component, Node } from 'cc'; +const { ccclass, property } = _decorator; + +/** + * Predefined variables + * Name = ChatScene + * DateTime = Wed Sep 01 2021 23:21:08 GMT+0800 (中国标准既间) + * Author = twsmj + * FileBasename = ChatScene.ts + * FileBasenameNoExtension = ChatScene + * URL = db://assets/scenes/ChatScene/ChatScene.ts + * ManualUrl = https://docs.cocos.com/creator/3.3/manual/en/ + * + */ + +@ccclass('ChatScene') +export class ChatScene extends Component { + // [1] + // dummy = ''; + + // [2] + // @property + // serializableDummy = 0; + + start () { + // [3] + } + + // update (deltaTime: number) { + // // [4] + // } +} + +/** + * [1] Class member could be defined like this. + * [2] Use `property` decorator if your want the member to be serializable. + * [3] Your initialization goes here. + * [4] Your update function goes here. + * + * Learn more about scripting: https://docs.cocos.com/creator/3.3/manual/en/scripting/ + * Learn more about CCClass: https://docs.cocos.com/creator/3.3/manual/en/scripting/ccclass.html + * Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.3/manual/en/scripting/life-cycle-callbacks.html + */ diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.ts.meta b/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.ts.meta new file mode 100644 index 0000000..24c47ab --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scenes/ChatScene/ChatScene.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.22", + "importer": "typescript", + "imported": true, + "uuid": "73fb73c7-9edb-4a71-b81c-212c00827031", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scripts.meta b/examples/cocos-creator-3.3.0/frontend/assets/scripts.meta new file mode 100644 index 0000000..dd0e830 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scripts.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "9983b088-7be4-480f-8be4-8bea24b2909d", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared.meta b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared.meta new file mode 100644 index 0000000..96c7230 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "fbfb5de1-69ef-43be-976d-d66036b4b407", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols.meta b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols.meta new file mode 100644 index 0000000..79ab5da --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "ba5a8782-c57d-437b-9371-4441de673229", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/MsgChat.ts b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/MsgChat.ts new file mode 100644 index 0000000..4912efe --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/MsgChat.ts @@ -0,0 +1,4 @@ +export interface MsgChat { + content: string, + time: Date +} \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/MsgChat.ts.meta b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/MsgChat.ts.meta new file mode 100644 index 0000000..2ea2a5e --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/MsgChat.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.22", + "importer": "typescript", + "imported": true, + "uuid": "bd48404c-a47a-4bbc-b177-19352bd570bf", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/PtlSend.ts b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/PtlSend.ts new file mode 100644 index 0000000..ed2505d --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/PtlSend.ts @@ -0,0 +1,7 @@ +export interface ReqSend { + content: string +} + +export interface ResSend { + time: Date +} \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/PtlSend.ts.meta b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/PtlSend.ts.meta new file mode 100644 index 0000000..7ce3e35 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/PtlSend.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.22", + "importer": "typescript", + "imported": true, + "uuid": "2a458e30-4c4a-4f1a-9aff-05ea0bdf0ab6", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/serviceProto.ts b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/serviceProto.ts new file mode 100644 index 0000000..d007337 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/serviceProto.ts @@ -0,0 +1,75 @@ +import { ServiceProto } from 'tsrpc-proto'; +import { MsgChat } from './MsgChat'; +import { ReqSend, ResSend } from './PtlSend'; + +export interface ServiceType { + api: { + "Send": { + req: ReqSend, + res: ResSend + } + }, + msg: { + "Chat": MsgChat + } +} + +export const serviceProto: ServiceProto = { + "services": [ + { + "id": 0, + "name": "Chat", + "type": "msg" + }, + { + "id": 1, + "name": "Send", + "type": "api" + } + ], + "types": { + "MsgChat/MsgChat": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "content", + "type": { + "type": "String" + } + }, + { + "id": 1, + "name": "time", + "type": { + "type": "Date" + } + } + ] + }, + "PtlSend/ReqSend": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "content", + "type": { + "type": "String" + } + } + ] + }, + "PtlSend/ResSend": { + "type": "Interface", + "properties": [ + { + "id": 0, + "name": "time", + "type": { + "type": "Date" + } + } + ] + } + } +}; \ No newline at end of file diff --git a/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/serviceProto.ts.meta b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/serviceProto.ts.meta new file mode 100644 index 0000000..906b420 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/scripts/shared/protocols/serviceProto.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.22", + "importer": "typescript", + "imported": true, + "uuid": "56f77762-3150-4a83-ab4a-15025fd73ade", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/spriteFrames.meta b/examples/cocos-creator-3.3.0/frontend/assets/spriteFrames.meta new file mode 100644 index 0000000..3ee4b69 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/spriteFrames.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.1.0", + "importer": "directory", + "imported": true, + "uuid": "b938b4e9-6c3a-434d-9d4b-2b9a0fa0b4bf", + "files": [], + "subMetas": {}, + "userData": { + "compressionType": {}, + "isRemoteBundle": {} + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/assets/spriteFrames/box.png b/examples/cocos-creator-3.3.0/frontend/assets/spriteFrames/box.png new file mode 100755 index 0000000..fa6376e Binary files /dev/null and b/examples/cocos-creator-3.3.0/frontend/assets/spriteFrames/box.png differ diff --git a/examples/cocos-creator-3.3.0/frontend/assets/spriteFrames/box.png.meta b/examples/cocos-creator-3.3.0/frontend/assets/spriteFrames/box.png.meta new file mode 100644 index 0000000..9948023 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/assets/spriteFrames/box.png.meta @@ -0,0 +1,74 @@ +{ + "ver": "1.0.21", + "importer": "image", + "imported": true, + "uuid": "0638b78e-5b91-4912-b2b8-06eed04deede", + "files": [ + ".png", + ".json" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "0638b78e-5b91-4912-b2b8-06eed04deede@6c48a", + "displayName": "box", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "0638b78e-5b91-4912-b2b8-06eed04deede" + }, + "ver": "1.0.21", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941", + "displayName": "box", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 2, + "height": 2, + "rawWidth": 2, + "rawHeight": 2, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "isUuid": true, + "imageUuidOrDatabaseUri": "0638b78e-5b91-4912-b2b8-06eed04deede@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.9", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "hasAlpha": false, + "type": "sprite-frame", + "redirect": "0638b78e-5b91-4912-b2b8-06eed04deede@f9941" + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/package.json b/examples/cocos-creator-3.3.0/frontend/package.json new file mode 100755 index 0000000..6e74670 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/package.json @@ -0,0 +1,10 @@ +{ + "name": "tsrpc-cocos-3-3-0", + "type": "3d", + "uuid": "cd1e2fff-2ab5-4407-b917-e60b25207723", + "version": "3.3.0", + "dependencies": { + "tsrpc-browser": "^3.0.6", + "tsrpc-miniapp": "^3.0.6" + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/builder.json b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/builder.json new file mode 100644 index 0000000..f13854b --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/builder.json @@ -0,0 +1,60 @@ +{ + "__version__": "1.2.8", + "log": { + "level": 4 + }, + "common": { + "outputName": "web-mobile", + "mainBundleCompressionType": "merge_dep", + "platform": "web-mobile" + }, + "BuildTaskManager": { + "taskMap": { + "1630512909207": { + "id": "1630512909207", + "progress": 1, + "state": "success", + "message": "2021-9-2 00:23 Build success in 30639 ms!", + "options": { + "name": "tsrpc-cocos-3-3-0", + "platform": "wechatgame", + "buildPath": "project://build", + "debug": false, + "md5Cache": false, + "sourceMaps": false, + "replaceSplashScreen": false, + "mainBundleCompressionType": "merge_dep", + "mainBundleIsRemote": false, + "mergeStartScene": false, + "experimentalEraseModules": false, + "compressTexture": true, + "packAutoAtlas": true, + "startScene": "86c03e47-dc7e-4335-92f0-cf39fcd2462e", + "scenes": [ + { + "url": "db://assets/scenes/ChatScene/ChatScene.scene", + "uuid": "86c03e47-dc7e-4335-92f0-cf39fcd2462e", + "inBundle": false + } + ], + "outputName": "wechatgame", + "packages": { + "cocos-service": { + "configID": "ad0366", + "services": [] + }, + "wechatgame": { + "startSceneAssetBundle": false, + "orientation": "portrait", + "appid": "wx6ac3f5090a6b99c5", + "separateEngine": false, + "wasm": "js" + } + } + }, + "time": "2021-9-2 00:23", + "dirty": false + } + } + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/cocos-service.json b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/cocos-service.json new file mode 100644 index 0000000..6fc5861 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/cocos-service.json @@ -0,0 +1,20 @@ +{ + "options": { + "web-desktop": { + "configID": "ad0366", + "services": [] + }, + "wechatgame": { + "configID": "ad0366", + "services": [] + }, + "web-mobile": { + "configID": "ad0366", + "services": [] + } + }, + "builder-options": { + "configID": "ad0366", + "services": [] + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/device.json b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/device.json new file mode 100644 index 0000000..70e599e --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/device.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.1" +} diff --git a/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/engine.json b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/engine.json new file mode 100644 index 0000000..2e889fa --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/engine.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.5" +} diff --git a/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/preview.json b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/preview.json new file mode 100644 index 0000000..f837716 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/preview.json @@ -0,0 +1,6 @@ +{ + "__version__": "1.0.1", + "general": { + "start_scene": "86c03e47-dc7e-4335-92f0-cf39fcd2462e" + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/program.json b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/program.json new file mode 100644 index 0000000..4d87e97 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/program.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.0" +} diff --git a/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/scene.json b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/scene.json new file mode 100644 index 0000000..fea0cd6 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/scene.json @@ -0,0 +1,71 @@ +{ + "gizmos-infos": { + "is2D": true, + "is3DIcon": false, + "iconSize": 2, + "gridVisible": true, + "gridColor": [ + 150, + 150, + 150, + 255 + ], + "isIconGizmo3D": false, + "iconGizmoSize": 2, + "isGridVisible": true + }, + "float-window": { + "position": { + "cc": { + "Camera": { + "dock": false, + "top": null, + "bottom": 10, + "left": null, + "right": 10 + } + } + } + }, + "camera-infos": { + "f46876e4-e81b-4931-b493-6d367be385e7": { + "position": { + "x": 375.0000000000001, + "y": 600, + "z": 5000 + }, + "rotation": { + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "viewCenter": { + "x": 0, + "y": 0, + "z": 0 + } + }, + "86c03e47-dc7e-4335-92f0-cf39fcd2462e": { + "position": { + "x": 807.1672726448774, + "y": 621.6458364416596, + "z": 5000 + }, + "rotation": { + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "viewCenter": { + "x": 0, + "y": 0, + "z": 0 + } + } + }, + "camera-uuids": [ + "86c03e47-dc7e-4335-92f0-cf39fcd2462e" + ] +} diff --git a/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/web-mobile.json b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/web-mobile.json new file mode 100644 index 0000000..2b21074 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/profiles/v2/packages/web-mobile.json @@ -0,0 +1,9 @@ +{ + "options": { + "web-mobile": { + "polyfills": { + "coreJs": false + } + } + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/builder.json b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/builder.json new file mode 100644 index 0000000..af081f3 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/builder.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.2.8" +} diff --git a/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/cocos-service.json b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/cocos-service.json new file mode 100644 index 0000000..2e128b1 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/cocos-service.json @@ -0,0 +1,22 @@ +{ + "game": { + "name": "UNKNOW GAME", + "app_id": "UNKNOW", + "c_id": "0" + }, + "appConfigMaps": [ + { + "app_id": "UNKNOW", + "config_id": "ad0366" + } + ], + "configs": [ + { + "app_id": "UNKNOW", + "config_id": "ad0366", + "config_name": "Default", + "config_remarks": "", + "services": [] + } + ] +} diff --git a/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/device.json b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/device.json new file mode 100644 index 0000000..70e599e --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/device.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.1" +} diff --git a/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/engine.json b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/engine.json new file mode 100644 index 0000000..2e889fa --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/engine.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.5" +} diff --git a/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/program.json b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/program.json new file mode 100644 index 0000000..4d87e97 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/program.json @@ -0,0 +1,3 @@ +{ + "__version__": "1.0.0" +} diff --git a/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/project.json b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/project.json new file mode 100644 index 0000000..4310e26 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/settings/v2/packages/project.json @@ -0,0 +1,9 @@ +{ + "__version__": "1.0.1", + "general": { + "designResolution": { + "width": 750, + "height": 1200 + } + } +} diff --git a/examples/cocos-creator-3.3.0/frontend/tsconfig.json b/examples/cocos-creator-3.3.0/frontend/tsconfig.json new file mode 100755 index 0000000..6fcce60 --- /dev/null +++ b/examples/cocos-creator-3.3.0/frontend/tsconfig.json @@ -0,0 +1,6 @@ +{ + /* Base configuration. Do not edit this field. */ + "extends": "./temp/tsconfig.cocos.json" + + /* Add your custom configuration here. */ +}