20 lines
316 B
TypeScript
20 lines
316 B
TypeScript
enum PlayerType {
|
|
READY,
|
|
SIT_DOWN,
|
|
GAMING,
|
|
}
|
|
|
|
export interface IPlayer {
|
|
counter: number;
|
|
nickName: string;
|
|
actionSize: number;
|
|
actionCommand: string;
|
|
type: string;
|
|
userId?: number;
|
|
handCard?: string[];
|
|
buyIn: number;
|
|
status: number;
|
|
income?: number;
|
|
isSit: boolean;
|
|
}
|