mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-12 09:52:56 +08:00
22 lines
399 B
Java
22 lines
399 B
Java
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 Type getServerType() {
|
|
return this.type;
|
|
}
|
|
|
|
public enum Type {
|
|
DISPATCH,
|
|
GAME
|
|
}
|
|
}
|