All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emu.grasscutter.server.event.ServerEvent Maven / Gradle / Ivy

There is a newer version: 1.0.3-dev
Show newest version
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
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy