refactor: 数据端用户结构

This commit is contained in:
AncTe committed 2026-10-16 17:29:51 +08:00
1 parent 0a133058ca
commit a0e402728e
41 files changed
+901 -100

No files matched your search

+5 -1
View File
@@ -1,6 +1,7 @@
import { WebLoadStarter } from '@motajs/loader';
import { createClientCore } from './client/entry';
import { IClientCore } from '@user/client-modules';
import { LoadSceneUI } from '../packages-user/client-modules/src/ui/load';
declare global {
interface Window {
@@ -8,5 +9,8 @@ declare global {
}
}
const client = await createClientCore(new WebLoadStarter());
const client = createClientCore(new WebLoadStarter());
// 游戏副作用启动
window.mainClient = client;
client.sceneController.open(LoadSceneUI, {});