Implement an event handler

This commit is contained in:
KingRainbow44
2022-04-23 01:58:37 -04:00
Unverified
parent 2a6984229e
commit 8b34222ceb
6 changed files with 116 additions and 4 deletions
@@ -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
}
}