| Package | Description |
|---|---|
| com.comphenix.protocol.injector.netty |
| Modifier and Type | Class and Description |
|---|---|
class |
ChannelInjector
Represents a channel injector.
|
class |
ClosedInjector
Represents a closed injector.
|
| Modifier and Type | Method and Description |
|---|---|
Injector |
InjectionFactory.cacheInjector(org.bukkit.entity.Player player,
Injector injector)
Cache an injector by player.
|
Injector |
InjectionFactory.cacheInjector(String name,
Injector injector)
Cache an injector by name alone.
|
Injector |
InjectionFactory.fromChannel(io.netty.channel.Channel channel,
ChannelListener listener,
TemporaryPlayerFactory playerFactory)
Construct a new channel injector for the given channel.
|
Injector |
InjectionFactory.fromName(String name,
org.bukkit.entity.Player player)
Retrieve a cached injector from a name.
|
Injector |
InjectionFactory.fromPlayer(org.bukkit.entity.Player player,
ChannelListener listener)
Construct or retrieve a channel injector from an existing Bukkit player.
|
Injector |
InjectionFactory.invalidate(org.bukkit.entity.Player player)
Invalidate a cached injector.
|
| Modifier and Type | Method and Description |
|---|---|
Injector |
InjectionFactory.cacheInjector(org.bukkit.entity.Player player,
Injector injector)
Cache an injector by player.
|
Injector |
InjectionFactory.cacheInjector(String name,
Injector injector)
Cache an injector by name alone.
|
PacketEvent |
ProtocolInjector.onPacketReceiving(Injector injector,
Object packet,
NetworkMarker marker) |
PacketEvent |
ChannelListener.onPacketReceiving(Injector injector,
Object packet,
NetworkMarker marker)
Invoked when a packet is being received from a client.
|
PacketEvent |
ProtocolInjector.onPacketSending(Injector injector,
Object packet,
NetworkMarker marker) |
PacketEvent |
ChannelListener.onPacketSending(Injector injector,
Object packet,
NetworkMarker marker)
Invoked when a packet is being sent to the client.
|
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.