<li><ahref="../../../../../com/comphenix/protocol/injector/player/NetworkObjectInjector.html"title="class in com.comphenix.protocol.injector.player"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectorBuilder.html"title="class in com.comphenix.protocol.injector.player"><spanclass="strong">Next Class</span></a></li>
<divclass="block">Add an underlying packet handler of the given ID.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#checkListener(com.comphenix.protocol.events.PacketListener)">checkListener</a></strong>(<ahref="../../../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</code>
<divclass="block">Determine if a listener is valid or not.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#checkListener(java.util.Set)">checkListener</a></strong>(java.util.Set<<ahref="../../../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a>> listeners)</code>
<divclass="block">Determine if the given listeners are valid.</div>
<tdclass="colFirst"><code><ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a></code></td>
<tdclass="colFirst"><code><ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a></code></td>
<tdclass="colFirst"><code><ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#getPlayerHook(com.comphenix.protocol.injector.GamePhase)">getPlayerHook</a></strong>(<ahref="../../../../../com/comphenix/protocol/injector/GamePhase.html"title="enum in com.comphenix.protocol.injector">GamePhase</a> phase)</code>
<divclass="block">Retrieves how the server packets are read.</div>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#handleDisconnect(org.bukkit.entity.Player)">handleDisconnect</a></strong>(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> player)</code>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#injectPlayer(org.bukkit.entity.Player)">injectPlayer</a></strong>(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> player)</code>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#processPacket(org.bukkit.entity.Player, java.lang.Object)">processPacket</a></strong>(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> player,
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#scheduleDataInputRefresh(org.bukkit.entity.Player)">scheduleDataInputRefresh</a></strong>(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> player)</code>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#sendServerPacket(org.bukkit.entity.Player, com.comphenix.protocol.events.PacketContainer, boolean)">sendServerPacket</a></strong>(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> reciever,
<ahref="../../../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a> packet,
boolean filters)</code>
<divclass="block">Send the given packet to the given reciever.</div>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#setPlayerHook(com.comphenix.protocol.injector.GamePhase, com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks)">setPlayerHook</a></strong>(<ahref="../../../../../com/comphenix/protocol/injector/GamePhase.html"title="enum in com.comphenix.protocol.injector">GamePhase</a> phase,
<ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a> playerHook)</code>
<divclass="block">Sets how the server packets are read.</div>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#setPlayerHook(com.comphenix.protocol.injector.PacketFilterManager.PlayerInjectHooks)">setPlayerHook</a></strong>(<ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a> playerHook)</code>
<divclass="block">Sets how the server packets are read.</div>
<tdclass="colLast"><code><strong><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectionHandler.html#uninjectPlayer(org.bukkit.entity.Player)">uninjectPlayer</a></strong>(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> player)</code>
<pre><ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a> getPlayerHook()</pre>
<pre><ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a> getPlayerHook(<ahref="../../../../../com/comphenix/protocol/injector/GamePhase.html"title="enum in com.comphenix.protocol.injector">GamePhase</a> phase)</pre>
<pre>void setPlayerHook(<ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a> playerHook)</pre>
<pre>void setPlayerHook(<ahref="../../../../../com/comphenix/protocol/injector/GamePhase.html"title="enum in com.comphenix.protocol.injector">GamePhase</a> phase,
<ahref="../../../../../com/comphenix/protocol/injector/PacketFilterManager.PlayerInjectHooks.html"title="enum in com.comphenix.protocol.injector">PacketFilterManager.PlayerInjectHooks</a> playerHook)</pre>
<divclass="block">Sets how the server packets are read.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>phase</code> - - the current game phase.</dd><dd><code>playerHook</code> - - the new injection method for reading server packets.</dd></dl>
<pre><ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> getPlayerByConnection(java.io.DataInputStream inputStream)
<pre><ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> getPlayerByConnection(java.io.DataInputStream inputStream,
<divclass="block">Retrieve a player by its DataInput connection.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>inputStream</code> - - the associated DataInput connection.</dd><dd><code>playerTimeout</code> - - the amount of time to wait for a result.</dd><dd><code>unit</code> - - unit of playerTimeout.</dd>
<pre>void injectPlayer(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> player)</pre>
<pre>void handleDisconnect(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> player)</pre>
<pre>boolean uninjectPlayer(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> player)</pre>
<pre>void sendServerPacket(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> reciever,
<ahref="../../../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a> packet,
<divclass="block">Send the given packet to the given reciever.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>reciever</code> - - the player receiver.</dd><dd><code>packet</code> - - the packet to send.</dd><dd><code>filters</code> - - whether or not to invoke the packet filters.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.lang.reflect.InvocationTargetException</code> - If an error occured during sending.</dd></dl>
<pre>void processPacket(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> player,
<divclass="block">Process a packet as if it were sent by the given player.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>player</code> - - the sender.</dd><dd><code>mcPacket</code> - - the packet to process.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalAccessException</code> - If the reflection machinery failed.</dd>
<dd><code>java.lang.reflect.InvocationTargetException</code> - If the underlying method caused an error.</dd></dl>
<pre>void checkListener(java.util.Set<<ahref="../../../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a>> listeners)</pre>
<pre>void checkListener(<ahref="../../../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</pre>
<pre>void scheduleDataInputRefresh(<ahref="http://jd.bukkit.org/apidocs/org/bukkit/entity/Player.html?is-external=true"title="class or interface in org.bukkit.entity">Player</a> player)</pre>
<li><ahref="../../../../../com/comphenix/protocol/injector/player/NetworkObjectInjector.html"title="class in com.comphenix.protocol.injector.player"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../../com/comphenix/protocol/injector/player/PlayerInjectorBuilder.html"title="class in com.comphenix.protocol.injector.player"><spanclass="strong">Next Class</span></a></li>