2022-12-04 22:10:30 +08:00

27 lines
446 B
TypeScript

import { IPlayer, IRoom } from "./Model"
import { IClientInput, IState } from "./State"
export interface IMsgPlayerList {
list: Array<IPlayer>
}
export interface IMsgRoomList {
list: Array<IRoom>
}
export interface IMsgRoom {
room: IRoom
}
export interface IMsgGameStart {
state: IState
}
export interface IMsgGameStart {
state: IState
}
export type IMsgClientSync = IClientInput
export type IMsgServerSync = Array<IClientInput>