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

net.minestom.server.extras.query.event.FullQueryEvent Maven / Gradle / Ivy

There is a newer version: 7320437640
Show newest version
package net.minestom.server.extras.query.event;

import net.minestom.server.extras.query.response.FullQueryResponse;
import org.jetbrains.annotations.NotNull;

import java.net.SocketAddress;

/**
 * An event called when a full query is received and ready to be responded to.
 */
public class FullQueryEvent extends QueryEvent {

    /**
     * Creates a new full query event.
     *
     * @param sender the sender
     * @param sessionID the sessionID
     */
    public FullQueryEvent(@NotNull SocketAddress sender, int sessionID) {
        super(sender, sessionID, new FullQueryResponse());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy