Implement an event handler

This commit is contained in:
KingRainbow44
2022-04-23 01:58:37 -04:00
parent 7a3fbcdcf7
commit 6056e962d6
6 changed files with 116 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
package emu.grasscutter.server.event;
/**
* An event that is related to the internals of the server.
*/
public abstract class ServerEvent extends Event {
protected final Type type;
public ServerEvent(Type type) {
this.type = type;
}
public enum Type {
DISPATCH,
GAME
}
}