diff --git a/cocoscreator_projects/YouleNexus/assets/framework/core/types/vip-room.ts b/cocoscreator_projects/YouleNexus/assets/framework/core/types/vip-room.ts index b28d8af..eadf920 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/core/types/vip-room.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/core/types/vip-room.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from '../../sdk/contracts/roomtype.ts'; export type VipCode = string | number; /** min_ary_indexof in the legacy source compares short codes with ==. */ export const sameVipCode=(left:VipCode,right:VipCode):boolean=>left==right; @@ -5,7 +6,7 @@ export interface VipRoom { readonly shortCode: VipCode; readonly title: string; readonly owner: string; - readonly roomcodes: { readonly roomtype: readonly unknown[]; readonly roomlist: readonly VipCode[] } | null; + readonly roomcodes: { readonly roomtype: Roomtype; readonly roomlist: readonly VipCode[] } | null; readonly playerList: readonly (readonly unknown[])[]; readonly deskState: readonly unknown[]; readonly seatCount: readonly VipCode[]; diff --git a/cocoscreator_projects/YouleNexus/assets/framework/platform/game-host-adapter.ts b/cocoscreator_projects/YouleNexus/assets/framework/platform/game-host-adapter.ts index ba59dca..81ab4ea 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/platform/game-host-adapter.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/platform/game-host-adapter.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from '../sdk/contracts/roomtype.ts'; import { APP } from '../core/constants.ts'; import type { OutboundEnvelope } from '../core/types/envelope.ts'; import type { @@ -48,7 +49,7 @@ type SubscriptionReleaseResult = interface BoundRoomGeneration { readonly roomcode: string; - readonly roomtype: readonly unknown[]; + readonly roomtype: Roomtype; readonly selfSeat: number; readonly seatCount: number; } diff --git a/cocoscreator_projects/YouleNexus/assets/framework/platform/runtime.ts b/cocoscreator_projects/YouleNexus/assets/framework/platform/runtime.ts index 5e8af18..de15ab2 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/platform/runtime.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/platform/runtime.ts @@ -341,7 +341,7 @@ export class PlatformRuntime { this.wireIsOpen = false; const errors: unknown[] = []; - for (const off of [...this.stateObservers]) { + for (const off of [...this.stateObservers]) { this.captureCleanupError(errors, off); } this.captureCleanupError(errors, () => { this.clearLoginGuard(); }); @@ -556,7 +556,7 @@ export class PlatformRuntime { this.connectionIntent = { type: 'none' }; this.wireIsOpen = false; const errors: unknown[] = []; - for (const off of [...this.stateObservers]) { + for (const off of [...this.stateObservers]) { this.captureCleanupError(errors, off); } this.captureCleanupError(errors, () => { this.store.setConnectionPhase('kicked'); }); @@ -722,7 +722,7 @@ export class PlatformRuntime { this.wireIsOpen = false; const cleanupErrors: unknown[] = []; - for (const off of [...this.stateObservers]) { + for (const off of [...this.stateObservers]) { this.captureCleanupError(cleanupErrors, off); } this.captureCleanupError(cleanupErrors, () => { this.clearLoginGuard(); }); diff --git a/cocoscreator_projects/YouleNexus/assets/framework/platform/stores/platform-store.ts b/cocoscreator_projects/YouleNexus/assets/framework/platform/stores/platform-store.ts index 9491ad7..b29f462 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/platform/stores/platform-store.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/platform/stores/platform-store.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from '../../sdk/contracts/roomtype.ts'; import type { Unsubscribe } from '../../core/reactive.ts'; import {parseVipRooms} from '../../protocol/contracts/vip-room.ts'; import {parseRankList,parseVipRankList} from '../../protocol/contracts/rank-list.ts'; @@ -6,7 +7,8 @@ import type {LoginAccountIdentity} from '../../protocol/contracts/login-contract import {requireStringOrFiniteNumber} from '../../protocol/contracts/validation.ts'; import { hasOwn, - requireArray, + requireArray, + requireRoomtype, requireBoolean, requireInteger, requireNumber, @@ -152,7 +154,7 @@ function verifyRoomtypeSourceGraph(graph: readonly RoomtypeObjectSnapshot[]): vo } } -export function cloneAndFreezeRoomtype(value: readonly unknown[]): readonly unknown[] { +export function cloneAndFreezeRoomtype(value: Roomtype): Roomtype { const copies = new WeakMap(); const active = new WeakSet(); const ownedGraph: object[] = []; @@ -241,7 +243,7 @@ export function cloneAndFreezeRoomtype(value: readonly unknown[]): readonly unkn return target; }; - const canonical = copy(value, 'roomtype') as readonly unknown[]; + const canonical = copy(value, 'roomtype') as Roomtype; verifyRoomtypeSourceGraph(sourceGraph); for (let index = ownedGraph.length - 1; index >= 0; index -= 1) { Object.freeze(ownedGraph[index]); @@ -287,7 +289,7 @@ function buildRoom( const raw = requireRecord(rawValue, '$.raw'); const roomcode = requireString(room.roomcode, '$.room.roomcode'); const selfSeat = requireInteger(room.seat, '$.room.seat'); - const roomtype = requireArray(room.roomtype, '$.room.roomtype'); + const roomtype = requireRoomtype(room.roomtype, '$.room.roomtype'); const sourcePlayers = requireArray(room.players, '$.room.players'); if (requireString(raw.roomcode, '$.raw.roomcode') !== roomcode) { throw new RangeError('$.room.roomcode: expected value parsed from raw roomcode'); @@ -569,7 +571,7 @@ export class PlatformStore { this.transitions.push({ state, previous, - listeners: [...this.listeners], + listeners: [...this.listeners], }); if (this.publishing) return state; diff --git a/cocoscreator_projects/YouleNexus/assets/framework/platform/stores/platform-types.ts b/cocoscreator_projects/YouleNexus/assets/framework/platform/stores/platform-types.ts index 21bddd7..d673af8 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/platform/stores/platform-types.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/platform/stores/platform-types.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from '../../sdk/contracts/roomtype.ts'; import type { PlatformGameConnectionPhase } from '../../sdk/contracts/snapshots.ts'; import type { TaskData } from '../../core/types/task.ts'; @@ -46,7 +47,7 @@ export interface InsideRoomState { readonly seatPlayerIds: readonly (number | null)[]; readonly readySeats: readonly number[]; readonly offlineSeats: readonly number[]; - readonly roomtype: readonly unknown[]; + readonly roomtype: Roomtype; readonly stage: number; readonly needprepare: number; readonly infinite: number; diff --git a/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/index.ts b/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/index.ts index 6f858c4..f826038 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/index.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/index.ts @@ -1,7 +1,8 @@ export { hasOwn, optionalField, - requireArray, + requireArray, + requireRoomtype, requireBoolean, requireInteger, requireNumber, diff --git a/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/room-contracts.ts b/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/room-contracts.ts index 149ad2a..e108994 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/room-contracts.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/room-contracts.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from '../../sdk/contracts/roomtype.ts'; import { buildFirstSliceEnvelope, type FirstSliceEnvelope, @@ -5,7 +6,8 @@ import { import { hasOwn, optionalField, - requireArray, + requireArray, + requireRoomtype, requireInteger, requireNumber, requireRecord, @@ -22,7 +24,7 @@ export type ReconnectSnapshot = export interface ParsedRoomSnapshot { readonly roomcode: string; readonly seat: number; - readonly roomtype: readonly unknown[]; + readonly roomtype: Roomtype; readonly players: readonly unknown[]; } @@ -40,7 +42,7 @@ export function reconnectFrom(raw: JsonRecord): ReconnectSnapshot { export function parseRoomEntryFields(raw: JsonRecord): ParsedRoomSnapshot { const roomcode = requireString(raw.roomcode, '$.data.roomcode'); const seat = requireInteger(raw.seat, '$.data.seat'); - const roomtype = requireArray(raw.roomtype, '$.data.roomtype'); + const roomtype = requireRoomtype(raw.roomtype, '$.data.roomtype'); const players = requireArray(raw.players, '$.data.players'); if (seat < 0 || seat >= players.length) { throw new RangeError(`$.data.seat: expected server seat index within players, received number`); @@ -246,7 +248,7 @@ export function parseKickServerPayload(value: unknown): ParsedKickPayload { export interface CreateRoomEnvironment { - readonly roomtype: readonly unknown[]; + readonly roomtype: Roomtype; readonly location: unknown; readonly ip: string; } @@ -267,7 +269,7 @@ export function buildCreateRoomRequest( agentid: requireStringOrFiniteNumber(identity.agentid, '$.identity.agentid'), playerid: requireInteger(playerid, '$.playerid'), gameid: requireStringOrFiniteNumber(identity.gameid, '$.identity.gameid'), - roomtype: requireArray(raw.roomtype, '$.command.roomtype'), + roomtype: requireRoomtype(raw.roomtype, '$.command.roomtype'), ip: requireString(raw.ip, '$.command.ip'), location: raw.location, }); @@ -275,7 +277,7 @@ export function buildCreateRoomRequest( export interface ParsedCreateRoomResponse { readonly state: number; - readonly room: { readonly roomcode: string; readonly seat: number; readonly roomtype: readonly unknown[] } | null; + readonly room: { readonly roomcode: string; readonly seat: number; readonly roomtype: Roomtype } | null; readonly needprepare: number; readonly infinite: number; readonly raw: JsonRecord; @@ -296,7 +298,7 @@ export function parseCreateRoomResponse(value: unknown): ParsedCreateRoomRespons state, room: {roomcode: requireString(raw.roomcode, '$.data.roomcode'), seat: requireInteger(raw.seat, '$.data.seat'), - roomtype: requireArray(raw.roomtype, '$.data.roomtype')}, + roomtype: requireRoomtype(raw.roomtype, '$.data.roomtype')}, needprepare: flag('needprepare'), infinite: flag('infinite'), raw, }; } diff --git a/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/validation.ts b/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/validation.ts index 699d2b6..f6bce65 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/validation.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/validation.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from '../../sdk/contracts/roomtype.ts'; export type JsonRecord = Readonly>; function receivedType(value: unknown): string { @@ -66,3 +67,9 @@ export function optionalField( if (!hasOwn(record, key)) return undefined; return validate(record[key], `${path}.${key}`); } + +/** Validate the transport shape without interpreting game-specific options. */ +export function requireRoomtype(value: unknown, path: string): Roomtype { + if (typeof value === 'string' || Array.isArray(value)) return value; + return invalid(path, 'string or array', value); +} diff --git a/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/vip-room.ts b/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/vip-room.ts index e45c079..6134f6b 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/vip-room.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/protocol/contracts/vip-room.ts @@ -1,4 +1,4 @@ -import {requireArray,requireRecord,requireString} from './validation.ts'; +import {requireArray,requireRoomtype,requireRecord,requireString} from './validation.ts'; import type {VipCode,VipRoom} from '../../core/types/vip-room.ts'; export function vipCode(value:unknown,path:string):VipCode { if(typeof value==='string'&&value.length>0)return value; @@ -12,7 +12,8 @@ export function parseVipRooms(payload:unknown):readonly VipRoom[]{ const p=`$.data.roomInfo[${index}]`,r=requireRecord(value,p); const playerList=requireArray(r.playerList,p+'.playerList').map((v,i)=>Object.freeze([...requireArray(v,`${p}.playerList[${i}]`)])); const codes=r.roomcodes?requireRecord(r.roomcodes,p+'.roomcodes'):null; - const roomcodes=codes?Object.freeze({roomtype:Object.freeze([...requireArray(codes.roomtype,p+'.roomcodes.roomtype')]),roomlist:Object.freeze(requireArray(codes.roomlist,p+'.roomcodes.roomlist').map((v,i)=>vipCode(v,`${p}.roomcodes.roomlist[${i}]`)))}):null; + const rawType=codes?requireRoomtype(codes.roomtype,p+'.roomcodes.roomtype'):null; + const roomcodes=codes?Object.freeze({roomtype:typeof rawType==='string'?rawType:Object.freeze([...(rawType as readonly unknown[])]),roomlist:Object.freeze(requireArray(codes.roomlist,p+'.roomcodes.roomlist').map((v,i)=>vipCode(v,`${p}.roomcodes.roomlist[${i}]`)))}):null; const deskState=roomcodes?requireArray(r.deskState,p+'.deskState'):[]; const seatCount=roomcodes?requireArray(r.seatCount,p+'.seatCount').map((v,i)=>vipCode(v,`${p}.seatCount[${i}]`)):[]; if(roomcodes&&[roomcodes.roomlist.length,deskState.length,seatCount.length].some(n=>n!==playerList.length))throw TypeError(p+': desk arrays must have matching lengths'); diff --git a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/create-room-page.ts b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/create-room-page.ts index 37c5993..3527730 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/create-room-page.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/create-room-page.ts @@ -1,7 +1,8 @@ +import type {Roomtype} from './roomtype.ts'; /** Pre-room capability: a game owns its page and validated, opaque wire configuration. */ export interface CreateRoomPageContext { readonly previousRoomtype:unknown; - submit(roomtype:readonly unknown[]):void; + submit(roomtype: Roomtype):void; cancel():void; reportError(message:string):void; } diff --git a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/game-entry.ts b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/game-entry.ts index a824dc9..219bd73 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/game-entry.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/game-entry.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from './roomtype.ts'; import type { GameModule } from './game-module.ts'; /** The one compile-time game identity and module factory for an app. */ @@ -6,6 +7,6 @@ export interface GameEntry { readonly gameId: string | number; readonly route: string; /** Interprets this game's actual server roomtype; no synthetic/default input is required. */ - resolveSeatCount(roomtype: readonly unknown[]): number; + resolveSeatCount(roomtype: Roomtype): number; createModule(): GameModule; } diff --git a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/index.ts b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/index.ts index e70c0d0..e66cf24 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/index.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/index.ts @@ -5,3 +5,5 @@ export * from './game-module.ts'; export * from './game-seat-mapper.ts'; export * from './platform-events.ts'; export * from './snapshots.ts'; + +export type {Roomtype} from './roomtype.ts'; diff --git a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/platform-events.ts b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/platform-events.ts index e9a836a..4a6e359 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/platform-events.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/platform-events.ts @@ -1,6 +1,7 @@ +import type {Roomtype} from './roomtype.ts'; /** Platform lifecycle events delivered to the current game module. */ export type PlatformToGameEvent = - | { readonly type: 'room.entered'; readonly roomtype: readonly unknown[] } + | { readonly type: 'room.entered'; readonly roomtype: Roomtype } | { readonly type: 'room.player-joined'; readonly seat: number } | { readonly type: 'room.player-left'; readonly seat: number } | { readonly type: 'room.player-ready'; readonly seat: number } diff --git a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/roomtype.ts b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/roomtype.ts new file mode 100644 index 0000000..c7c0a27 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/roomtype.ts @@ -0,0 +1,2 @@ +/** Opaque subgame wire configuration. The game defines its contents. */ +export type Roomtype = string | readonly unknown[]; diff --git a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/roomtype.ts.meta b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/roomtype.ts.meta new file mode 100644 index 0000000..b35d27c --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/roomtype.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "69bfa9e3-15e3-4ed5-a26a-1fda48ffc906", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/snapshots.ts b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/snapshots.ts index 14f50ca..4ff38d0 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/snapshots.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/sdk/contracts/snapshots.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from './roomtype.ts'; /** Public connection phases available to a game. */ export type PlatformGameConnectionPhase = | 'connected' @@ -20,7 +21,7 @@ export interface PlatformGameSelfSnapshot { /** Plain public room projection. `roomtype` remains opaque server data. */ export interface PlatformGameRoomSnapshot { readonly roomcode: string; - readonly roomtype: readonly unknown[]; + readonly roomtype: Roomtype; readonly stage: number; readonly needprepare: number; readonly infinite: number; diff --git a/cocoscreator_projects/YouleNexus/assets/framework/sdk/testing/game-contract-harness.ts b/cocoscreator_projects/YouleNexus/assets/framework/sdk/testing/game-contract-harness.ts index 7c80bb3..63072e4 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/sdk/testing/game-contract-harness.ts +++ b/cocoscreator_projects/YouleNexus/assets/framework/sdk/testing/game-contract-harness.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from '../contracts/roomtype.ts'; import type { strict } from 'node:assert'; import type { GameEntry, @@ -16,7 +17,7 @@ export type GameContractHostFactory = () => GameContractHost; /** The game owns each room configuration, its expected count and matching Host fixture. */ export interface GameContractSample { - readonly roomtype: readonly unknown[]; + readonly roomtype: Roomtype; readonly expectedSeatCount: number; readonly makeHost: GameContractHostFactory; } diff --git a/cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/widgets/NoticeBoard.prefab b/cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/widgets/NoticeBoard.prefab index 41ea820..be0f4fd 100644 --- a/cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/widgets/NoticeBoard.prefab +++ b/cocoscreator_projects/YouleNexus/assets/framework/ui/prefabs/widgets/NoticeBoard.prefab @@ -701,7 +701,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -229.49841260344616, + "x": -231.99801937299284, "y": 178, "z": 0 }, @@ -742,8 +742,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 19.996825206892293, - "height": 25.200000000000003 + "width": 24.996038745985672, + "height": 31.500000000000004 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -781,10 +781,10 @@ "_string": "消", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 21.083333333333336, - "_fontSize": 20, + "_actualFontSize": 26.354166666666668, + "_fontSize": 25, "_fontFamily": "Arial", - "_lineHeight": 20, + "_lineHeight": 25, "_overflow": 0, "_enableWrapText": true, "_font": null, diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang.meta b/cocoscreator_projects/YouleNexus/assets/games/erqiwang.meta new file mode 100644 index 0000000..d13a07a --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "66d74934-1469-4fe1-ad7d-92b5cd70e688", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoom.prefab b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoom.prefab new file mode 100644 index 0000000..285393c --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoom.prefab @@ -0,0 +1,8021 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "ErqiwangCreateRoom", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "ErqiwangCreateRoom", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 138 + }, + { + "__id__": 139 + }, + { + "__id__": 140 + }, + { + "__id__": 233 + } + ], + "_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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "41jKfXUJlAN6P90pnQudZr" + }, + { + "__type__": "cc.Node", + "_name": "group-4", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 8 + }, + { + "__id__": 13 + }, + { + "__id__": 18 + }, + { + "__id__": 22 + }, + { + "__id__": 25 + }, + { + "__id__": 48 + }, + { + "__id__": 51 + }, + { + "__id__": 74 + }, + { + "__id__": 77 + }, + { + "__id__": 100 + }, + { + "__id__": 103 + }, + { + "__id__": 115 + }, + { + "__id__": 118 + }, + { + "__id__": 130 + }, + { + "__id__": 133 + } + ], + "_active": true, + "_components": [ + { + "__id__": 136 + }, + { + "__id__": 137 + } + ], + "_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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "5a7R3MK+ZNz5RAN5gq8BJO" + }, + { + "__type__": "cc.Node", + "_name": "Spirit18", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + }, + { + "__id__": 5 + }, + { + "__id__": 6 + }, + { + "__id__": 7 + } + ], + "_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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "fcAha+pj5EsJvju1AqskCi" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "00gqeOewVKN7s+5rhi01ir" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "eabf148a-fa6a-460a-be4f-8e586eb80e07@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": "e0Rw+BMQFOWYXxbguhu4fn" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": null, + "_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": 1600, + "_originalHeight": 720, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "26lyO9XNBB6Y2UORNj+p2j" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "18tVNVTbFN64xCE3Dm/zTT" + }, + { + "__type__": "cc.Node", + "_name": "Spirit19", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 9 + }, + { + "__id__": 10 + }, + { + "__id__": 11 + }, + { + "__id__": 12 + } + ], + "_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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "fdETq1zL1F2Z3XqLD9uJjN" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 850, + "height": 650 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "0e7u7+4wdDLam5u/bOztLG" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "8eb7acc3-aba1-4fcf-b375-a3bfb5303472@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": "d596OAzt5Nqrpyii9yJzch" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": false, + "__prefab": null, + "_alignFlags": 16, + "_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": "3cgakEuhdFspJtFzDGy3jw" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": null, + "_id": "30RJMsAl9GxJsuH+mH4FDl" + }, + { + "__type__": "cc.Node", + "_name": "Spirit25", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 14 + }, + { + "__id__": 15 + }, + { + "__id__": 16 + }, + { + "__id__": 17 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -255, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "94mJRfASJHZLsq0cTjvGws" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 13 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 292, + "height": 102 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "22aWVSsM9Ok4UEcHOFfd7e" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 13 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "c8cc3782-42f9-4e2d-9898-da1460faff26@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": "93p2diW9VM4p9kvnQlbniB" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 13 + }, + "_enabled": false, + "__prefab": null, + "_alignFlags": 16, + "_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": "e8tK+BW/JJhoPKvnlCIdOz" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 13 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "c0ggjcJf9CYrt3WU3GKzHz" + }, + { + "__type__": "cc.Node", + "_name": "Spirit60", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 19 + }, + { + "__id__": 20 + }, + { + "__id__": 21 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 405, + "y": 290, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "a0fzsMIL1AhIiEQ8Q5Buf9" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 83, + "height": 84 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "4e75H/KP1AX6xlNx2hAIky" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "eedce6d7-3ea6-434c-83e1-87d9a04b2bad@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": "3foa6AlftJAItDthrOv7Ks" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 18 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "a1YRgicNNPBKZGVU5PlgF+" + }, + { + "__type__": "cc.Node", + "_name": "Title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 23 + }, + { + "__id__": 24 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 270, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "29Hgz9RfVAqZ0zAjGBTQf/" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 500, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "0fKZDYKMpEHpWTmM3VmpZj" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 239, + "b": 200, + "a": 255 + }, + "_string": "二七王 · 创建房间", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "5eh0UHiH9G37YNgw/U1glI" + }, + { + "__type__": "cc.Node", + "_name": "Options0", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 26 + }, + { + "__id__": 33 + }, + { + "__id__": 36 + }, + { + "__id__": 43 + } + ], + "_active": true, + "_components": [ + { + "__id__": 46 + }, + { + "__id__": 47 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 160, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "3fq15ggwhEd41UuKrJxFBa" + }, + { + "__type__": "cc.Node", + "_name": "Option0", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 25 + }, + "_children": [ + { + "__id__": 27 + } + ], + "_active": true, + "_components": [ + { + "__id__": 30 + }, + { + "__id__": 31 + }, + { + "__id__": 32 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -200, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "9e4QGyLltD16t51NB0rfsP" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 26 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 28 + }, + { + "__id__": 29 + } + ], + "_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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "c5oriHfslM2Jyu7Uys1M3l" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "f1Ue9jmwZIzol1E9vMa26Y" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "bbTGXjS41Dj5TASI5LjEfY" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 26 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "3agX8PnJJHS5YyAu6iKmDS" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 26 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "8ettIDdEFCAKv5CpLl30Gd" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 26 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": true, + "_checkMark": { + "__id__": 29 + }, + "_id": "1e53Z+AMpOAYWMA2vr+M75" + }, + { + "__type__": "cc.Node", + "_name": "OptionText0", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 25 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 34 + }, + { + "__id__": 35 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -65, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "e6BZOJ5oNEUa/Q8FDa6NsM" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 33 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 210, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "48TVtyFVBLLYSjIDvVBuJh" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 33 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "6局", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "4aXNpwArZK7KyqTlEg6hVC" + }, + { + "__type__": "cc.Node", + "_name": "Option1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 25 + }, + "_children": [ + { + "__id__": 37 + } + ], + "_active": true, + "_components": [ + { + "__id__": 40 + }, + { + "__id__": 41 + }, + { + "__id__": 42 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 90, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "5ccdmNLmtDRKvHplx+dEW0" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 36 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 38 + }, + { + "__id__": 39 + } + ], + "_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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "51tGBlxbtAyog4Z/o9+BDr" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 37 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "10997BAn1Py466L7u1dXqa" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 37 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "edGGL8RvhBdZhwJcylSAXT" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "b99aQbhuxNY43dJJqnZjNM" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "72b1g4tadI9KpsDqf6o8Hw" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 36 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": false, + "_checkMark": { + "__id__": 39 + }, + "_id": "21U1BW3wBDs6gnAXRmJX72" + }, + { + "__type__": "cc.Node", + "_name": "OptionText1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 25 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 44 + }, + { + "__id__": 45 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 225, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "9dq+2ZJyhMWZGZ8l+4fXgf" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 210, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "910/lujE5N+rziv8OS5JNq" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "12局", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "64ZOrA5k1GMoW3DitSTF1Z" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 790, + "height": 56 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "b99xurESRLd6/fwj6R71K6" + }, + { + "__type__": "cc.ToggleContainer", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 25 + }, + "_enabled": true, + "__prefab": null, + "_allowSwitchOff": false, + "checkEvents": [], + "_id": "0bXHfdM2FM+b5j0YBdJpL6" + }, + { + "__type__": "cc.Node", + "_name": "Heading0", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 49 + }, + { + "__id__": 50 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -325, + "y": 160, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "f2Q0dutCFCVZOde232ghoN" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 48 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e38ltD8ehLVZCA7x6wMMy9" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 48 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "局数", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "50UMlEUDZLopEL+oRFvvLt" + }, + { + "__type__": "cc.Node", + "_name": "Options1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 52 + }, + { + "__id__": 59 + }, + { + "__id__": 62 + }, + { + "__id__": 69 + } + ], + "_active": true, + "_components": [ + { + "__id__": 72 + }, + { + "__id__": 73 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 90, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "a3klLGT6dOy4P9KPP66Do3" + }, + { + "__type__": "cc.Node", + "_name": "Option2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 51 + }, + "_children": [ + { + "__id__": 53 + } + ], + "_active": true, + "_components": [ + { + "__id__": 56 + }, + { + "__id__": 57 + }, + { + "__id__": 58 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -200, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "c6akngB85KhYqXF6ZLr/2e" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 52 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 54 + }, + { + "__id__": 55 + } + ], + "_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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "0aZDiqWcdHDrrZjrA7im0V" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 53 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "74puocDK1GV7+QCDvkByOR" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 53 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "e4moTT0DFE5aTxODrn3iaH" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 52 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "6fD3ZY1SFImqGJm8U97Xu8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 52 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "5dZMGoYjVK0IofYmnNg6HJ" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 52 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": true, + "_checkMark": { + "__id__": 55 + }, + "_id": "68Urh8SmxNVLSAfsbXefgp" + }, + { + "__type__": "cc.Node", + "_name": "OptionText2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 51 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 60 + }, + { + "__id__": 61 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -65, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "e5+nH9JahHDLtNbhflSWut" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 210, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "083LvNe35C/rkBaWnNFDwU" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "房主扣卡", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "ccM9R/LrZBmY5vWpl/OfLE" + }, + { + "__type__": "cc.Node", + "_name": "Option3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 51 + }, + "_children": [ + { + "__id__": 63 + } + ], + "_active": true, + "_components": [ + { + "__id__": 66 + }, + { + "__id__": 67 + }, + { + "__id__": 68 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 90, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "26gW/Ian1E1bhzyaHGJFTI" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 62 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 64 + }, + { + "__id__": 65 + } + ], + "_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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "1873vY49xCTInNRE6ATHRm" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e720zbaDNBb7i+GIkXlcmF" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "bf4BqPozpA47s0J4KGqSLX" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a4CMo9ORdHyaQKgSDwVdoG" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "53p8kwMFRMZJUiIHpIktXt" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 62 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": false, + "_checkMark": { + "__id__": 65 + }, + "_id": "b86VwKZSdLXJkNqLVomUZv" + }, + { + "__type__": "cc.Node", + "_name": "OptionText3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 51 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 70 + }, + { + "__id__": 71 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 225, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "f2o2GZdv5E34YBT58Pji3n" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 69 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 210, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "f4fMShBgVNC4N2iszdARGM" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 69 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "AA每人扣卡", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "29mSg1HS5J6r4j5EqFP+kw" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 790, + "height": 56 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "38cd9yEl5C0IUiI+m2h8CH" + }, + { + "__type__": "cc.ToggleContainer", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": null, + "_allowSwitchOff": false, + "checkEvents": [], + "_id": "69Eu+rjypNdpku/W++4zJP" + }, + { + "__type__": "cc.Node", + "_name": "Heading1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 75 + }, + { + "__id__": 76 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -325, + "y": 90, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "a4PI/3QLFPH4Qlow7Yz2ZN" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 74 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "4cY/UjitlMKpl0QgeP0UrH" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 74 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "扣卡方式", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "0fRxsB0wFNbYRufmZFTgkR" + }, + { + "__type__": "cc.Node", + "_name": "Options2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 78 + }, + { + "__id__": 85 + }, + { + "__id__": 88 + }, + { + "__id__": 95 + } + ], + "_active": true, + "_components": [ + { + "__id__": 98 + }, + { + "__id__": 99 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 20, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "21adOLDRVEy4ZINH1naceR" + }, + { + "__type__": "cc.Node", + "_name": "Option4", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 77 + }, + "_children": [ + { + "__id__": 79 + } + ], + "_active": true, + "_components": [ + { + "__id__": 82 + }, + { + "__id__": 83 + }, + { + "__id__": 84 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -200, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "feVcQT8txLn5S/6+FDEw7E" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 78 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 80 + }, + { + "__id__": 81 + } + ], + "_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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "ceYhCY34NJEZt5JfS/+sbE" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 79 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "18XBLXj25DtKIHTLKoSB0N" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 79 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "fcCoDY9S9DyqlZDuxKGaZ2" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 78 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "48kTASjItOapZQ2lJVwwPn" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 78 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "d0QidnEvtBRKKXiQdQ/Iib" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 78 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": true, + "_checkMark": { + "__id__": 81 + }, + "_id": "90fVxw3ApIkrpuN1RhDtq5" + }, + { + "__type__": "cc.Node", + "_name": "OptionText4", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 77 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 86 + }, + { + "__id__": 87 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -65, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "d76W17+P1J/LFAerNi8QLY" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 85 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 210, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "1d9uxu/wxNFJc7bbFmStMz" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 85 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "可查牌", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "bcxGLuuWlOoo9aGrZA3lDV" + }, + { + "__type__": "cc.Node", + "_name": "Option5", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 77 + }, + "_children": [ + { + "__id__": 89 + } + ], + "_active": true, + "_components": [ + { + "__id__": 92 + }, + { + "__id__": 93 + }, + { + "__id__": 94 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 90, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "fcsbbhfoVIdaZQo4BsjH79" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 88 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 90 + }, + { + "__id__": 91 + } + ], + "_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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "75VuumZ+hLSpmQMprsKSfh" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 89 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "71jewA75lBibb5aGLAJR5I" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 89 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "e1y0QndxdKWbB3aE/Rw3C+" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 88 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "1bopR3Z89Oj5V9clRMmvyW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 88 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "d2nxvkT6NK+6eavgQu8dCG" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 88 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": false, + "_checkMark": { + "__id__": 91 + }, + "_id": "4arc5mYfZBUZpt1U0jn4oa" + }, + { + "__type__": "cc.Node", + "_name": "OptionText5", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 77 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 96 + }, + { + "__id__": 97 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 225, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "dfphjPaI5NWItSKWM5vu+x" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 95 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 210, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a6UKJ3vRxPhIYqjz6ycpzc" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 95 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "不查牌", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "78fclq1DpLm4wMbTSviC63" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 77 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 790, + "height": 56 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "29knDdlcdOvqXWnHBpSM6t" + }, + { + "__type__": "cc.ToggleContainer", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 77 + }, + "_enabled": true, + "__prefab": null, + "_allowSwitchOff": false, + "checkEvents": [], + "_id": "f8pUnek5lHYYhpL7BtMCLe" + }, + { + "__type__": "cc.Node", + "_name": "Heading2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 101 + }, + { + "__id__": 102 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -325, + "y": 20, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "a9T6MEhk5Ad76duxDibFPP" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 100 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e8tH/kbAdHP7yZILX2LxpF" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 100 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "查牌模式", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "50LJ2nEqFE3qSCmCULC/Tg" + }, + { + "__type__": "cc.Node", + "_name": "Options3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 104 + }, + { + "__id__": 111 + } + ], + "_active": true, + "_components": [ + { + "__id__": 114 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -50, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "dcaPvIhyZFbqiZDwTzxrj+" + }, + { + "__type__": "cc.Node", + "_name": "Option6", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 103 + }, + "_children": [ + { + "__id__": 105 + } + ], + "_active": true, + "_components": [ + { + "__id__": 108 + }, + { + "__id__": 109 + }, + { + "__id__": 110 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -200, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "45BJS8gmdMC44LMk0QOnvX" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 104 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 106 + }, + { + "__id__": 107 + } + ], + "_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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "cdSKdbKW9HFpQ9lTNGL3Za" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 105 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "9fNotlAJJD3omLCq21ViaE" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 105 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "bdwRt/s8FO4rTy9LWBfEKG" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 104 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "f0jZzYoZ1NPZJ6/rWzkWVr" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 104 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "4cTpowZYxCVIMZIbCyOFB0" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 104 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": false, + "_checkMark": { + "__id__": 107 + }, + "_id": "31lkj42+VPSLZcoZbo1Yxs" + }, + { + "__type__": "cc.Node", + "_name": "OptionText6", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 103 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 112 + }, + { + "__id__": 113 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -65, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "75+PinJcRJi5GxlBZBsSr3" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 111 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 210, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "1cqqQ14JJBV5FdJuFHtrh7" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 111 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "傍王", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "ce0yPzM9ZLypGVwK8h2QEc" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 103 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 790, + "height": 56 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "7bf4WQ+nhIp4lR2Lwgwbg8" + }, + { + "__type__": "cc.Node", + "_name": "Heading3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 116 + }, + { + "__id__": 117 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -325, + "y": -50, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "74PkiyOWhL+7suQBe3gMy3" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 115 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "76q/pDUGhJbLnwepATkEe6" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 115 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "傍王", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "7bY4VArY9Pi5HSIzyUOVu8" + }, + { + "__type__": "cc.Node", + "_name": "Options4", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 119 + }, + { + "__id__": 126 + } + ], + "_active": true, + "_components": [ + { + "__id__": 129 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -120, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "5c98yVwSNHUZJpkdIQGWyK" + }, + { + "__type__": "cc.Node", + "_name": "Option7", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 118 + }, + "_children": [ + { + "__id__": 120 + } + ], + "_active": true, + "_components": [ + { + "__id__": 123 + }, + { + "__id__": 124 + }, + { + "__id__": 125 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -200, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "dalG8shRBAM4m2mvImuaMN" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 119 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 121 + }, + { + "__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 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "d8ufNloV5OR6asQ/I+RY/A" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 120 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "dfE9wgOqpDCKQd505RwRkl" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 120 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "b2JEBt3vNHLqx+P6UrYk/Q" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 119 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "88TfkkgWFM76WxHpZ44Dpn" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 119 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "6frgYBbYRFfqa20x0P1l9I" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 119 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": false, + "_checkMark": { + "__id__": 122 + }, + "_id": "00vHo1nHtA5KxPlPQhh0Fe" + }, + { + "__type__": "cc.Node", + "_name": "OptionText7", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 118 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 127 + }, + { + "__id__": 128 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -65, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "13cdA1KUFHe7iT0XOgxq1K" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 126 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 210, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "13VmL25JRO9JzBJfQh6/pj" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 126 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "爬坡", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "80Xzht5JVCNIzIlX2rDnsS" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 118 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 790, + "height": 56 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "a3Oi8h/xBBzryjxL/EUZIG" + }, + { + "__type__": "cc.Node", + "_name": "Heading4", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 131 + }, + { + "__id__": 132 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -325, + "y": -120, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "1c1bKrw5VFlo4k4Nez6Cw3" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 130 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 150, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "89ygPeoXZOgZItbUEGwJ0U" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 130 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "爬坡", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "8fXJRooGJGYLyl0xVjIryZ" + }, + { + "__type__": "cc.Node", + "_name": "RoomCardCost", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 134 + }, + { + "__id__": 135 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -185, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "cf2FOSWr1BH5Ub9E9GBwaU" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 133 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 560, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "78QUVWvCBCPqnrImWzzbfk" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 133 + }, + "_enabled": true, + "__prefab": null, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 91, + "g": 58, + "b": 31, + "a": 255 + }, + "_string": "房主消耗 2 张房卡", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 26, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "ea6esqogVLFq+eN3VK1uw3" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ffax3k+xRIgb8m8X/edbJq" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": null, + "_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": 1600, + "_originalHeight": 720, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "6b344wnXFIJ5FwDnEayXgl" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ec2J3/QHxFpap2ICKO9dLI" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": null, + "_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": 1600, + "_originalHeight": 720, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "6bp7uISABLZ6KQvou7dE5I" + }, + { + "__type__": "ebbeffZe9pMYZsKHuVueBf7", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": null, + "groups": [ + { + "__id__": 141 + }, + { + "__id__": 175 + } + ], + "options": [ + { + "__id__": 154 + }, + { + "__id__": 168 + }, + { + "__id__": 188 + }, + { + "__id__": 202 + } + ], + "optionLabels": [ + { + "__id__": 209 + }, + { + "__id__": 215 + }, + { + "__id__": 221 + }, + { + "__id__": 227 + } + ], + "submitButton": { + "__id__": 17 + }, + "cancelButtons": [ + { + "__id__": 7 + }, + { + "__id__": 21 + } + ], + "_id": "8bVPiaFBxMdripNfEna2Ia" + }, + { + "__type__": "cc.ToggleContainer", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 142 + }, + "_enabled": true, + "__prefab": { + "__id__": 174 + }, + "_allowSwitchOff": true, + "checkEvents": [], + "_id": "69qXxGftBDi5brUdHfMirC" + }, + { + "__type__": "cc.Node", + "_name": "OptionGroup1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 143 + }, + { + "__id__": 157 + } + ], + "_active": false, + "_components": [ + { + "__id__": 171 + }, + { + "__id__": 141 + } + ], + "_prefab": { + "__id__": 173 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "b0OA7rdslO6oluGgWt24f1" + }, + { + "__type__": "cc.Node", + "_name": "Spirit20", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 142 + }, + "_children": [ + { + "__id__": 144 + } + ], + "_active": true, + "_components": [ + { + "__id__": 150 + }, + { + "__id__": 152 + }, + { + "__id__": 154 + } + ], + "_prefab": { + "__id__": 156 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -195, + "y": 40, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "53UrfctPxNoqVgXMUGicqr" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 143 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 145 + }, + { + "__id__": 147 + } + ], + "_prefab": { + "__id__": 149 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "2dEIbPUllFhLAq1g+VwmqX" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 144 + }, + "_enabled": true, + "__prefab": { + "__id__": 146 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "c2BpLb31ZOhbfEedId21DY" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "J9GlaQjh/I5vcqdY49mvxQ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 144 + }, + "_enabled": true, + "__prefab": { + "__id__": 148 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "4dQ+qzQw9MtI4ardau7Ox0" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3m/BXYHXdSNgXY6P0qc+RA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "DA5D1RJj0lYcmR19XAQAcA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 143 + }, + "_enabled": true, + "__prefab": { + "__id__": 151 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ddgr5Ho2NPEaujokagkJqE" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "n5WjM8JQkUZAS8qGzMznzg" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 143 + }, + "_enabled": true, + "__prefab": { + "__id__": 153 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "dakSCHI/9I5agPCN57jAZ1" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "czZlv+wFaA8cH0sgGj7TOg" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 143 + }, + "_enabled": true, + "__prefab": { + "__id__": 155 + }, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": true, + "_checkMark": { + "__id__": 147 + }, + "_id": "32dlMyKLdAWriqizJ/qJQo" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "iBf91VQXOy5NAWwPY1n12g" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "NJEjrA8pY4Y+tuddpGbPEg", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit21", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 142 + }, + "_children": [ + { + "__id__": 158 + } + ], + "_active": true, + "_components": [ + { + "__id__": 164 + }, + { + "__id__": 166 + }, + { + "__id__": 168 + } + ], + "_prefab": { + "__id__": 170 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 125, + "y": 40, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "a72hnLXyFGCLt7G+UV2+LB" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 157 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 159 + }, + { + "__id__": 161 + } + ], + "_prefab": { + "__id__": 163 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "f0FBadxZFFVZr5kFqfYG3+" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 158 + }, + "_enabled": true, + "__prefab": { + "__id__": 160 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "7as3sxxwlBd5kVNzy2Udve" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "g5Lh/mpLIw5NpphJc2T2PA" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 158 + }, + "_enabled": true, + "__prefab": { + "__id__": 162 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "0dB2t5lH5P9Lc8HF9BXgb8" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "S+8X41dawAp+mzB6Yq/AYA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "WncHBXJc2y7rEFXe72tS0A", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 157 + }, + "_enabled": true, + "__prefab": { + "__id__": 165 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ebtcq5D4pPJ7MpwJJsa1fM" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cqAZrQ6PBFp5NG6XL+fu7g" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 157 + }, + "_enabled": true, + "__prefab": { + "__id__": 167 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "f19HdllN5EuJpT1cI652EK" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "/vtPRi7TbfOfjaKRv5tq7g" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 157 + }, + "_enabled": true, + "__prefab": { + "__id__": 169 + }, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": false, + "_checkMark": { + "__id__": 161 + }, + "_id": "2aZ0flGPJJLa7IYWnDf6uY" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "U0lquDvl2u9Zp2PMGknmPA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "lN/8ZKm5vNGA+SNKQvf0Ow", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 142 + }, + "_enabled": true, + "__prefab": { + "__id__": 172 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1280, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "e6Ojgjz7VNj6zUEOt9v5rh" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "R89X4j1STaLo1p0XWcfUng" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "REOzSQ3xCzSEW6bhHGZY1A", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2sZuku6yagtgJNMc/ufmA" + }, + { + "__type__": "cc.ToggleContainer", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 176 + }, + "_enabled": true, + "__prefab": { + "__id__": 208 + }, + "_allowSwitchOff": true, + "checkEvents": [], + "_id": "779gVAwV1HTKOGHqA963QF" + }, + { + "__type__": "cc.Node", + "_name": "OptionGroup2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 177 + }, + { + "__id__": 191 + } + ], + "_active": false, + "_components": [ + { + "__id__": 205 + }, + { + "__id__": 175 + } + ], + "_prefab": { + "__id__": 207 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "0b3qvMa/FHFoA7hwdziN/D" + }, + { + "__type__": "cc.Node", + "_name": "Spirit139", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 176 + }, + "_children": [ + { + "__id__": 178 + } + ], + "_active": true, + "_components": [ + { + "__id__": 184 + }, + { + "__id__": 186 + }, + { + "__id__": 188 + } + ], + "_prefab": { + "__id__": 190 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -195, + "y": -40, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "4b9pZxqkxEI71Dw2Yqg+dc" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 177 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 179 + }, + { + "__id__": 181 + } + ], + "_prefab": { + "__id__": 183 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "d2+iqZA5FM7Zi/w5shkH88" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 178 + }, + "_enabled": true, + "__prefab": { + "__id__": 180 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "b8mbZupj1CMpZAqupsdaIk" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "csKppPHX6FSEboJM6+7LBQ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 178 + }, + "_enabled": true, + "__prefab": { + "__id__": 182 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "2eMcb0jwFKspJhXjT+/4/e" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "v5mwvEcEb0FmmtecW2no7A" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "D14GWcjwntjgbuJ6QHXusg", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 177 + }, + "_enabled": true, + "__prefab": { + "__id__": 185 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "59x03Lz3VA36bVsUnsyDGc" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "+7mDoSw3LlJbZCzJhAqT2Q" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 177 + }, + "_enabled": true, + "__prefab": { + "__id__": 187 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "c9Bjd46tBJjaufjfMOW4T7" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2ciPeNocqYSTPE8yVzpQoQ" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 177 + }, + "_enabled": true, + "__prefab": { + "__id__": 189 + }, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": true, + "_checkMark": { + "__id__": 181 + }, + "_id": "28LVYxV11L/b53raoEnMXt" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2e51QnAz72duG6qYopNcPA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "PdZu6saIDw2qjpY6rkoglA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit140", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 176 + }, + "_children": [ + { + "__id__": 192 + } + ], + "_active": true, + "_components": [ + { + "__id__": 198 + }, + { + "__id__": 200 + }, + { + "__id__": 202 + } + ], + "_prefab": { + "__id__": 204 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 125, + "y": -40, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "30iYIf5zdOx68+CuCOcs0l" + }, + { + "__type__": "cc.Node", + "_name": "check", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 191 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 193 + }, + { + "__id__": 195 + } + ], + "_prefab": { + "__id__": 197 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "fcIWeozkdFxKIHhOp2IRl7" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 192 + }, + "_enabled": true, + "__prefab": { + "__id__": 194 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ed7rjEWkVLSK1IysAZRvlP" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5/uTbJxilb2vy15P846jOg" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 192 + }, + "_enabled": true, + "__prefab": { + "__id__": 196 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "83e400a9-4b21-47e0-ab49-9ba2fe18ad54@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 1, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "4cq6VnNtZAd5NqveRjDmPS" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "oAZayZrxqK0pHSmk7iqTjA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "w6eKQsEh2DSQg/EcwcNqnA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 191 + }, + "_enabled": true, + "__prefab": { + "__id__": 199 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "946AV7sF9CUrvC9VK/abHQ" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "IxOvo72yyyXRL7LbztoFnQ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 191 + }, + "_enabled": true, + "__prefab": { + "__id__": 201 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "4b924bd2-6ccf-40d7-95b2-cfa58e897913@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": "65ZjV1kQBDFaow52Y0V1Jo" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "np5WcclvCEC3ueuD91gKJw" + }, + { + "__type__": "cc.Toggle", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 191 + }, + "_enabled": true, + "__prefab": { + "__id__": 203 + }, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "checkEvents": [], + "_isChecked": false, + "_checkMark": { + "__id__": 195 + }, + "_id": "e4i0ic+ntESouk7j7injjL" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "YKUDLat2//DqP5NhIRmBQg" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "nLSOAGGwtQNqE0u5wDyVvQ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 176 + }, + "_enabled": true, + "__prefab": { + "__id__": 206 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1280, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "83b7LV0N9NWZ+eCPsApxjy" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dlNK21IYnKN0KFdBXdqxAQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "lzaJR9iGfTT2EoCTm5thFw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9VZ/EVYmdgEzGccYKzntfA" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 210 + }, + "_enabled": true, + "__prefab": { + "__id__": 214 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "10局(房卡X1)", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 16, + "_fontSize": 28, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "86BM/jOd1E36tHYGjE8RRF" + }, + { + "__type__": "cc.Node", + "_name": "Spirit672", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 211 + }, + { + "__id__": 209 + } + ], + "_prefab": { + "__id__": 213 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -160, + "y": 40, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "08GFsNDS9MvYoAJFnjkZCy" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 210 + }, + "_enabled": true, + "__prefab": { + "__id__": 212 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 63.1484375, + "height": 20.16 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "6eaNtMYIFEOYf0ckabuqPi" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "GlNoz1uTaZYQRLqjoADXPA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "RDo+RAjXt7keVa42zQtTPw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "C0MMt55VC21VercwC6dKRg" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 216 + }, + "_enabled": true, + "__prefab": { + "__id__": 220 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "20局(房卡X2)", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 16, + "_fontSize": 28, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "2ceLXxiYhF06t5IdpwjR+C" + }, + { + "__type__": "cc.Node", + "_name": "Spirit673", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 217 + }, + { + "__id__": 215 + } + ], + "_prefab": { + "__id__": 219 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 160, + "y": 40, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "3bXLm5lxRDToU5hsIkvCqV" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 216 + }, + "_enabled": true, + "__prefab": { + "__id__": 218 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 63.1484375, + "height": 20.16 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "31FwwOSI1O8KRdXTz6yB+J" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "LObUtBtQ2APAmNNZhF4wEw" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "vP+rRv1RRXC89gmHFsDzgA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "inMCnuPrqZufjgC3s+Maxg" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 222 + }, + "_enabled": true, + "__prefab": { + "__id__": 226 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "房主扣卡", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 16, + "_fontSize": 28, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "33U7EjI+BODrEM5rUUdikZ" + }, + { + "__type__": "cc.Node", + "_name": "Spirit674", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 223 + }, + { + "__id__": 221 + } + ], + "_prefab": { + "__id__": 225 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -160, + "y": -40, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "125diNpnVDv6ind1zYUuWn" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 222 + }, + "_enabled": true, + "__prefab": { + "__id__": 224 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 63.1484375, + "height": 20.16 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "f2/kHcGUdIm41FaeRceE8S" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "BytqJ6NFh3PcszbqJQUQmw" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "NB3j6FGPwBOC070LucV4Tg", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "DZ1ipBPGs6Rm4AhLiAkCOg" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 228 + }, + "_enabled": true, + "__prefab": { + "__id__": 232 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "每人扣卡", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 16, + "_fontSize": 28, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "92VeGttVpFq7x3KfXWGXaP" + }, + { + "__type__": "cc.Node", + "_name": "Spirit675", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 229 + }, + { + "__id__": 227 + } + ], + "_prefab": { + "__id__": 231 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 160, + "y": -40, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "95+8pfmVdHiK/oh2kjqVij" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 228 + }, + "_enabled": true, + "__prefab": { + "__id__": 230 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 63.1484375, + "height": 20.16 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "bfFUgivxFEmIPFDR67jtHX" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "M3g4aE8q6imwfHEPQXgePA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "__expectedType__": "cc.Prefab" + }, + "fileId": "hckqSSAaTE4sr7r+4dV53Q", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0Ia9S5TCsaX7H9dqDkp8+Q" + }, + { + "__type__": "98702HrtbNLc7upOfPql8a5", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": null, + "groups": [ + { + "__id__": 47 + }, + { + "__id__": 73 + }, + { + "__id__": 99 + } + ], + "options": [ + { + "__id__": 32 + }, + { + "__id__": 42 + }, + { + "__id__": 58 + }, + { + "__id__": 68 + }, + { + "__id__": 84 + }, + { + "__id__": 94 + }, + { + "__id__": 110 + }, + { + "__id__": 125 + } + ], + "optionLabels": [ + { + "__id__": 35 + }, + { + "__id__": 45 + }, + { + "__id__": 61 + }, + { + "__id__": 71 + }, + { + "__id__": 87 + }, + { + "__id__": 97 + }, + { + "__id__": 113 + }, + { + "__id__": 128 + } + ], + "submitButton": { + "__id__": 17 + }, + "cancelButtons": [ + { + "__id__": 7 + }, + { + "__id__": 21 + } + ], + "feeLabel": { + "__id__": 135 + }, + "_id": "7947pGQjRC14IhkojrelqJ" + } +] diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoom.prefab.meta b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoom.prefab.meta new file mode 100644 index 0000000..9f03cda --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoom.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "c1608cf0-5b48-4714-8a06-9363c854ab71", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "ErqiwangCreateRoom" + } +} diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoomView.ts b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoomView.ts new file mode 100644 index 0000000..77b943a --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoomView.ts @@ -0,0 +1,40 @@ +import {_decorator,Button,Label,Toggle,ToggleContainer} from 'cc'; +import {CreateRoomPage} from '../../scripts/platform-login/CreateRoomPage.ts'; +import type {CreateRoomPageContext} from '../../framework/sdk/contracts/create-room-page.ts'; +import {ErqiwangRoomRules} from './erqiwang-room-rules.ts'; +const {ccclass,property}=_decorator; +@ccclass('ErqiwangCreateRoomView') +export class ErqiwangCreateRoomView extends CreateRoomPage { + @property([ToggleContainer]) groups:ToggleContainer[]=[]; + @property([Toggle]) options:Toggle[]=[]; + @property([Label]) optionLabels:Label[]=[]; + @property(Button) submitButton:Button|null=null; + @property([Button]) cancelButtons:Button[]=[]; + @property(Label) feeLabel:Label|null=null; + private readonly rules=new ErqiwangRoomRules(); + private context:CreateRoomPageContext|null=null; + private busy=false; + private releases:Array<()=>void>=[]; + open(context:CreateRoomPageContext):void{ + this.close(); + if(this.groups.length!==3||this.options.length!==8||this.optionLabels.length!==8||!this.feeLabel||!this.submitButton||this.cancelButtons.length!==2)throw Error('ErqiwangCreateRoomView requires serialized controls'); + this.rules.open(context.previousRoomtype);this.context=context; + // Permit all toggles to reset before restoring each mandatory group. + this.groups.forEach(group=>group.allowSwitchOff=true); + this.optionLabels.forEach((label,i)=>label.string=['6局','12局','房主扣卡','AA每人扣卡','可查牌','不查牌','傍王','爬坡'][i]); + this.options.forEach((toggle,i)=>{ + toggle.isChecked=i<6?this.rules.selection[Math.floor(i/2)]===i%2:this.rules.selection[i-3]===1; + const changed=()=>{if(this.busy||!this.context)return;if(i<6&&!toggle.isChecked)return;this.rules.select(i<6?Math.floor(i/2):i-3,i<6?i%2:Number(toggle.isChecked));this.renderFee();}; + toggle.node.on(Toggle.EventType.TOGGLE,changed);this.releases.push(()=>toggle.node.off(Toggle.EventType.TOGGLE,changed)); + }); + this.groups.forEach(group=>group.allowSwitchOff=false); + const bind=(button:Button,action:()=>void)=>{const fn=()=>{if(!this.busy&&this.context)try{action();}catch(error){context.reportError(error instanceof Error?error.message:String(error));}}; + button.node.on(Button.EventType.CLICK,fn);this.releases.push(()=>button.node.off(Button.EventType.CLICK,fn));}; + bind(this.submitButton,()=>context.submit(this.rules.build())); + this.cancelButtons.forEach(button=>{const cancel=()=>{if(this.context===context)context.cancel();};button.node.on(Button.EventType.CLICK,cancel);this.releases.push(()=>button.node.off(Button.EventType.CLICK,cancel));});this.setBusy(false);this.renderFee(); + } + private renderFee():void{if(this.feeLabel)this.feeLabel.string=`${this.rules.selection[1]===1?'每人':'房主'}消耗 ${this.rules.roomCards} 张房卡`; } + setBusy(busy:boolean):void{this.busy=busy;this.options.forEach(toggle=>toggle.interactable=!busy);if(this.submitButton)this.submitButton.interactable=!busy;} + close():void{for(const release of this.releases.splice(0))release();this.context=null;} + onDestroy():void{this.close();} +} diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoomView.ts.meta b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoomView.ts.meta new file mode 100644 index 0000000..6b6ef04 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangCreateRoomView.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "987021eb-b5b3-4b73-bba9-39f3ea97c6b9", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoom.prefab b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoom.prefab new file mode 100644 index 0000000..283d051 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoom.prefab @@ -0,0 +1,3213 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "ErqiwangRoom", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "ErqiwangRoom", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 96 + }, + { + "__id__": 102 + }, + { + "__id__": 108 + }, + { + "__id__": 114 + }, + { + "__id__": 122 + } + ], + "_active": true, + "_components": [ + { + "__id__": 130 + }, + { + "__id__": 132 + }, + { + "__id__": 134 + } + ], + "_prefab": { + "__id__": 136 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "69YMwMFQFDvqf2TlyrtDDs" + }, + { + "__type__": "cc.Node", + "_name": "group-21", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 3 + }, + { + "__id__": 11 + }, + { + "__id__": 19 + }, + { + "__id__": 27 + }, + { + "__id__": 35 + }, + { + "__id__": 43 + }, + { + "__id__": 51 + }, + { + "__id__": 59 + }, + { + "__id__": 67 + }, + { + "__id__": 75 + }, + { + "__id__": 83 + } + ], + "_active": true, + "_components": [ + { + "__id__": 91 + }, + { + "__id__": 93 + } + ], + "_prefab": { + "__id__": 95 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "5fuURzcehGZ6GghP+++fBn" + }, + { + "__type__": "cc.Node", + "_name": "Spirit149", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + }, + { + "__id__": 6 + }, + { + "__id__": 8 + } + ], + "_prefab": { + "__id__": 10 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "06Tp5yKrlJoZ5wt6CvwXqb" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 5 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "5acXOx5s5PmovsOKuNJ3B9" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "+/OS2Q/5UoIklTLGOJ/zIg" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "e1aa83b5-47de-4593-997d-debc3ceb2557@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": "15PrmKcLNO/Kz0CGc7o3YT" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "gbQfzNHcExfp5uZV/RIiYw" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_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": 1600, + "_originalHeight": 720, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "b7M11G2hhOlZnuLJJUQSH0" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dVFWlhsHlkDr9aUbmrpK9Q" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "S1+WR/nWxrU+TKt9e6badw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit284", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -420.5, + "y": 325, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "cffAfcIrxDM58ln4+Uu8uK" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 247, + "height": 62 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "2fjYfhq5VAa4UD8Nvb4cAJ" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "oSsbqOK1MzMKZOpalrCVmA" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "64bfd3fc-4394-4c36-a9c2-aa7d3f50c5c7@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": "9afKtWVSRF559J0xIJ9qzc" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "sb5h5noP7NZhcXdOIeZsLQ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 11 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -420.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "57Qfkw8qlOfK4BWFiBbLsB" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0Fk6gA9/VAIgPsmnXFhbkw" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "Gco1xZrPCkQ1cuSuVdRNWw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit156", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 20 + }, + { + "__id__": 22 + }, + { + "__id__": 24 + } + ], + "_prefab": { + "__id__": 26 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -397, + "y": 325, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "b89rDhkwtI8aNb47scSHW2" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 4, + "height": 18 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "7ee4GzcI9PQYsALEp5WrzU" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "U0m8CXIsoMsiPtxy8h/M0A" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d193c00-a7ee-4d75-956c-8dd6f6300b56@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": "d17QQ4XjNJGKzrBaZseX9C" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "wwovzjTTxkmq/E6QdBXaxg" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 19 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -397, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "f7GYNGk6lHIqWjrxXl0MOY" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "MnX2shseBow3CAeD6Rfeug" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "admM8nqjcjUOGv1RkCdtNg", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit154", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 28 + }, + { + "__id__": 30 + }, + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 34 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -420, + "y": 325, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "935o9iYrFD6JJQNIh2KCxt" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 30, + "height": 20 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "bbV3wvDwhNNI/zHyNXStev" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bV0lE9c61pv4s7B2zBGRkg" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "55fc2d29-a269-4025-b25a-afe69d92d238@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": "35E7oEwg5Cl6aBpY4iOCaS" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "13kxlhvAoyXgn0+iQoJa+g" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 27 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -420, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "1fIH9SNnVIib2AR7TBw3je" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "+XP8ISANORargmYAqB2+GQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "T/e4p03YqdohRS7CyoSCnw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit155", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 36 + }, + { + "__id__": 38 + }, + { + "__id__": 40 + } + ], + "_prefab": { + "__id__": 42 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -374, + "y": 325, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "33zitfGlNA4JpcAH5t6cvY" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 37 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 30, + "height": 20 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d22dGvDW1JZJe0EJ6d78SZ" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1Wj7Z8sK+q0ybMftqC/hkw" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 39 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "55fc2d29-a269-4025-b25a-afe69d92d238@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": "02KjgDyO1MtYi6v9gQWAC2" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "FCrFK8ho4U6JYb9VIv23gw" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 41 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -374, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "f18h8naktJoqlJE/IzI3mB" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "vuURkFalHDZgNecJvx6Kfg" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cBG/Bu457UUI+9ULAn/jgA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit336", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 44 + }, + { + "__id__": 46 + }, + { + "__id__": 48 + } + ], + "_prefab": { + "__id__": 50 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -510.5, + "y": 325, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "f77jtoStNFLrDpDahD7GCa" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 45 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 29, + "height": 22 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "7bTwI+PctKQJ/rvtj4u/6u" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "MVSydp6WW3pGoEAv/jdEZg" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 47 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "1ef090dc-6a2b-4a1d-b99a-8f84f04e0aa6@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": "a0RtFpYUpIXLhujD7nwkkS" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "KzthoIrgIgkMK30qBfohUg" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 43 + }, + "_enabled": true, + "__prefab": { + "__id__": 49 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -510.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "b8N5tBQ7dIqJpgpmMOrIOL" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "JckeQ+kQcm1i1SyyCMTy3Q" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "LxlmMgNnM/QEVEsLTWG9CA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit337", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 52 + }, + { + "__id__": 54 + }, + { + "__id__": 56 + } + ], + "_prefab": { + "__id__": 58 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -463.5, + "y": 324.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "df+Mldi/lIKKrp89h5F5B9" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 53 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 49, + "height": 19 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "55ipflgUpHL64aUV8m5Wb1" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eJyT4PqjR3EbMUlo1x4Glg" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 55 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7e671255-a374-47e4-9264-fde41226b020@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": "4agfgSW1JDXqJoZMuBne8s" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "mGH0Dhz7Q22Ktsra/D7sdw" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 57 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -463.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "f0yvOZqdFHXb0TrrhsQVRM" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "QVvC3+gj+32RilZh7Ng0cw" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ABSkg199TlMA4rjluQtDww", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit338", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 60 + }, + { + "__id__": 62 + }, + { + "__id__": 64 + } + ], + "_prefab": { + "__id__": 66 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -463.5, + "y": 324.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "c6e5GxaU9K+YFWixUpJdkq" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 61 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 49, + "height": 19 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "89zX3Fzf9NDrixvINkpLEK" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "nDT2OyC8Xpqp0vWZ3bu5zQ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 63 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7e671255-a374-47e4-9264-fde41226b020@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": "34hHD2qkhJLrcEn8yrhOeX" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Wn4YtOQll/jKF9AncBJJYQ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 59 + }, + "_enabled": true, + "__prefab": { + "__id__": 65 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -463.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "c6ZpFhB0FM7K3yOeAQPkd3" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bnXEnF+un7isafBgleKJ4A" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "vn9+QABegRBwXQr/kCfBlg", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit3141", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 68 + }, + { + "__id__": 70 + }, + { + "__id__": 72 + } + ], + "_prefab": { + "__id__": 74 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -411, + "y": 324.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "55NSk3+TtKv65duKxn971O" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 69 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 102, + "height": 21 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "2dgmCq5shDUIo2eoObyQYp" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "yUds9wr8D+O2b7CKsleKjA" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 71 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "7d88dcff-d1ce-4a0a-b24f-2f861d94b613@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": "b5fGFUD3pAeLpT6EQMczCT" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5MsjYhHL7FteBj5qke17vg" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 67 + }, + "_enabled": true, + "__prefab": { + "__id__": 73 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -411, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "a6EJfOvEJBdZz4OQSTpF/e" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2YeC26lDBBPE6REux647VQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "Fuhd2vJNnyPkcaejkcPRlA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit3142", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 76 + }, + { + "__id__": 78 + }, + { + "__id__": 80 + } + ], + "_prefab": { + "__id__": 82 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -494.5, + "y": 324.5, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "1e6S8MHeJOYo1bqoHjoB3C" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 77 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 59, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "0bWdjNt0xP6JsR26f6aUyf" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "/HY/M9fzFW6lReD/VfQQwA" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 79 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "13a32880-9854-4d79-b292-6cf00516d88c@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": "f6OOkA31ZNkodYxbgZVZsP" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "rLqYVgmgoDMh2Doc72tV2g" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 75 + }, + "_enabled": true, + "__prefab": { + "__id__": 81 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -494.5, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "6bbQyySrlHrK/R44BIrhkF" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "NY99JMBpZHMGikhYvu5yEw" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3g78c8kJkzL2fcHpniotMg", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Spirit291", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 84 + }, + { + "__id__": 86 + }, + { + "__id__": 88 + } + ], + "_prefab": { + "__id__": 90 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -393, + "y": 418, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "021/ZdfFpJRaLXAAiFOs1/" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 85 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 63.1484375, + "height": 20.16 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "d2A6mM9hRGxqt9YspV+xkq" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "RQJOPB59fbHZnehrAtWZmQ" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 87 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_string": "Spirit291", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 16, + "_fontSize": 16, + "_fontFamily": "Arial", + "_lineHeight": 16, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "46IzPrQgRDNqKiMkNrARKx" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "lGRKzMXVoFFNnMdBuggXrg" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 89 + }, + "_alignFlags": 16, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": -393, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "d7WWfBRwFHSJE+IL2JURXi" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "JAT5Jb7MTXhkPl3sFjbCSg" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "A18tvmMgq6q8naHLDnt7rw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 92 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "ca/4U/c+ZBPLaRZ6RJtY96" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "PfkOe8y/X4vIsuat1pGx/g" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 94 + }, + "_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": 1600, + "_originalHeight": 720, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "039j+TOBpJSrlil5tifZAU" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "uPENW91nI2nKWmCBPiHlkQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "uC/MZwX5BdwMBtuzLPazlA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "RoomCode", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 97 + }, + { + "__id__": 99 + } + ], + "_prefab": { + "__id__": 101 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 275, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "1a8b/KWSRMpZbrIiPI19t1" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 96 + }, + "_enabled": true, + "__prefab": { + "__id__": 98 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1000, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "cbjzNpkvVADbTbhIoRZa0r" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "r9x9J3mL+CVOwhTiCaYmfg" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 96 + }, + "_enabled": true, + "__prefab": { + "__id__": 100 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "房间号", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 36, + "_fontFamily": "Arial", + "_lineHeight": 46, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "f430E0/uFF9LhYDizDnBcB" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "tBe/Bn3ixYiKlKPv/pDghw" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1RkDYUJPJJr1TnKroONltw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Players", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 103 + }, + { + "__id__": 105 + } + ], + "_prefab": { + "__id__": 107 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 10, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "14+V7bN7lGl7hMbiBPL/BP" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 102 + }, + "_enabled": true, + "__prefab": { + "__id__": 104 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1000, + "height": 440 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "287wYjuvtGhYqxEInn2/10" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "XyWBBCPQbcVslNemw17r0Q" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 102 + }, + "_enabled": true, + "__prefab": { + "__id__": 106 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "等待玩家加入", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 28, + "_fontFamily": "Arial", + "_lineHeight": 38, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "54hAwHzHFOPbFzmNDPi8Sm" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Z4yVp4FXEkjdPNeAzc2xxA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "rVuBgMFG0Q9Qm28uzilqyA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "TemplateTitle", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 109 + }, + { + "__id__": 111 + } + ], + "_prefab": { + "__id__": 113 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 325, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "17O7ah869OprguY8duvZCs" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 108 + }, + "_enabled": true, + "__prefab": { + "__id__": 110 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1000, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "cfJj3cF+tPiL9xFdON6ZPZ" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "JLkek99QSP8qQ1M17+6plQ" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 108 + }, + "_enabled": true, + "__prefab": { + "__id__": 112 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "友乐 · 房间", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 24, + "_fontFamily": "Arial", + "_lineHeight": 34, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "04IhJATyxKdLddCCNG4DLr" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "uYZlHY8MzAvlet8FBL6t8g" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "74Kl2zT/VHw5WBzmX1hycQ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Prepare", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 115 + }, + { + "__id__": 117 + }, + { + "__id__": 119 + } + ], + "_prefab": { + "__id__": 121 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -160, + "y": -285, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "94NPIywmNNtZc+b7DBj49v" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 114 + }, + "_enabled": true, + "__prefab": { + "__id__": 116 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 230, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "90P1oIlpxB/Iwd3CsYOLeY" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bY9UYIxt3EhPJ1APYyOHQQ" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 114 + }, + "_enabled": true, + "__prefab": { + "__id__": 118 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "准备", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 32, + "_fontFamily": "Arial", + "_lineHeight": 42, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "38L/NCFHdNkZ+jMs7x/npl" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1ejIkIFqkv9siBskETj0tA" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 114 + }, + "_enabled": true, + "__prefab": { + "__id__": 120 + }, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "a1dAlGn4xC1KrlrJAnCLPd" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "iA6xXljY+JP2RIwsXQjcrQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "CqH/MExKSIHiVxxGJORp0g", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Exit", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 123 + }, + { + "__id__": 125 + }, + { + "__id__": 127 + } + ], + "_prefab": { + "__id__": 129 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 160, + "y": -285, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "25Aw4xmV9Dzr4xg7IMSkvD" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 122 + }, + "_enabled": true, + "__prefab": { + "__id__": 124 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 230, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "6122Lk8JZG66FL8znx0HPp" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "sPsk+U69zaZW7CB/GWgecg" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 122 + }, + "_enabled": true, + "__prefab": { + "__id__": 126 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "退出房间", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 0, + "_fontSize": 32, + "_fontFamily": "Arial", + "_lineHeight": 42, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "fcST5VgbJIvL3v4Pm7IZe6" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fcmyviUOwGgGicB0501SjA" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 122 + }, + "_enabled": true, + "__prefab": { + "__id__": 128 + }, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "d95LanHm5MrrlVjyOdBiZO" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fe9DN7eJrx5YwwutpIrOXg" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "Psop/BIz+vuFXzq/hVeO/g", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 131 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1600, + "height": 720 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "16dhyQb3JAvalZLCnc2Gdl" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "tP6YI1fkRzHF/q0WgcUqrA" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 133 + }, + "_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": 1600, + "_originalHeight": 720, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "a7Jws3EOBEW7J35Dqz0Rem" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "Rr2YAkAh4IcIqJHpFoRypg" + }, + { + "__type__": "aeb4bz2hktNIb/OGbafXFJs", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 135 + }, + "roomLabel": { + "__id__": 99 + }, + "playersLabel": { + "__id__": 105 + }, + "prepareButton": { + "__id__": 119 + }, + "exitButton": { + "__id__": 127 + }, + "_id": "e64rp8hu5LI5LLUjEud6Qw" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "PYELr83gfb8MDqgyC2SBvA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ekOJZ8eJJnq2aqdQF+QM8A", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + } +] \ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoom.prefab.meta b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoom.prefab.meta new file mode 100644 index 0000000..efdc564 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoom.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "28fcf5a7-d779-4400-9c71-300cf492bcc7", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "ErqiwangRoom" + } +} diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoomView.ts b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoomView.ts new file mode 100644 index 0000000..40353f5 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoomView.ts @@ -0,0 +1,14 @@ +import {_decorator} from 'cc'; +import {TemplateRoomView} from '../template/TemplateRoomView.ts'; +import type {TemplateRoomActions} from '../template/template-game.ts'; +import type {PlatformGameSnapshot} from '../../framework/sdk/contracts/index.ts'; +const {ccclass}=_decorator; +/** Temporary room receipt surface for the create-room integration stage. */ +@ccclass('ErqiwangRoomView') +export class ErqiwangRoomView extends TemplateRoomView { + render(snapshot:PlatformGameSnapshot,actions:TemplateRoomActions):void{ + super.render(snapshot,actions); + if(this.roomLabel)this.roomLabel.string='二七王 房间号:'+snapshot.room.roomcode+'\n玩法尚未接入'; + if(this.prepareButton)this.prepareButton.node.active=false; + } +} diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoomView.ts.meta b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoomView.ts.meta new file mode 100644 index 0000000..deeba23 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/ErqiwangRoomView.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "aeb4bcf6-864b-4d21-bfce-19b69f5c526c", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-game.ts b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-game.ts new file mode 100644 index 0000000..dab50c6 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-game.ts @@ -0,0 +1,29 @@ +import type {GameEntry,GameHost,GameModule,PlatformGameSnapshot} from '../../framework/sdk/contracts/index.ts'; +import {ErqiwangRoomRules} from './erqiwang-room-rules.ts'; +export interface ErqiwangRoomActions {prepare():void;exit():void;} +export interface ErqiwangRoomPresentation {render(snapshot:PlatformGameSnapshot,actions:ErqiwangRoomActions):void;close():void;} +/** Creation-stage room handoff. Gameplay and deskinfo rendering are not migrated yet. */ +export function createErqiwangGame(gameId:string|number){ + let active:ErqiwangModule|null=null; + class ErqiwangModule implements GameModule { + private host:GameHost|null=null; + private unsubscribe:(()=>void)|null=null; + private view:ErqiwangRoomPresentation|null=null; + restored:unknown=null; + attach(host:GameHost):void{ + if(this.host||active)throw Error('Erqiwang module already attached'); + this.host=host;active=this;this.unsubscribe=host.subscribe(()=>this.render()); + } + mount(view:ErqiwangRoomPresentation):void{this.view?.close();this.view=view;this.render();} + private requireHost():GameHost{if(!this.host)throw Error('Erqiwang room session disposed');return this.host;} + private render():void{this.view?.render(this.requireHost().getSnapshot(),{prepare:()=>this.requireHost().execute({type:'room.prepare'}),exit:()=>this.requireHost().execute({type:'room.exit'})});} + handlePlatformEvent():void{this.render();} + handleGameMessage():void{throw Error('二七王玩法消息处理尚未接入');} + restore(deskinfo:unknown):void{this.requireHost();this.restored=deskinfo;} + dispose():void{this.unsubscribe?.();this.unsubscribe=null;this.view?.close();this.view=null;this.host=null;this.restored=null;if(active===this)active=null;} + } + const rules=new ErqiwangRoomRules(); + const entry:GameEntry={key:'erqiwang',gameId,route:'erqiwang',resolveSeatCount:roomtype=>rules.seatCount(roomtype),createModule:()=>new ErqiwangModule()}; + return {entry,mount(view:ErqiwangRoomPresentation){if(!active)throw Error('Erqiwang room not attached');active.mount(view);}, + get restoredSnapshot():unknown{return active?.restored;}}; +} diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-game.ts.meta b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-game.ts.meta new file mode 100644 index 0000000..8cf0c33 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-game.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "9ed79bcf-75f3-44b9-b171-b0f465b7b2fc", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-room-rules.ts b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-room-rules.ts new file mode 100644 index 0000000..8ee5960 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-room-rules.ts @@ -0,0 +1,26 @@ +import type {Roomtype} from '../../framework/sdk/contracts/roomtype.ts'; +/** UI order differs from server class.config.js: aset, deduct, bangwang, climb, nocheck. */ +const WIRE_INDEX = [0,1,4,2,3] as const; +export class ErqiwangRoomRules { + private selected=[0,0,0,0,0]; + get selection():readonly number[]{return [...this.selected];} + get roomCards():number{return (this.selected[0]===1?2:1)*(this.selected[1]===1?1:2);} + open(previous:unknown):void{ + if(previous===null){this.selected=[0,0,0,0,0];return;} + this.validate(previous); + this.selected=WIRE_INDEX.map(index=>Number((previous as string)[index])); + } + select(group:number,value:number):void{ + if(!Number.isInteger(group)||group<0||group>=5||(value!==0&&value!==1))throw Error('Invalid erqiwang option'); + this.selected[group]=value; + } + build():string{ + const bits=Array(11).fill('0'); + WIRE_INDEX.forEach((wire,group)=>bits[wire]=String(this.selected[group])); + return bits.join(''); + } + seatCount(roomtype:Roomtype):number{this.validate(roomtype);return 3;} + private validate(value:unknown):void{ + if(typeof value!=='string'||!/^[01]{5}0{6}$/.test(value))throw Error('二七王房间配置必须为 11 位字符串,后 6 位为 0'); + } +} diff --git a/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-room-rules.ts.meta b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-room-rules.ts.meta new file mode 100644 index 0000000..297f598 --- /dev/null +++ b/cocoscreator_projects/YouleNexus/assets/games/erqiwang/erqiwang-room-rules.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.24", + "importer": "typescript", + "imported": true, + "uuid": "574b385e-9068-4418-8a63-110ad96d0915", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/cocoscreator_projects/YouleNexus/assets/games/template/template-room-rules.ts b/cocoscreator_projects/YouleNexus/assets/games/template/template-room-rules.ts index e6e19ca..83a12dc 100644 --- a/cocoscreator_projects/YouleNexus/assets/games/template/template-room-rules.ts +++ b/cocoscreator_projects/YouleNexus/assets/games/template/template-room-rules.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from '../../framework/sdk/contracts/roomtype.ts'; /** Source: 01_SubGame_modify.js. Options are presentation state, not a rule-array encoder. */ export class TemplateRoomRules { readonly labels=['10局(房卡X1)','20局(房卡X2)','房主扣卡','每人扣卡'] as const; @@ -13,7 +14,7 @@ export class TemplateRoomRules { this.selected[group]=index; } build():unknown[]{return [1,4,1,2,2,[1,1,[1,2000,10],null,null,1],[1,0,5]];} - seatCount(roomtype:readonly unknown[]):number{ + seatCount(roomtype: Roomtype):number{ if(!Array.isArray(roomtype))throw Error('Template roomtype must be an array'); // Desk.Create uses Game_Config.Max.PlayerCnt because the template defines no getMaxPlayerCount hook. return 10; diff --git a/cocoscreator_projects/YouleNexus/assets/scenes/Login.scene b/cocoscreator_projects/YouleNexus/assets/scenes/Login.scene deleted file mode 100644 index 2d743ca..0000000 --- a/cocoscreator_projects/YouleNexus/assets/scenes/Login.scene +++ /dev/null @@ -1,661 +0,0 @@ -[ - { - "__type__": "cc.SceneAsset", - "_name": "Login", - "_objFlags": 0, - "__editorExtras__": {}, - "_native": "", - "scene": { - "__id__": 1 - } - }, - { - "__type__": "cc.Scene", - "_name": "Login", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": null, - "_children": [ - { - "__id__": 2 - }, - { - "__id__": 4 - } - ], - "_active": true, - "_components": [], - "_prefab": { - "__id__": 19 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "autoReleaseAssets": false, - "_globals": { - "__id__": 20 - }, - "_id": "9490c809-bcb7-4a9e-af1f-acd680227bc4" - }, - { - "__type__": "cc.Node", - "_name": "Camera", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 3 - } - ], - "_prefab": null, - "_lpos": { - "__type__": "cc.Vec3", - "x": 800, - "y": 360, - "z": 1000 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "a68KuGzBVD2IGLPd5z3pYi" - }, - { - "__type__": "cc.Camera", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 2 - }, - "_enabled": true, - "__prefab": null, - "_projection": 0, - "_priority": 0, - "_fov": 45, - "_fovAxis": 0, - "_orthoHeight": 360, - "_near": 1, - "_far": 2000, - "_color": { - "__type__": "cc.Color", - "r": 51, - "g": 51, - "b": 51, - "a": 255 - }, - "_depth": 1, - "_stencil": 0, - "_clearFlags": 7, - "_rect": { - "__type__": "cc.Rect", - "x": 0, - "y": 0, - "width": 1, - "height": 1 - }, - "_aperture": 19, - "_shutter": 7, - "_iso": 0, - "_screenScale": 1, - "_visibility": 1117782015, - "_targetTexture": null, - "_postProcess": null, - "_usePostProcess": false, - "_cameraType": -1, - "_trackingType": 0, - "_id": "95vXCLVwZAnpgZ7/Uwwsji" - }, - { - "__type__": "cc.Node", - "_name": "Canvas", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 5 - }, - { - "__id__": 13 - } - ], - "_active": true, - "_components": [ - { - "__id__": 16 - }, - { - "__id__": 17 - }, - { - "__id__": 18 - } - ], - "_prefab": null, - "_lpos": { - "__type__": "cc.Vec3", - "x": 800, - "y": 360, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "70gbryz/VPqpu+opfSJoWa" - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 4 - }, - "_prefab": { - "__id__": 6 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 5 - }, - "asset": { - "__uuid__": "b209cefb-b381-4c7c-b765-94a5ab75a89c", - "__expectedType__": "cc.Prefab" - }, - "fileId": "33yDavvzhB6IAjia4PLDbg", - "instance": { - "__id__": 7 - }, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "ebnOxopupO4ap7jFhZuQbk", - "prefabRootNode": null, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 8 - }, - { - "__id__": 10 - }, - { - "__id__": 11 - }, - { - "__id__": 12 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 9 - }, - "propertyPath": [ - "_name" - ], - "value": "Login_Layer" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "33yDavvzhB6IAjia4PLDbg" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 9 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 9 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 9 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "cc.Node", - "_name": "LoginFlow_Node", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 4 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 14 - }, - { - "__id__": 15 - } - ], - "_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 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "fcp86q55FCsoAB/fOiWeHO" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 13 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "50hCb+fYBIgL72OODgBoQD" - }, - { - "__type__": "bad5buGaitIB7iC7Qf+eoiB", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 13 - }, - "_enabled": true, - "__prefab": null, - "_id": "85RWmRT71EzIOWG6Qsha/3" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 4 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 1600, - "height": 720 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "c6QNB3wx9GYYzOAodcozbv" - }, - { - "__type__": "cc.Canvas", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 4 - }, - "_enabled": true, - "__prefab": null, - "_cameraComponent": null, - "_alignCanvasWithScreen": true, - "_id": "48VGgW1kRITZOItV2ROj/Y" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 4 - }, - "_enabled": true, - "__prefab": null, - "_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": 1600, - "_originalHeight": 720, - "_alignMode": 1, - "_lockFlags": 0, - "_id": "d9PQijkfZPf7WjO0Xufvgu" - }, - { - "__type__": "cc.PrefabInfo", - "root": null, - "asset": null, - "fileId": "9490c809-bcb7-4a9e-af1f-acd680227bc4", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": [ - { - "__id__": 5 - } - ] - }, - { - "__type__": "cc.SceneGlobals", - "ambient": { - "__id__": 21 - }, - "shadows": { - "__id__": 22 - }, - "_skybox": { - "__id__": 23 - }, - "fog": { - "__id__": 24 - }, - "octree": { - "__id__": 25 - }, - "skin": { - "__id__": 26 - }, - "lightProbeInfo": { - "__id__": 27 - }, - "postSettings": { - "__id__": 28 - }, - "bakedWithStationaryMainLight": false, - "bakedWithHighpLightmap": false - }, - { - "__type__": "cc.AmbientInfo", - "_skyColorHDR": { - "__type__": "cc.Vec4", - "x": 0.2, - "y": 0.5, - "z": 0.8, - "w": 0.520833125 - }, - "_skyColor": { - "__type__": "cc.Vec4", - "x": 0.2, - "y": 0.5, - "z": 0.8, - "w": 0.520833125 - }, - "_skyIllumHDR": 20000, - "_skyIllum": 20000, - "_groundAlbedoHDR": { - "__type__": "cc.Vec4", - "x": 0.2, - "y": 0.2, - "z": 0.2, - "w": 1 - }, - "_groundAlbedo": { - "__type__": "cc.Vec4", - "x": 0.2, - "y": 0.2, - "z": 0.2, - "w": 1 - }, - "_skyColorLDR": { - "__type__": "cc.Vec4", - "x": 0.2, - "y": 0.5, - "z": 0.8, - "w": 1 - }, - "_skyIllumLDR": 20000, - "_groundAlbedoLDR": { - "__type__": "cc.Vec4", - "x": 0.2, - "y": 0.2, - "z": 0.2, - "w": 1 - } - }, - { - "__type__": "cc.ShadowsInfo", - "_enabled": false, - "_type": 0, - "_normal": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1, - "z": 0 - }, - "_distance": 0, - "_planeBias": 1, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 76 - }, - "_maxReceived": 4, - "_size": { - "__type__": "cc.Vec2", - "x": 1024, - "y": 1024 - } - }, - { - "__type__": "cc.SkyboxInfo", - "_envLightingType": 0, - "_envmapHDR": null, - "_envmap": null, - "_envmapLDR": null, - "_diffuseMapHDR": null, - "_diffuseMapLDR": null, - "_enabled": false, - "_useHDR": true, - "_editableMaterial": null, - "_reflectionHDR": null, - "_reflectionLDR": null, - "_rotationAngle": 0 - }, - { - "__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, - "_accurate": false - }, - { - "__type__": "cc.OctreeInfo", - "_enabled": false, - "_minPos": { - "__type__": "cc.Vec3", - "x": -1024, - "y": -1024, - "z": -1024 - }, - "_maxPos": { - "__type__": "cc.Vec3", - "x": 1024, - "y": 1024, - "z": 1024 - }, - "_depth": 8 - }, - { - "__type__": "cc.SkinInfo", - "_enabled": true, - "_blurRadius": 0.01, - "_sssIntensity": 3 - }, - { - "__type__": "cc.LightProbeInfo", - "_giScale": 1, - "_giSamples": 1024, - "_bounces": 2, - "_reduceRinging": 0, - "_showProbe": true, - "_showWireframe": true, - "_showConvex": false, - "_data": null, - "_lightProbeSphereVolume": 1 - }, - { - "__type__": "cc.PostSettingsInfo", - "_toneMappingType": 0 - } -] \ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/assets/scenes/Login.scene.meta b/cocoscreator_projects/YouleNexus/assets/scenes/Login.scene.meta deleted file mode 100644 index abff6a2..0000000 --- a/cocoscreator_projects/YouleNexus/assets/scenes/Login.scene.meta +++ /dev/null @@ -1,11 +0,0 @@ -{ - "ver": "1.1.50", - "importer": "scene", - "imported": true, - "uuid": "9490c809-bcb7-4a9e-af1f-acd680227bc4", - "files": [ - ".json" - ], - "subMetas": {}, - "userData": {} -} diff --git a/cocoscreator_projects/YouleNexus/assets/scenes/PlatformStartup.scene b/cocoscreator_projects/YouleNexus/assets/scenes/PlatformStartup.scene index 013a53c..6abd733 100644 --- a/cocoscreator_projects/YouleNexus/assets/scenes/PlatformStartup.scene +++ b/cocoscreator_projects/YouleNexus/assets/scenes/PlatformStartup.scene @@ -395,12 +395,13 @@ }, "_enabled": true, "__prefab": null, + "gameKey": "erqiwang", "createRoom": { - "__uuid__": "584dbb85-4acc-4bea-9d9b-e0cbeb8741da", + "__uuid__": "c1608cf0-5b48-4714-8a06-9363c854ab71", "__expectedType__": "cc.Prefab" }, "room": { - "__uuid__": "f4582832-23e2-4981-be26-08dfe832aa96", + "__uuid__": "28fcf5a7-d779-4400-9c71-300cf492bcc7", "__expectedType__": "cc.Prefab" }, "roomScene": { diff --git a/cocoscreator_projects/YouleNexus/assets/scenes/scene-2d.scene b/cocoscreator_projects/YouleNexus/assets/scenes/scene-2d.scene deleted file mode 100644 index 0479cfb..0000000 --- a/cocoscreator_projects/YouleNexus/assets/scenes/scene-2d.scene +++ /dev/null @@ -1,449 +0,0 @@ -[ - { - "__type__": "cc.SceneAsset", - "_name": "scene-2d", - "_objFlags": 0, - "__editorExtras__": {}, - "_native": "", - "scene": { - "__id__": 1 - } - }, - { - "__type__": "cc.Scene", - "_name": "scene-2d", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": null, - "_children": [ - { - "__id__": 2 - } - ], - "_active": true, - "_components": [], - "_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 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "autoReleaseAssets": false, - "_globals": { - "__id__": 8 - }, - "_id": "aa6aad6d-aef0-4b69-95a0-18ffda41f4c7" - }, - { - "__type__": "cc.Node", - "_name": "Canvas", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 3 - } - ], - "_active": true, - "_components": [ - { - "__id__": 5 - }, - { - "__id__": 6 - }, - { - "__id__": 7 - } - ], - "_prefab": null, - "_lpos": { - "__type__": "cc.Vec3", - "x": 800, - "y": 360.00000000000006, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "beI88Z2HpFELqR4T5EMHpg" - }, - { - "__type__": "cc.Node", - "_name": "Camera", - "_objFlags": 0, - "__editorExtras__": {}, - "_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 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "ebFwiq8gBFaYpqYbdoDODe" - }, - { - "__type__": "cc.Camera", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 3 - }, - "_enabled": true, - "__prefab": null, - "_projection": 0, - "_priority": 0, - "_fov": 45, - "_fovAxis": 0, - "_orthoHeight": 360, - "_near": 0, - "_far": 2000, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_depth": 1, - "_stencil": 0, - "_clearFlags": 7, - "_rect": { - "__type__": "cc.Rect", - "x": 0, - "y": 0, - "width": 1, - "height": 1 - }, - "_aperture": 19, - "_shutter": 7, - "_iso": 0, - "_screenScale": 1, - "_visibility": 1108344832, - "_targetTexture": null, - "_postProcess": null, - "_usePostProcess": false, - "_cameraType": -1, - "_trackingType": 0, - "_id": "63WIch3o5BEYRlXzTT0oWc" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 2 - }, - "_enabled": true, - "__prefab": null, - "_contentSize": { - "__type__": "cc.Size", - "width": 1600, - "height": 720 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "d6rUX5yfhMlKoWX2bSbawx" - }, - { - "__type__": "cc.Canvas", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 2 - }, - "_enabled": true, - "__prefab": null, - "_cameraComponent": { - "__id__": 4 - }, - "_alignCanvasWithScreen": true, - "_id": "12O/ljcVlEqLmVm3U2gEOQ" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 2 - }, - "_enabled": true, - "__prefab": null, - "_alignFlags": 45, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 5.684341886080802e-14, - "_bottom": 5.684341886080802e-14, - "_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": "c5V1EV8IpMtrIvY1OE9t2u" - }, - { - "__type__": "cc.SceneGlobals", - "ambient": { - "__id__": 9 - }, - "shadows": { - "__id__": 10 - }, - "_skybox": { - "__id__": 11 - }, - "fog": { - "__id__": 12 - }, - "octree": { - "__id__": 13 - }, - "skin": { - "__id__": 14 - }, - "lightProbeInfo": { - "__id__": 15 - }, - "postSettings": { - "__id__": 16 - }, - "bakedWithStationaryMainLight": false, - "bakedWithHighpLightmap": false - }, - { - "__type__": "cc.AmbientInfo", - "_skyColorHDR": { - "__type__": "cc.Vec4", - "x": 0, - "y": 0, - "z": 0, - "w": 0.520833125 - }, - "_skyColor": { - "__type__": "cc.Vec4", - "x": 0, - "y": 0, - "z": 0, - "w": 0.520833125 - }, - "_skyIllumHDR": 20000, - "_skyIllum": 20000, - "_groundAlbedoHDR": { - "__type__": "cc.Vec4", - "x": 0, - "y": 0, - "z": 0, - "w": 0 - }, - "_groundAlbedo": { - "__type__": "cc.Vec4", - "x": 0, - "y": 0, - "z": 0, - "w": 0 - }, - "_skyColorLDR": { - "__type__": "cc.Vec4", - "x": 0.2, - "y": 0.5, - "z": 0.8, - "w": 1 - }, - "_skyIllumLDR": 20000, - "_groundAlbedoLDR": { - "__type__": "cc.Vec4", - "x": 0.2, - "y": 0.2, - "z": 0.2, - "w": 1 - } - }, - { - "__type__": "cc.ShadowsInfo", - "_enabled": false, - "_type": 0, - "_normal": { - "__type__": "cc.Vec3", - "x": 0, - "y": 1, - "z": 0 - }, - "_distance": 0, - "_planeBias": 1, - "_shadowColor": { - "__type__": "cc.Color", - "r": 76, - "g": 76, - "b": 76, - "a": 255 - }, - "_maxReceived": 4, - "_size": { - "__type__": "cc.Vec2", - "x": 512, - "y": 512 - } - }, - { - "__type__": "cc.SkyboxInfo", - "_envLightingType": 0, - "_envmapHDR": null, - "_envmap": null, - "_envmapLDR": null, - "_diffuseMapHDR": null, - "_diffuseMapLDR": null, - "_enabled": false, - "_useHDR": true, - "_editableMaterial": null, - "_reflectionHDR": null, - "_reflectionLDR": null, - "_rotationAngle": 0 - }, - { - "__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, - "_accurate": false - }, - { - "__type__": "cc.OctreeInfo", - "_enabled": false, - "_minPos": { - "__type__": "cc.Vec3", - "x": -1024, - "y": -1024, - "z": -1024 - }, - "_maxPos": { - "__type__": "cc.Vec3", - "x": 1024, - "y": 1024, - "z": 1024 - }, - "_depth": 8 - }, - { - "__type__": "cc.SkinInfo", - "_enabled": false, - "_blurRadius": 0.01, - "_sssIntensity": 3 - }, - { - "__type__": "cc.LightProbeInfo", - "_giScale": 1, - "_giSamples": 1024, - "_bounces": 2, - "_reduceRinging": 0, - "_showProbe": true, - "_showWireframe": true, - "_showConvex": false, - "_data": null, - "_lightProbeSphereVolume": 1 - }, - { - "__type__": "cc.PostSettingsInfo", - "_toneMappingType": 0 - } -] \ No newline at end of file diff --git a/cocoscreator_projects/YouleNexus/assets/scenes/scene-2d.scene.meta b/cocoscreator_projects/YouleNexus/assets/scenes/scene-2d.scene.meta deleted file mode 100644 index 15aa42c..0000000 --- a/cocoscreator_projects/YouleNexus/assets/scenes/scene-2d.scene.meta +++ /dev/null @@ -1,11 +0,0 @@ -{ - "ver": "1.1.50", - "importer": "scene", - "imported": true, - "uuid": "aa6aad6d-aef0-4b69-95a0-18ffda41f4c7", - "files": [ - ".json" - ], - "subMetas": {}, - "userData": {} -} diff --git a/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/PlatformStartup.ts b/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/PlatformStartup.ts index a92558a..21d9a67 100644 --- a/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/PlatformStartup.ts +++ b/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/PlatformStartup.ts @@ -1,3 +1,5 @@ +import {createErqiwangGame} from '../../games/erqiwang/erqiwang-game.ts'; +import {ErqiwangRoomView} from '../../games/erqiwang/ErqiwangRoomView.ts'; import { _decorator, assetManager, Component, Director, Label, Node, Prefab, ProgressBar, SceneAsset, UITransform, Widget, director, instantiate, isValid } from 'cc'; import { resolveRuntimeConfig, type RuntimeConfig } from '../../framework/config/runtime-config.ts'; @@ -150,7 +152,9 @@ export class PlatformStartup extends Component { /** 退出只重建账号会话;配置、原生桥和已加载资源由常驻组件保留。 */ private async startSession(firstStart:boolean):Promise{ const identity=required(this.config,'config').identity; - this.game=createTemplateGame(identity.gameid); + const gameKey=required(this.getComponent(SubgameAssets),'SubgameAssets').gameKey; + if(gameKey!=='erqiwang'&&gameKey!=='Game_Surface_3')throw Error('Unsupported subgame: '+gameKey); + this.game=gameKey==='erqiwang'?createErqiwangGame(identity.gameid):createTemplateGame(identity.gameid); this.runtime=new PlatformRuntime({gameEntry:this.game.entry, roomHistory:new OwnedRoomHistory(window.localStorage,identity.gameid,identity.agentid), resolveRuntimeConfig:async()=>required(this.config,'config'), @@ -359,7 +363,7 @@ export class PlatformStartup extends Component { await this.flow.enter(required(assets.roomScene,'subgame room scene').name,()=>{ if(required(this.runtime,'runtime').state.room.kind!=='inside')return; const root=instantiate(required(assets.room,'subgame room prefab'));root.parent=this.canvas();root.setPosition(0,0,0); - const view=required(root.getComponent(TemplateRoomView),'TemplateRoomView'); + const view=assets.gameKey==='erqiwang'?required(root.getComponent(ErqiwangRoomView),'ErqiwangRoomView'):required(root.getComponent(TemplateRoomView),'TemplateRoomView'); root.on('room-action-error',(error:unknown)=>this.tip(error instanceof Error?error.message:String(error))); root.on('room-action-timeout',()=>this.tip('房间操作超时,请重试')); this.createStatus();required(this.game,'template game').mount(view);this.events.push({kind:'scene',data:'Room'}); diff --git a/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/SubgameAssets.ts b/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/SubgameAssets.ts index 38f1ab8..7f897d0 100644 --- a/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/SubgameAssets.ts +++ b/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/SubgameAssets.ts @@ -3,6 +3,7 @@ const {ccclass,property}=_decorator; /** App composition root: each game assigns its own pre-room page, room view and scene. */ @ccclass('SubgameAssets') export class SubgameAssets extends Component { + @property gameKey:string='Game_Surface_3'; @property(Prefab) createRoom:Prefab|null=null; @property(Prefab) room:Prefab|null=null; @property(SceneAsset) roomScene:SceneAsset|null=null; diff --git a/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/VipRoomListView.ts b/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/VipRoomListView.ts index 1c1f57a..be00363 100644 --- a/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/VipRoomListView.ts +++ b/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/VipRoomListView.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from '../../framework/sdk/contracts/roomtype.ts'; import {_decorator,Button,Component,instantiate,Label,Node,Prefab,ScrollView,Sprite,SpriteFrame,UITransform} from 'cc'; import type {VipCode,VipRoom} from '../../framework/core/types/vip-room.ts'; import {sameVipCode} from '../../framework/core/types/vip-room.ts'; @@ -15,8 +16,8 @@ export class VipRoomListView extends Component { @property([SpriteFrame]) deskFrames:SpriteFrame[]=[]; private rooms:readonly VipRoom[]=[]; private selected:VipCode|null=null; - private describe:(roomtype:readonly unknown[])=>string=()=>{throw Error('VIP room description provider is not configured');}; - configure(describe:(roomtype:readonly unknown[])=>string):void {this.describe=describe;this.showRooms();} + private describe:(roomtype: Roomtype)=>string=()=>{throw Error('VIP room description provider is not configured');}; + configure(describe:(roomtype: Roomtype)=>string):void {this.describe=describe;this.showRooms();} get selectedCode():VipCode|null {return this.selected;} render(rooms:readonly VipRoom[],codes:readonly VipCode[]):void { this.rooms=orderedVipRooms(rooms,codes); diff --git a/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/lobby-panel.ts b/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/lobby-panel.ts index 2d58a70..df576e1 100644 --- a/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/lobby-panel.ts +++ b/cocoscreator_projects/YouleNexus/assets/scripts/platform-login/lobby-panel.ts @@ -1,3 +1,4 @@ +import type {Roomtype} from '../../framework/sdk/contracts/roomtype.ts'; import { assetManager, BlockInputEvents, Button, EditBox, ImageAsset, Label, Mask, Node, Prefab, ScrollView, Sprite, SpriteFrame, Texture2D, UITransform, Widget, instantiate, isValid } from 'cc'; import type { RuntimeConfig } from '../../framework/config/runtime-config.ts'; import { selectLobbyModel, shouldShowNotice, type LobbyModel, type LobbyPolicy } from '../../framework/presentation/lobby-model.ts'; @@ -67,10 +68,10 @@ export class LobbyPanel { private readonly onAction:(action:LobbyAction)=>void, private readonly claimTask:(taskid:number|string)=>void, private readonly nativeCall:(name:string,data:Record)=>void, - private readonly vip?:{request:(codes:readonly VipCode[])=>void;join:(code:VipCode)=>void;describe:(roomtype:readonly unknown[])=>string}, + private readonly vip?:{request:(codes:readonly VipCode[])=>void;join:(code:VipCode)=>void;describe:(roomtype: Roomtype)=>string}, private readonly invite?:{query:()=>void;bind:(code:string)=>void;paste:()=>Promise}, private readonly extras?:{rank:()=>void;redeem:(cardno:string)=>void;paste:()=>Promise;vipRank?:(limit:number)=>void;joinOwned?:(code:number)=>void;loading?:(show:boolean)=>void; - room?:{createPrefab:Prefab;join(code:number):void;create(roomtype:readonly unknown[]):void;busy():boolean;close():void}}){ + room?:{createPrefab:Prefab;join(code:number):void;create(roomtype: Roomtype):void;busy():boolean;close():void}}){ this.requestLoading=new RequestLoading(show=>need(this.extras?.loading,'request Loading UI')(show)); this.model=selectLobbyModel(state); if(assets.switches.length!==2)throw Error('LobbyAssets requires 2 switch frames'); @@ -479,7 +480,7 @@ export class LobbyPanel { const text=window.localStorage.getItem('tsgame_roomtype_'+this.config.identity.gameid+this.config.identity.agentid); let previous:unknown=null; if(text!==null&&text!==''){ - const saved=JSON.parse(text);if(!saved||!Array.isArray(saved.data))throw Error('Invalid saved roomtype');previous=saved.data; + const saved=JSON.parse(text);if(!saved||!(typeof saved.data==='string'||Array.isArray(saved.data)))throw Error('Invalid saved roomtype');previous=saved.data; } const current=()=>this.modal===modal&&this.roomPage===page&&this.model.canAct; page.open({previousRoomtype:previous,submit:roomtype=>{if(current())commands.create(roomtype);},cancel:()=>{if(this.modal===modal)this.close();},reportError:text=>{if(current())this.tip(text);}}); diff --git a/cocoscreator_projects/YouleNexus/settings/v2/packages/project.json b/cocoscreator_projects/YouleNexus/settings/v2/packages/project.json index 183de70..26b80c2 100644 --- a/cocoscreator_projects/YouleNexus/settings/v2/packages/project.json +++ b/cocoscreator_projects/YouleNexus/settings/v2/packages/project.json @@ -7,5 +7,8 @@ "fitWidth": true, "fitHeight": true } + }, + "script": { + "loose": false } } diff --git a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs index f4aa22c..e31862c 100644 --- a/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs +++ b/cocoscreator_projects/framework-tests/legacy-layer-migration/poc-login.test.mjs @@ -3,7 +3,7 @@ import assert from 'node:assert/strict'; import { readFileSync } from 'node:fs'; import { join } from 'node:path'; import { readLayerXml, emitPrefabJson } from '../../scripts/legacy-layer-to-cocos-prefab.mjs'; -import { ROOT, HOST_PROJECT } from '../../scripts/lib/paths.mjs'; +import { ROOT } from '../../scripts/lib/paths.mjs'; // PoC 阶段 3 端到端: Layer00002.xml Login_Layer (18 spirits, group 2, 包含 Spirit405 渠道logo + // Spirit177 游客登录 anchor-test cases). 验证生成 prefab 与 fixtures/Login_Layer.prefab 在 @@ -19,7 +19,7 @@ import { ROOT, HOST_PROJECT } from '../../scripts/lib/paths.mjs'; // ImgResID 427 的依赖. 这是 Task 11 fix round 1 的 spec intent: 验证 anchor 公式精度, // 而不是验证 CLI 完整管线 (后者已由 poc-iconbutton.test.mjs / poc-protocol.test.mjs 覆盖). const FIXTURE_XML = join(ROOT, 'framework-tests', 'legacy-layer-migration', 'fixtures', 'Layer00002.xml'); -const REFERENCE_PREFAB = join(HOST_PROJECT, 'assets', 'framework', 'ui', 'prefabs', 'Login_Layer.prefab'); +const REFERENCE_PREFAB = join(ROOT, 'framework-tests', 'legacy-layer-migration', 'fixtures', 'Login_Layer.prefab'); function buildFilteredLayer() { const layer = readLayerXml(FIXTURE_XML); @@ -98,4 +98,4 @@ test('PoC 阶段 3 - 游客登录 _lpos 误差 < 0.001 (bypass CLI)', () => { assert.ok(Math.abs(genVisitor._lpos.x - expVisitor._lpos.x) < 0.001, `x mismatch: gen=${genVisitor._lpos.x} exp=${expVisitor._lpos.x}`); assert.ok(Math.abs(genVisitor._lpos.y - expVisitor._lpos.y) < 0.001, `y mismatch: gen=${genVisitor._lpos.y} exp=${expVisitor._lpos.y}`); -}); \ No newline at end of file +}); diff --git a/cocoscreator_projects/framework-tests/platform/platform-store.test.ts b/cocoscreator_projects/framework-tests/platform/platform-store.test.ts index c8874ae..7be0612 100644 --- a/cocoscreator_projects/framework-tests/platform/platform-store.test.ts +++ b/cocoscreator_projects/framework-tests/platform/platform-store.test.ts @@ -824,6 +824,7 @@ test('canonical roomtype preserves sparse length, holes, and negative zero', () assert.equal(state.room.kind, 'inside'); if (state.room.kind !== 'inside') return; + assert.ok(Array.isArray(state.room.roomtype)); assert.equal(state.room.roomtype.length, 5); assert.equal(0 in state.room.roomtype, false); assert.equal(1 in state.room.roomtype, true); diff --git a/cocoscreator_projects/framework-tests/platform/runtime-session.test.ts b/cocoscreator_projects/framework-tests/platform/runtime-session.test.ts index ec859d8..d83fcdc 100644 --- a/cocoscreator_projects/framework-tests/platform/runtime-session.test.ts +++ b/cocoscreator_projects/framework-tests/platform/runtime-session.test.ts @@ -604,7 +604,7 @@ for (const mutate of [ setup.session.handleLogin(fixture('player-login-success.json')); const before = setup.store.getState(); const data = {state: 0, roomcode: '123456', seat: 0, roomtype: [1, {count: 4}]}; - setup.gameSession.entry.resolveSeatCount = roomtype => { mutate(roomtype); return 4; }; + setup.gameSession.entry.resolveSeatCount = roomtype => { assert.ok(Array.isArray(roomtype)); mutate(roomtype); return 4; }; assert.throws(() => setup.session.handleCreateRoom(data), TypeError); assert.deepEqual(data.roomtype, [1, {count: 4}]); assert.equal(Object.isFrozen(data.roomtype), false); diff --git a/cocoscreator_projects/framework-tests/platform/runtime.test.ts b/cocoscreator_projects/framework-tests/platform/runtime.test.ts index 249eef4..a1b98e2 100644 --- a/cocoscreator_projects/framework-tests/platform/runtime.test.ts +++ b/cocoscreator_projects/framework-tests/platform/runtime.test.ts @@ -1,3 +1,4 @@ +import {createErqiwangGame} from '../../YouleNexus/assets/games/erqiwang/erqiwang-game.ts'; import { STARTUP_CONFIG as EDITABLE_STARTUP_CONFIG } from '../../YouleNexus/assets/framework/config/profiles.ts'; // 固定测试来源,允许开发者独立切换项目的 local/remote 开关。 const STARTUP_CONFIG = Object.freeze({...EDITABLE_STARTUP_CONFIG, configSource:'remote' as const}); @@ -736,7 +737,7 @@ test('a denied join retains the lobby root, reports the raw outcome and permits }); test('runtime resolves seats only from the actual game-owned server roomtype at room entry', async () => { - const roomtypes: Array = []; + const roomtypes: Array = []; const attached: GameHost[] = []; const setup = makeRuntime(runtimeConfig(), makeGameEntry({ resolveSeatCount(roomtype) { @@ -795,7 +796,7 @@ for(const loginRoute of ['agent','room','platform'])test(`${loginRoute} login de const before = runtime.state; runtime.login(ACCOUNT); const denial = { state: -1, msg: '短信验证码不正确', time: 0 }; - assert.equal(wire.sent.at(-1)?.route,'agent','outbound login remains agent'); + assert.equal(wire.sent[wire.sent.length - 1]?.route,'agent','outbound login remains agent'); wire.emit({ type: 'message', message: { route: loginRoute, rpc: 'player_login', data: denial } }); assert.equal(runtime.state, before); @@ -1651,7 +1652,7 @@ test('kick_offline bypasses pending login and stops late navigation', async () = await runtime.start();wire.emit({type:'open',server:'ws://agent'});runtime.login(ACCOUNT); const data={fromOther:true,gameid:'another-game'}; wire.emit({type:'message',message:{route:'agent',rpc:'kick_offline',data}}); - assert.equal(scene.calls.at(-1)?.name,'kicked');assert.equal(scene.calls.at(-1)?.value,data); + assert.equal(scene.calls[scene.calls.length - 1]?.name,'kicked');assert.equal(scene.calls[scene.calls.length - 1]?.value,data); assert.equal(wire.stopCalls,1); const count=scene.calls.length;wire.emit({type:'open',server:'ws://agent'}); assert.equal(scene.calls.length,count); @@ -1663,7 +1664,7 @@ test('show_message preserves text and legacy numeric timeout without navigating' const before=runtime.state; for(const time of ['3000','0','-1']){ wire.emit({type:'message',message:{route:'agent',rpc:'show_message',data:{msg:'服务器提示#第二行',time}}}); - assert.deepEqual(scene.calls.at(-1),{name:'tips',value:{message:'服务器提示#第二行',time:Number(time)}}); + assert.deepEqual(scene.calls[scene.calls.length - 1],{name:'tips',value:{message:'服务器提示#第二行',time:Number(time)}}); assert.equal(runtime.state,before); } runtime.stop(); @@ -2394,3 +2395,18 @@ test('create wire outcome enters only on success and a repeated success leaves t if(runtime.state.room.kind==='inside')assert.equal(runtime.state.room.seatPlayerIds.length,10); runtime.stop();assert.equal(disposals,1); }); + +test('erqiwang creation preserves wire string, three seats and room host exit',async()=>{ + const config=runtimeConfig(),game=createErqiwangGame(config.identity.gameid); + const {runtime,wire,scene}=makeRuntime(config,game.entry);await runtime.start(); + wire.emit({type:'open',server:'ws://agent'});runtime.login(ACCOUNT); + wire.emit({type:'message',message:{route:'agent',rpc:'player_login',data:fixture('player-login-success.json')}}); + const roomtype='11011000000';runtime.createRoom({roomtype,location:null,ip:'127.0.0.1'}); + assert.equal((wire.sent[wire.sent.length - 1]?.data as {roomtype:unknown}).roomtype,roomtype); + wire.emit({type:'message',message:{route:'agent',rpc:'create_room',data:{state:0,roomcode:'123456',seat:0,roomtype,needprepare:1}}}); + assert.equal(runtime.state.room.kind,'inside'); + if(runtime.state.room.kind==='inside'){assert.equal(runtime.state.room.roomtype,roomtype);assert.equal(runtime.state.room.seatPlayerIds.length,3);} + assert.equal(scene.calls.filter(x=>x.name==='room').length,1); + let rendered=false;game.mount({render(snapshot,actions){assert.equal(snapshot.room.roomtype,roomtype);rendered=true;actions.exit();},close(){}}); + assert.ok(rendered);assert.equal(wire.sent[wire.sent.length - 1]?.rpc,'self_exit_room');runtime.stop(); +}); diff --git a/cocoscreator_projects/framework-tests/presentation/erqiwang-room-entry.test.ts b/cocoscreator_projects/framework-tests/presentation/erqiwang-room-entry.test.ts new file mode 100644 index 0000000..2ba3b07 --- /dev/null +++ b/cocoscreator_projects/framework-tests/presentation/erqiwang-room-entry.test.ts @@ -0,0 +1,36 @@ +import {test} from 'node:test'; +import assert from 'node:assert/strict'; +import {cloneAndFreezeRoomtype} from '../../YouleNexus/assets/framework/platform/stores/platform-store.ts'; +import {parseCreateRoomResponse,parseRoomEntryFields} from '../../YouleNexus/assets/framework/protocol/contracts/room-contracts.ts'; +import {ErqiwangRoomRules} from '../../YouleNexus/assets/games/erqiwang/erqiwang-room-rules.ts'; +import {createRequire} from 'node:module'; +const require=createRequire(import.meta.url); +const server=require('../../../server/games/erqiwang/class.config.js'); + +test('all 32 UI combinations match actual server config, round-trip and fees',()=>{ + for(let mask=0;mask<32;mask++){ + const r=new ErqiwangRoomRules();r.open(null); + for(let group=0;group<5;group++)r.select(group,(mask>>group)&1); + const code=r.build();assert.match(code,/^[01]{5}0{6}$/); + const cfg=server.parse(code); + assert.deepEqual([cfg.aset12,cfg.deductAA,cfg.nocheck,cfg.bangwang,cfg.climb],r.selection.map(Boolean)); + const copy=new ErqiwangRoomRules();copy.open(code);assert.deepEqual(copy.selection,r.selection); + assert.equal(r.roomCards,(cfg.aset12?2:1)*(cfg.deductAA?1:2)); + assert.equal(r.seatCount(code),3); + } +}); +test('required groups have defaults and malformed saved configuration is rejected',()=>{ + const r=new ErqiwangRoomRules();r.open(null);assert.equal(r.build(),'00000000000'); + for(const invalid of ['00000','00000000001','2'.repeat(11),[],{},123])assert.throws(()=>r.open(invalid)); + assert.throws(()=>r.select(5,0));assert.throws(()=>r.select(0,2)); +}); + +test('platform preserves erqiwang string through canonical state and entry responses',()=>{ + const code='10100000000'; + assert.equal(cloneAndFreezeRoomtype(code as never),code); + assert.equal(parseCreateRoomResponse({state:0,roomcode:'123456',seat:0,roomtype:code}).room?.roomtype,code); + assert.equal(parseRoomEntryFields({roomcode:'123456',seat:0,roomtype:code,players:[{},null,null]}).roomtype,code); + const array=[1,[2]];const copied=cloneAndFreezeRoomtype(array); + assert.deepEqual(copied,array);assert.notEqual(copied,array); + assert.ok(Object.isFrozen(copied)); +}); diff --git a/cocoscreator_projects/framework-tests/presentation/template-game.test.ts b/cocoscreator_projects/framework-tests/presentation/template-game.test.ts index 03dc296..ac3e90c 100644 --- a/cocoscreator_projects/framework-tests/presentation/template-game.test.ts +++ b/cocoscreator_projects/framework-tests/presentation/template-game.test.ts @@ -11,5 +11,5 @@ test('template module attaches only when opened and releases its view and subscr let actions:any;game.mount({render:(s,a)=>{views.push(s);actions=a;},close:()=>views.push('closed')}); actions.exit();actions.prepare();assert.deepEqual(commands,[{type:'room.exit'},{type:'room.prepare'}]); const deskinfo={nested:[1,2]};module.restore(deskinfo);assert.equal(game.restoredSnapshot,deskinfo); - module.dispose();assert.equal(unsubscribed,1);assert.equal(views.at(-1),'closed');assert.throws(()=>actions.exit()); + module.dispose();assert.equal(unsubscribed,1);assert.equal(views[views.length - 1],'closed');assert.throws(()=>actions.exit()); }); diff --git a/cocoscreator_projects/games/erqiwang/docs/create-room-integration.md b/cocoscreator_projects/games/erqiwang/docs/create-room-integration.md new file mode 100644 index 0000000..4ae2805 --- /dev/null +++ b/cocoscreator_projects/games/erqiwang/docs/create-room-integration.md @@ -0,0 +1,39 @@ +# 二七王创建房间接入 + +核对日期:2026-09-07。本篇记录创建房间阶段的实际实现,不代表二七王牌桌玩法已迁移完成。 + +## 资源与入口 + +工程为 `cocoscreator_projects/YouleNexus`。`PlatformStartup.scene` 的 `PlatformServices / SubgameAssets` 已配置: + +- `gameKey = erqiwang`。 +- `createRoom`:`assets/games/erqiwang/ErqiwangCreateRoom.prefab`。 +- `room`:`assets/games/erqiwang/ErqiwangRoom.prefab`。 +- `roomScene`:沿用 `assets/scenes/TemplateRoom.scene` 的通用场景容器。 + +联调 gameid 按用户确认沿用默认 `J9r4022t80pxlb01zOK76DN1WD4QewFl`,身份仍由运行配置提供,不在创建页重复定义。 + +## 页面与规则 + +`ErqiwangCreateRoomView` 继承平台 `CreateRoomPage`,只通过上下文提交、取消和报告错误。平台统一处理登录身份、IP、定位、请求信封、等待、超时和回包。 + +Inspector 绑定三组 `ToggleContainer`,`allowSwitchOff=false`;八个 Toggle 依次为 6 局、12 局、房主扣卡、AA 每人扣卡、可查牌、不查牌、傍王、爬坡。最后两个 Toggle 没有 ToggleContainer,可以独立勾选或取消。费用由局数与扣卡方式联动计算。 + +规则模型 `erqiwang-room-rules.ts` 是前端选项与编码转换的唯一来源。界面顺序为局数、扣卡、查牌、傍王、爬坡;实际服务器编码顺序仍为局数、扣卡、傍王、爬坡、查牌。尾部六位填零,总长度十一位。默认 `00000000000`。协议依据见 [服务端协议 §0.5](../../../../server/games/erqiwang/docs/protocol/packet_protocol.md#05-roomtype-房间选项位串),不能按界面顺序直接发包。 + +模型拒绝错误长度、非二进制选项、非零预留位以及数组型历史配置;历史来自平台成功回包保存的 `tsgame_roomtype_ + gameid + agentid`,格式仍为 JSON `{data: roomtype}`。没有历史时使用规则来源定义的默认选择,不静默修补非法历史。 + +## 平台契约与房间交接 + +公共 SDK 的 `Roomtype = string | readonly unknown[]` 用于创建页面、请求、成功响应、状态、GameEntry、GameHost 快照及事件。字符串保持原值,数组仍复制并冻结;平台不解释二七王位含义。VIP 房间配置同样保留字符串。 + +创建成功后,`createErqiwangGame` 校验配置并提供三个服务器座位,平台维护权威状态,临时房间页显示房号、玩家以及“玩法尚未接入”。退出使用本房间 GameHost。准备按钮暂不展示,避免进入尚未迁移的牌桌流程。玩法消息处理未实现,收到会显式报错;deskinfo 仅保留原值,尚无玩法恢复表现。 + +## 验证与限制 + +- `framework-tests/presentation/erqiwang-room-entry.test.ts`:穷举 32 种选项组合,对照实际服务端 `class.config.js` 验证编码、恢复、费用和人数。 +- `framework-tests/platform/runtime.test.ts`:模拟登录、创建出站包、成功回包、三座位状态、房间显示与退出命令。 +- 相关回归测试 157 项通过;Cocos 工程与框架 TypeScript 检查、导入边界检查通过。 +- Game View 实际坐标点击验证 11 项:必选互斥、费用、独立开关、精确编码、busy、防重复、关闭清理及历史恢复。新 prefab 共 52 处 UUID 引用有效。 + +本次未修改服务器代码,未在真实服务器创建房间。本地模拟通过不等于实际服务端创建成功;后续联调从大厅“创建房间”入口进行,并检查出站 roomtype 类型与值。