Further shuffling of event classes.

This commit is contained in:
Andrew Steinborn
2020-10-22 01:09:30 -04:00
parent 7bca7ef981
commit 29890d7c20
8 changed files with 11 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
package com.velocitypowered.api.event.proxy;
package com.velocitypowered.api.event.connection;
import com.google.common.base.Preconditions;
import com.velocitypowered.api.proxy.server.QueryResponse;

View File

@@ -1,4 +1,4 @@
package com.velocitypowered.api.event.proxy;
package com.velocitypowered.api.event.lifecycle;
/**
* This event is fired by the proxy after plugins have been loaded but before the proxy starts

View File

@@ -1,4 +1,4 @@
package com.velocitypowered.api.event.proxy;
package com.velocitypowered.api.event.lifecycle;
/**
* This event is fired when the proxy is reloaded by the user using {@code /velocity reload}.

View File

@@ -1,4 +1,4 @@
package com.velocitypowered.api.event.proxy;
package com.velocitypowered.api.event.lifecycle;
/**
* This event is fired by the proxy after the proxy has stopped accepting connections but before the

View File

@@ -1,4 +1,4 @@
/**
* Provides events for handling the lifecycle of the proxy.
*/
package com.velocitypowered.api.event.proxy;
package com.velocitypowered.api.event.lifecycle;

View File

@@ -6,8 +6,8 @@ import com.google.common.collect.ImmutableList;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.velocitypowered.api.event.EventManager;
import com.velocitypowered.api.event.proxy.ProxyInitializeEvent;
import com.velocitypowered.api.event.proxy.ProxyReloadEvent;
import com.velocitypowered.api.event.lifecycle.ProxyInitializeEvent;
import com.velocitypowered.api.event.lifecycle.ProxyReloadEvent;
import com.velocitypowered.api.network.ProtocolVersion;
import com.velocitypowered.api.plugin.PluginContainer;
import com.velocitypowered.api.plugin.PluginManager;
@@ -30,7 +30,6 @@ import com.velocitypowered.proxy.network.ConnectionManager;
import com.velocitypowered.proxy.plugin.VelocityEventManager;
import com.velocitypowered.proxy.plugin.VelocityPluginManager;
import com.velocitypowered.proxy.protocol.ProtocolUtils;
import com.velocitypowered.proxy.protocol.packet.Chat;
import com.velocitypowered.proxy.protocol.util.FaviconSerializer;
import com.velocitypowered.proxy.protocol.util.GameProfileSerializer;
import com.velocitypowered.proxy.scheduler.VelocityScheduler;

View File

@@ -6,9 +6,8 @@ import com.google.common.collect.Multimaps;
import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.velocitypowered.api.event.EventHandler;
import com.velocitypowered.api.event.EventManager;
import com.velocitypowered.api.event.PostOrder;
import com.velocitypowered.api.event.Subscribe;
import com.velocitypowered.api.event.proxy.ProxyShutdownEvent;
import com.velocitypowered.api.event.lifecycle.ProxyShutdownEvent;
import com.velocitypowered.api.plugin.PluginManager;
import java.lang.reflect.Method;
import java.net.URL;

View File

@@ -1,12 +1,12 @@
package com.velocitypowered.proxy.protocol.netty;
import static com.velocitypowered.api.event.proxy.ProxyQueryEvent.QueryType.BASIC;
import static com.velocitypowered.api.event.proxy.ProxyQueryEvent.QueryType.FULL;
import static com.velocitypowered.api.event.connection.ProxyQueryEvent.QueryType.BASIC;
import static com.velocitypowered.api.event.connection.ProxyQueryEvent.QueryType.FULL;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.common.collect.ImmutableSet;
import com.velocitypowered.api.event.proxy.ProxyQueryEvent;
import com.velocitypowered.api.event.connection.ProxyQueryEvent;
import com.velocitypowered.api.network.ProtocolVersion;
import com.velocitypowered.api.plugin.PluginContainer;
import com.velocitypowered.api.plugin.PluginDescription;