27 lines
446 B
TypeScript
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> |