3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00

Further shuffling of event classes.

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-10-22 01:09:30 -04:00
Ursprung 7bca7ef981
Commit 29890d7c20
8 geänderte Dateien mit 11 neuen und 13 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

@ -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 * This event is fired by the proxy after plugins have been loaded but before the proxy starts

Datei anzeigen

@ -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}. * This event is fired when the proxy is reloaded by the user using {@code /velocity reload}.

Datei anzeigen

@ -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 * This event is fired by the proxy after the proxy has stopped accepting connections but before the

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

@ -6,9 +6,8 @@ import com.google.common.collect.Multimaps;
import com.google.common.util.concurrent.ThreadFactoryBuilder; import com.google.common.util.concurrent.ThreadFactoryBuilder;
import com.velocitypowered.api.event.EventHandler; import com.velocitypowered.api.event.EventHandler;
import com.velocitypowered.api.event.EventManager; import com.velocitypowered.api.event.EventManager;
import com.velocitypowered.api.event.PostOrder;
import com.velocitypowered.api.event.Subscribe; 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 com.velocitypowered.api.plugin.PluginManager;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.net.URL; import java.net.URL;

Datei anzeigen

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