| 12345678910111213141516171819202122232425262728293031 |
- import { UIViewID } from '@scripts/define/UIDefine';
- import type {
- HallCallClientMessage,
- HallMessage,
- HallPayFinishMessage,
- } from '../services/hall/HallClient';
- export interface AppEventMap {
- 'launch:completed': undefined,
- 'network:changed': boolean;
- 'login:success': undefined,
- 'game:entered': undefined;
- 'game:exited': { gameId: string; reason: string };
- 'app:pause': undefined;
- 'app:resume': undefined;
- 'hall:connected': undefined;
- 'hall:disconnected': { code?: number };
- 'hall:timeout': undefined;
- 'hall:kicked': HallMessage;
- 'hall:pay-finished': HallPayFinishMessage;
- 'hall:call-client': HallCallClientMessage;
- 'user:update': undefined,
- 'firstPack:update': undefined,
- 'club:update': undefined,
- 'wallet:update': undefined,
- 'open:ui-view': UIViewID,
- 'close:ui-view': UIViewID,
- 'mail:update': undefined,
- 'checkIn:update': undefined,
- 'seasonPass:update': undefined,
- }
|