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.
14 lines
829 B
TypeScript
14 lines
829 B
TypeScript
import {gameConfig} from './game-config.ts';
|
|
import {createTemplateGame} from './template-game.ts';
|
|
import {roomChatConfig} from './room-chat-config.ts';
|
|
import type {GameDefinition} from '../../framework/sdk/contracts/game-definition.ts';
|
|
export const GAME_DEFINITIONS = {
|
|
Game_Surface_3:{
|
|
config:gameConfig,key:'Game_Surface_3',route:'Game_Surface_3',
|
|
createGame:function(this:GameDefinition,gameId:string|number){return createTemplateGame(gameId,this);},
|
|
chat:roomChatConfig,roomMenu:{mainSceneButton:false,vipInfinite:false},
|
|
createPageClass:'TemplateCreateRoomView',roomViewClass:'TemplateRoomView',
|
|
resources:{createRoom:'games/template/Layer27_CreateRoom.prefab',room:'games/template/TemplateRoom.prefab',roomScene:'scenes/TemplateRoom.scene'},
|
|
},
|
|
} as const satisfies Readonly<Record<string,GameDefinition>>;
|