skript-db/src/main/java/com/btk5h/skriptdb/events/SQLQueryCompleteEvent.java

36 lines
784 B
Java
Raw Normal View History

package com.btk5h.skriptdb.events;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class SQLQueryCompleteEvent extends Event {
private final static HandlerList HANDLERS = new HandlerList();
2021-06-22 18:26:46 +00:00
private final String argument;
public SQLQueryCompleteEvent(String argument) {
super(true);
this.argument = argument;
2021-06-22 18:26:46 +00:00
// this.variables = variables;
}
2021-06-22 18:26:46 +00:00
public static HandlerList getHandlerList() {
return HANDLERS;
}
@Override
public String getEventName() {
return super.getEventName();
}
@Override
public HandlerList getHandlers() {
return HANDLERS;
}
public String getQuery() {
return argument;
}
2021-06-22 18:26:46 +00:00
// public String getVariables() {return;}
}