Package | Description |
---|---|
com.comphenix.protocol.events | |
com.comphenix.protocol.injector |
Modifier and Type | Method and Description |
---|---|
GamePhase |
ListeningWhitelist.getGamePhase()
Retrieve which game phase this listener is active under.
|
Modifier and Type | Method and Description |
---|---|
PacketAdapter.AdapterParameteters |
PacketAdapter.AdapterParameteters.gamePhase(GamePhase gamePhase)
Set which game phase this listener is active under.
|
ListeningWhitelist.Builder |
ListeningWhitelist.Builder.gamePhase(GamePhase gamePhase)
Set the gamephase to use when constructing new whitelists.
|
Constructor and Description |
---|
ListeningWhitelist(ListenerPriority priority,
java.lang.Integer[] whitelist,
GamePhase gamePhase)
Deprecated.
|
ListeningWhitelist(ListenerPriority priority,
java.lang.Integer[] whitelist,
GamePhase gamePhase,
ListenerOptions... options)
Deprecated.
|
ListeningWhitelist(ListenerPriority priority,
java.util.Set<java.lang.Integer> whitelist,
GamePhase gamePhase)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
GamePhase gamePhase,
java.lang.Integer... packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
GamePhase gamePhase,
java.util.Set<java.lang.Integer> packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
java.lang.Integer... packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
ListenerOptions[] options,
java.lang.Integer... packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
GamePhase gamePhase,
java.util.Set<java.lang.Integer> packets)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static GamePhase |
GamePhase.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GamePhase[] |
GamePhase.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|