Class BasicQueryEvent
java.lang.Object
net.minestom.server.extras.query.event.QueryEvent<BasicQueryResponse>
net.minestom.server.extras.query.event.BasicQueryEvent
- All Implemented Interfaces:
Event
,CancellableEvent
An event called when a basic query is received and ready to be responded to.
-
Constructor Summary
ConstructorDescriptionBasicQueryEvent
(@NotNull SocketAddress sender, int sessionID) Creates a new basic query event. -
Method Summary
Methods inherited from class net.minestom.server.extras.query.event.QueryEvent
getQueryResponse, getSender, getSessionID, isCancelled, setCancelled, setQueryResponse
-
Constructor Details
-
BasicQueryEvent
Creates a new basic query event.- Parameters:
sender
- the sendersessionID
- the session ID
-