init
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { EventEmitter } from "events";
|
||||
|
||||
export const serverEvents = new EventEmitter();
|
||||
|
||||
export type TestEvent = {
|
||||
type: "test";
|
||||
playerId: string;
|
||||
};
|
||||
|
||||
export type ServerEvent = TestEvent;
|
||||
Reference in New Issue
Block a user