Class ProxyQueryEvent
- java.lang.Object
-
- net.md_5.bungee.api.plugin.Event
-
- io.github.waterfallmc.waterfall.event.ProxyQueryEvent
-
public class ProxyQueryEvent extends Event
This event will be posted whenever a Query request is received.
-
-
Constructor Summary
Constructors Constructor Description ProxyQueryEvent(@NonNull ListenerInfo listener, @NonNull QueryResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
@NonNull ListenerInfo
getListener()
The listener associated with this query.@NonNull QueryResult
getResult()
The query to return.int
hashCode()
void
setResult(@NonNull QueryResult result)
The query to return.String
toString()
-
-
-
Constructor Detail
-
ProxyQueryEvent
public ProxyQueryEvent(@NonNull @NonNull ListenerInfo listener, @NonNull @NonNull QueryResult result)
-
-
Method Detail
-
canEqual
protected boolean canEqual(Object other)
-
getListener
@NonNull public @NonNull ListenerInfo getListener()
The listener associated with this query.
-
getResult
@NonNull public @NonNull QueryResult getResult()
The query to return.
-
setResult
public void setResult(@NonNull @NonNull QueryResult result)
The query to return.
-
-