Package | Description |
---|---|
com.comphenix.protocol.events |
Modifier and Type | Field and Description |
---|---|
protected ConnectionSide |
PacketAdapter.connectionSide |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
java.lang.Integer... packets)
Initialize a packet listener with default priority.
|
PacketAdapter(org.bukkit.plugin.Plugin plugin,
ConnectionSide connectionSide,
ListenerPriority listenerPriority,
java.lang.Integer... packets)
Initialize a packet listener for a single connection side.
|