<li><ahref="../../../com/comphenix/protocol/ProtocolLibrary.html"title="class in com.comphenix.protocol"><spanclass="strong">Prev Class</span></a></li>
<dd><ahref="../../../com/comphenix/protocol/injector/PacketFilterManager.html"title="class in com.comphenix.protocol.injector">PacketFilterManager</a></dd>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/comphenix/protocol/ProtocolManager.html#addPacketListener(com.comphenix.protocol.events.PacketListener)">addPacketListener</a></strong>(<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</code>
<divclass="block">Adds a packet listener.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a></code></td>
<divclass="block">Constructs a new encapsulated Minecraft packet with the given ID.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a></code></td>
<divclass="block">Constructs a new encapsulated Minecraft packet with the given ID.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../com/comphenix/protocol/injector/PacketConstructor.html"title="class in com.comphenix.protocol.injector">PacketConstructor</a></code></td>
<tdclass="colFirst"><code><ahref="../../../com/comphenix/protocol/AsynchronousManager.html"title="interface in com.comphenix.protocol">AsynchronousManager</a></code></td>
<tdclass="colFirst"><code>com.google.common.collect.ImmutableSet<<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a>></code></td>
<divclass="block">Determines whether or not this protocol mananger has been disabled.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/comphenix/protocol/ProtocolManager.html#removePacketListener(com.comphenix.protocol.events.PacketListener)">removePacketListener</a></strong>(<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</code>
<divclass="block">Removes a given packet listener.</div>
<h3>Methods inherited from interface com.comphenix.protocol.<ahref="../../../com/comphenix/protocol/PacketStream.html"title="interface in com.comphenix.protocol">PacketStream</a></h3>
<pre>com.google.common.collect.ImmutableSet<<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a>> getPacketListeners()</pre>
<divclass="block">Retrieves a list of every registered packet listener.</div>
<pre>void addPacketListener(<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</pre>
<divclass="block">Adds a packet listener.
<p>
Adding an already registered listener has no effect. If you need to change the packets
the current listener is observing, you must first remove the packet listener before you
can register it again.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>listener</code> - - new packet listener.</dd></dl>
<pre>void removePacketListener(<ahref="../../../com/comphenix/protocol/events/PacketListener.html"title="interface in com.comphenix.protocol.events">PacketListener</a> listener)</pre>
<divclass="block">Removes a given packet listener.
<p>
Attempting to remove a listener that doesn't exist has no effect.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>listener</code> - - the packet listener to remove.</dd></dl>
<divclass="block">Removes every listener associated with the given plugin.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>plugin</code> - - the plugin to unload.</dd></dl>
</li>
</ul>
<aname="createPacket(int)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>createPacket</h4>
<pre><ahref="../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a> createPacket(int id)</pre>
<divclass="block">Constructs a new encapsulated Minecraft packet with the given ID.</div>
<pre><ahref="../../../com/comphenix/protocol/events/PacketContainer.html"title="class in com.comphenix.protocol.events">PacketContainer</a> createPacket(int id,
boolean forceDefaults)</pre>
<divclass="block">Constructs a new encapsulated Minecraft packet with the given ID.
<p>
If set to true, the <i>forceDefaults</i> option will force the system to automatically
give non-primitive fields in the packet sensible default values. For instance, certain
packets - like Packet60Explosion - require a List or Set to be non-null. If the
forceDefaults option is true, the List or Set will be automatically created.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id</code> - - packet ID.</dd><dd><code>forceDefaults</code> - - TRUE to use sensible defaults in most fields, FALSE otherwise.</dd>
<pre><ahref="../../../com/comphenix/protocol/injector/PacketConstructor.html"title="class in com.comphenix.protocol.injector">PacketConstructor</a> createPacketConstructor(int id,
java.lang.Object... arguments)</pre>
<divclass="block">Construct a packet using the special builtin Minecraft constructors.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id</code> - - the packet ID.</dd><dd><code>arguments</code> - - arguments that will be passed to the constructor.</dd>
throws <ahref="../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></pre>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>entity</code> - - entity to refresh.</dd><dd><code>observers</code> - - the clients to update.</dd>
<dt><spanclass="strong">Throws:</span></dt>
<dd><code><ahref="../../../com/comphenix/protocol/reflect/FieldAccessException.html"title="class in com.comphenix.protocol.reflect">FieldAccessException</a></code></dd></dl>
<pre><ahref="../../../com/comphenix/protocol/AsynchronousManager.html"title="interface in com.comphenix.protocol">AsynchronousManager</a> getAsynchronousManager()</pre>
<divclass="block">Retrieve the current asyncronous packet manager.</div>
<li><ahref="../../../com/comphenix/protocol/ProtocolLibrary.html"title="class in com.comphenix.protocol"><spanclass="strong">Prev Class</span></a></li>