Complete room UI and protocol integration, move game definitions and resources behind bundle entries, publish authoritative version XML, and document single-game builds. Include all current resource changes and experiment artifacts.
16 lines
926 B
TypeScript
16 lines
926 B
TypeScript
import {_decorator} from 'cc';
|
|
import {CommonRoomViewBase} from '../../scripts/platform-login/CommonRoomViewBase.ts';
|
|
import type {RoomPresentationActions} from '../../framework/sdk/contracts/game-definition.ts';
|
|
import type {PlatformGameSnapshot} from '../../framework/sdk/contracts/index.ts';
|
|
import type {GameRoomProjection} from '../../framework/sdk/contracts/game-room-projection.ts';
|
|
const {ccclass}=_decorator;
|
|
/** Temporary room receipt surface for the create-room integration stage. */
|
|
@ccclass('ErqiwangRoomView')
|
|
export class ErqiwangRoomView extends CommonRoomViewBase {
|
|
render(snapshot:PlatformGameSnapshot,actions:RoomPresentationActions,projection:GameRoomProjection|null=null):void{
|
|
super.render(snapshot,actions,projection);
|
|
if(this.roomLabel)this.roomLabel.string='二七王 房间号:'+snapshot.room.roomcode+'\n玩法尚未接入';
|
|
if(this.prepareButton)this.prepareButton.node.active=false;
|
|
}
|
|
}
|