16 lines
472 B
TypeScript
16 lines
472 B
TypeScript
export class PlayerStateConst {
|
|
// 玩家正常状态
|
|
public static readonly PLAYER_NORMAL = 0;
|
|
// 玩家已准备好
|
|
public static readonly PLAYER_READY = 1;
|
|
// 玩家死亡
|
|
public static readonly PLAYER_DEAD = 2;
|
|
// 玩家掉线
|
|
public static readonly PLAYER_OFFLINE = 9;
|
|
// 玩家开局已换完牌
|
|
public static readonly PLAYER_CHANGE_CARD = 3;
|
|
// 玩家已选择英雄
|
|
public static readonly PLAYER_SELECT_HERO = 4;
|
|
|
|
}
|