34 lines
819 B
TypeScript
34 lines
819 B
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 InputTypeEnum {
|
||
|
ActorMove = 'ActorMove',
|
||
|
WeaponShoot = 'WeaponShoot',
|
||
|
TimePast = 'TimePast',
|
||
|
}
|
||
|
|
||
|
export enum EntityTypeEnum {
|
||
|
Map1 = 'Map1',
|
||
|
Actor1 = 'Actor1',
|
||
|
Actor2 = 'Actor2',
|
||
|
Weapon1 = 'Weapon1',
|
||
|
Weapon2 = 'Weapon2',
|
||
|
Bullet1 = 'Bullet1',
|
||
|
Bullet2 = 'Bullet2',
|
||
|
Explosion = 'Explosion',
|
||
|
JoyStick = 'JoyStick',
|
||
|
Shoot = 'Shoot',
|
||
|
}
|