59 lines
1.2 KiB
TypeScript
59 lines
1.2 KiB
TypeScript
// export enum ApiMsgEnum {
|
|
// ApiPlayerList = 'ApiPlayerList',
|
|
// ApiPlayerJoin = 'ApiPlayerJoin',
|
|
// ApiRoomList = 'ApiRoomList',
|
|
// ApiRoomCreate = 'ApiRoomCreate',
|
|
// ApiRoomJoin = 'ApiRoomJoin',
|
|
// ApiRoomLeave = 'ApiRoomLeave',
|
|
// ApiGameStart = 'ApiGameStart',
|
|
// MsgPlayerList = 'MsgPlayerList',
|
|
// MsgRoomList = 'MsgRoomList',
|
|
// MsgRoom = 'MsgRoom',
|
|
// MsgGameStart = 'MsgGameStart',
|
|
// MsgClientSync = 'MsgClientSync',
|
|
// MsgServerSync = 'MsgServerSync',
|
|
// }
|
|
|
|
export enum ApiMsgEnum {
|
|
ApiPlayerList,
|
|
ApiPlayerJoin,
|
|
ApiRoomList,
|
|
ApiRoomCreate,
|
|
ApiRoomJoin,
|
|
ApiRoomLeave,
|
|
ApiGameStart,
|
|
ApiGameEnd,
|
|
MsgPlayerList,
|
|
MsgRoomList,
|
|
MsgRoom,
|
|
MsgGameStart,
|
|
MsgGameEnd,
|
|
MsgClientSync,
|
|
MsgServerSync,
|
|
}
|
|
|
|
// export enum InputTypeEnum {
|
|
// ActorMove = 'ActorMove',
|
|
// WeaponShoot = 'WeaponShoot',
|
|
// TimePast = 'TimePast',
|
|
// }
|
|
|
|
|
|
export enum InputTypeEnum {
|
|
ActorMove,
|
|
WeaponShoot,
|
|
TimePast,
|
|
}
|
|
|
|
export enum EntityTypeEnum {
|
|
Map1 = 'Map1',
|
|
Actor1 = 'Actor1',
|
|
Actor2 = 'Actor2',
|
|
Weapon1 = 'Weapon1',
|
|
Weapon2 = 'Weapon2',
|
|
Bullet1 = 'Bullet1',
|
|
Bullet2 = 'Bullet2',
|
|
Explosion = 'Explosion',
|
|
JoyStick = 'JoyStick',
|
|
Shoot = 'Shoot',
|
|
} |