Package | Description |
---|---|
com.comphenix.protocol |
Contains classes for retrieving the main ProtocolMananger object.
|
com.comphenix.protocol.events |
Modifier and Type | Method and Description |
---|---|
ConnectionSide |
PacketType.Sender.toSide()
Retrieve the equivialent connection side.
|
Modifier and Type | Field and Description |
---|---|
protected ConnectionSide |
PacketAdapter.connectionSide |
Modifier and Type | Method and Description |
---|---|
static ConnectionSide |
ConnectionSide.add(ConnectionSide a,
ConnectionSide b)
If both connection sides are present, return
BOTH - otherwise, return the one valud connection side. |
ConnectionSide |
NetworkMarker.getSide()
Retrieve whether or not this marker belongs to a client or a server side packet.
|
static ConnectionSide |
ConnectionSide.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionSide[] |
ConnectionSide.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionSide |
ConnectionSide.add(ConnectionSide a,
ConnectionSide b)
If both connection sides are present, return
BOTH - otherwise, return the one valud connection side. |
PacketAdapter.AdapterParameteters |
PacketAdapter.AdapterParameteters.connectionSide(ConnectionSide connectionSide)
Set the packet types this listener is looking for.
|
Constructor and Description |
---|
MonitorAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide side) |
MonitorAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide side,
java.util.logging.Logger logger) |
NetworkMarker.EmptyBufferMarker(ConnectionSide side) |
NetworkMarker(ConnectionSide side,
byte[] inputBuffer,
PacketType type)
Construct a new network marker.
|
NetworkMarker(ConnectionSide side,
java.nio.ByteBuffer inputBuffer,
PacketType type)
Construct a new network marker.
|
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,
java.lang.Integer... packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerOptions[] options,
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.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.lang.Integer... packets)
Deprecated.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.util.Set<java.lang.Integer> packets)
Deprecated.
|