mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
15 lines
511 B
TypeScript
15 lines
511 B
TypeScript
import { ProtobufEvents } from '../../services/ProtobufService';
|
|
|
|
import { joinRoom } from './joinRoom';
|
|
import { leaveRoom } from './leaveRoom';
|
|
import { listGames } from './listGames';
|
|
import { roomSay } from './roomSay';
|
|
import { removeMessages } from './removeMessage';
|
|
|
|
export const RoomEvents: ProtobufEvents = {
|
|
'.Event_JoinRoom.ext': joinRoom,
|
|
'.Event_LeaveRoom.ext': leaveRoom,
|
|
'.Event_ListGames.ext': listGames,
|
|
'.Event_RoomSay.ext': roomSay,
|
|
'.Event_RemoveMessages.ext': removeMessages,
|
|
};
|