Archiviert
13
0
Dieses Repository wurde am 2021-01-06 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
ProtocolLib/Javadoc/com/comphenix/protocol/events/PacketContainer.html

865 Zeilen
43 KiB
HTML

2012-10-17 08:07:20 +02:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
2013-02-05 23:35:15 +01:00
<!-- Generated by javadoc (version 1.7.0_07) on Tue Feb 05 23:33:34 CET 2013 -->
2012-10-17 08:07:20 +02:00
<title>PacketContainer</title>
2013-02-05 23:35:15 +01:00
<meta name="date" content="2013-02-05">
2012-10-17 08:07:20 +02:00
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="PacketContainer";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PacketContainer.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/comphenix/protocol/events/PacketAdapter.html" title="class in com.comphenix.protocol.events"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/comphenix/protocol/events/PacketContainer.html" target="_top">Frames</a></li>
<li><a href="PacketContainer.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.comphenix.protocol.events</div>
<h2 title="Class PacketContainer" class="title">Class PacketContainer</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.comphenix.protocol.events.PacketContainer</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">PacketContainer</span>
extends java.lang.Object
implements java.io.Serializable</pre>
<div class="block">Represents a Minecraft packet indirectly.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Kristian</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#com.comphenix.protocol.events.PacketContainer">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
2012-12-10 16:45:24 +01:00
<td class="colFirst"><code>protected java.lang.Object</code></td>
2012-10-17 08:07:20 +02:00
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#handle">handle</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#id">id</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#structureModifier">structureModifier</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
2012-12-10 16:45:24 +01:00
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
2012-10-17 08:07:20 +02:00
</tr>
<tr class="altColor">
2012-12-10 16:45:24 +01:00
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#PacketContainer()">PacketContainer</a></strong>()</code>
<div class="block">For serialization.</div>
2012-10-17 08:07:20 +02:00
</td>
</tr>
<tr class="rowColor">
2012-12-10 16:45:24 +01:00
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#PacketContainer(int)">PacketContainer</a></strong>(int&nbsp;id)</code>
<div class="block">Creates a packet container for a new packet.</div>
2012-10-17 08:07:20 +02:00
</td>
</tr>
<tr class="altColor">
2012-12-10 16:45:24 +01:00
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#PacketContainer(int, java.lang.Object)">PacketContainer</a></strong>(int&nbsp;id,
java.lang.Object&nbsp;handle)</code>
<div class="block">Creates a packet container for an existing packet.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#PacketContainer(int, java.lang.Object, com.comphenix.protocol.reflect.StructureModifier)">PacketContainer</a></strong>(int&nbsp;id,
java.lang.Object&nbsp;handle,
2012-10-17 08:07:20 +02:00
<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;&nbsp;structure)</code>
<div class="block">Creates a packet container for an existing packet.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
2012-12-04 00:58:16 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/events/PacketContainer.html" title="class in com.comphenix.protocol.events">PacketContainer</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#deepClone()">deepClone</a></strong>()</code>
<div class="block">Create a deep copy of the current packet.</div>
</td>
</tr>
<tr class="rowColor">
2013-01-22 13:29:54 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Boolean&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getBooleans()">getBooleans</a></strong>()</code>
<div class="block">Retrieves a read/write structure for every boolean field.</div>
</td>
</tr>
<tr class="altColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;byte[]&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getByteArrays()">getByteArrays</a></strong>()</code>
<div class="block">Retrieves a read/write structure for every byte array field.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2013-01-10 00:58:34 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/utility/StreamSerializer.html" title="class in com.comphenix.protocol.utility">StreamSerializer</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getByteArraySerializer()">getByteArraySerializer</a></strong>()</code>
<div class="block">Retrieve a serializer for reading and writing ItemStacks stored in a byte array.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Byte&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getBytes()">getBytes</a></strong>()</code>
<div class="block">Retrieves a read/write structure for every byte field.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html" title="class in com.comphenix.protocol.wrappers">WrappedDataWatcher</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getDataWatcherModifier()">getDataWatcherModifier</a></strong>()</code>
<div class="block">Retrieves a read/write structure for data watchers.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Double&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getDoubles()">getDoubles</a></strong>()</code>
<div class="block">Retrieves a read/write structure for every double field.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2013-02-05 23:35:15 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Entity.html?is-external=true" title="class or interface in org.bukkit.entity">Entity</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getEntityModifier(org.bukkit.World)">getEntityModifier</a></strong>(<a href="http://jd.bukkit.org/apidocs/org/bukkit/World.html?is-external=true" title="class or interface in org.bukkit">World</a>&nbsp;world)</code>
2012-10-17 08:07:20 +02:00
<div class="block">Retrieves a read/write structure for entity objects.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Float&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getFloat()">getFloat</a></strong>()</code>
<div class="block">Retrieves a read/write structure for every float field.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2012-12-10 16:45:24 +01:00
<td class="colFirst"><code>java.lang.Object</code></td>
2012-10-17 08:07:20 +02:00
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getHandle()">getHandle</a></strong>()</code>
<div class="block">Retrieves the underlying Minecraft packet.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2012-10-17 08:07:20 +02:00
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getID()">getID</a></strong>()</code>
<div class="block">Retrieves the ID of this packet.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2012-12-04 00:58:16 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;int[]&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getIntegerArrays()">getIntegerArrays</a></strong>()</code>
<div class="block">Retrieves a read/write structure for every int array field.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Integer&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getIntegers()">getIntegers</a></strong>()</code>
<div class="block">Retrieves a read/write structure for every integer field.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2013-02-05 23:35:15 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>[]&gt;</code></td>
2012-10-17 08:07:20 +02:00
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getItemArrayModifier()">getItemArrayModifier</a></strong>()</code>
<div class="block">Retrieves a read/write structure for arrays of ItemStacks.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2013-02-05 23:35:15 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>&gt;</code></td>
2012-10-17 08:07:20 +02:00
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getItemModifier()">getItemModifier</a></strong>()</code>
<div class="block">Retrieves a read/write structure for ItemStack.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Long&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getLongs()">getLongs</a></strong>()</code>
<div class="block">Retrieves a read/write structure for every long field.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2012-10-17 08:07:20 +02:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getModifier()">getModifier</a></strong>()</code>
<div class="block">Retrieves the generic structure modifier for this packet.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2013-01-10 00:58:34 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a>&lt;?&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getNbtModifier()">getNbtModifier</a></strong>()</code>
<div class="block">Retrieves a read/write structure for NBT classes.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.util.List&lt;<a href="../../../../com/comphenix/protocol/wrappers/ChunkPosition.html" title="class in com.comphenix.protocol.wrappers">ChunkPosition</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getPositionCollectionModifier()">getPositionCollectionModifier</a></strong>()</code>
<div class="block">Retrieves a read/write structure for collections of chunk positions.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="../../../../com/comphenix/protocol/wrappers/ChunkPosition.html" title="class in com.comphenix.protocol.wrappers">ChunkPosition</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getPositionModifier()">getPositionModifier</a></strong>()</code>
<div class="block">Retrieves a read/write structure for chunk positions.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Short&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getShorts()">getShorts</a></strong>()</code>
<div class="block">Retrieves a read/write structure for every short field.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2012-10-17 08:07:20 +02:00
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;T&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getSpecificModifier(java.lang.Class)">getSpecificModifier</a></strong>(java.lang.Class&lt;T&gt;&nbsp;primitiveType)</code>
<div class="block">Retrieves a read/write structure for every field with the given type.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.String[]&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getStringArrays()">getStringArrays</a></strong>()</code>
<div class="block">Retrieves a read/write structure for every String array field.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getStrings()">getStrings</a></strong>()</code>
<div class="block">Retrieves a read/write structure for every String field.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2012-11-13 17:54:42 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.util.List&lt;<a href="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html" title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getWatchableCollectionModifier()">getWatchableCollectionModifier</a></strong>()</code>
<div class="block">Retrieves a read/write structure for collections of watchable objects.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="rowColor">
2013-02-05 23:35:15 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/WorldType.html?is-external=true" title="class or interface in org.bukkit">WorldType</a>&gt;</code></td>
2012-10-17 08:07:20 +02:00
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#getWorldTypeModifier()">getWorldTypeModifier</a></strong>()</code>
<div class="block">Retrieves a read/write structure for the world type enum.</div>
</td>
</tr>
2013-01-22 13:29:54 +01:00
<tr class="altColor">
2012-12-27 17:44:04 +01:00
<td class="colFirst"><code><a href="../../../../com/comphenix/protocol/events/PacketContainer.html" title="class in com.comphenix.protocol.events">PacketContainer</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/events/PacketContainer.html#shallowClone()">shallowClone</a></strong>()</code>
<div class="block">Create a shallow copy of the current packet.</div>
</td>
</tr>
2012-10-17 08:07:20 +02:00
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="id">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>id</h4>
<pre>protected&nbsp;int id</pre>
</li>
</ul>
<a name="handle">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handle</h4>
2012-12-10 16:45:24 +01:00
<pre>protected transient&nbsp;java.lang.Object handle</pre>
2012-10-17 08:07:20 +02:00
</li>
</ul>
<a name="structureModifier">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>structureModifier</h4>
<pre>protected transient&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt; structureModifier</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="PacketContainer(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PacketContainer</h4>
<pre>public&nbsp;PacketContainer(int&nbsp;id)</pre>
<div class="block">Creates a packet container for a new packet.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - - ID of the packet to create.</dd></dl>
</li>
</ul>
2012-12-10 16:45:24 +01:00
<a name="PacketContainer(int, java.lang.Object)">
2012-10-17 08:07:20 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PacketContainer</h4>
<pre>public&nbsp;PacketContainer(int&nbsp;id,
2012-12-10 16:45:24 +01:00
java.lang.Object&nbsp;handle)</pre>
2012-10-17 08:07:20 +02:00
<div class="block">Creates a packet container for an existing packet.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - - ID of the given packet.</dd><dd><code>handle</code> - - contained packet.</dd></dl>
</li>
</ul>
2012-12-10 16:45:24 +01:00
<a name="PacketContainer(int, java.lang.Object, com.comphenix.protocol.reflect.StructureModifier)">
2012-10-17 08:07:20 +02:00
<!-- -->
</a>
2012-12-10 16:45:24 +01:00
<ul class="blockList">
2012-10-17 08:07:20 +02:00
<li class="blockList">
<h4>PacketContainer</h4>
<pre>public&nbsp;PacketContainer(int&nbsp;id,
2012-12-10 16:45:24 +01:00
java.lang.Object&nbsp;handle,
2012-10-17 08:07:20 +02:00
<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;&nbsp;structure)</pre>
<div class="block">Creates a packet container for an existing packet.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>id</code> - - ID of the given packet.</dd><dd><code>handle</code> - - contained packet.</dd><dd><code>structure</code> - - structure modifier.</dd></dl>
</li>
</ul>
2012-12-10 16:45:24 +01:00
<a name="PacketContainer()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PacketContainer</h4>
<pre>protected&nbsp;PacketContainer()</pre>
<div class="block">For serialization.</div>
</li>
</ul>
2012-10-17 08:07:20 +02:00
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getHandle()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHandle</h4>
2012-12-10 16:45:24 +01:00
<pre>public&nbsp;java.lang.Object&nbsp;getHandle()</pre>
2012-10-17 08:07:20 +02:00
<div class="block">Retrieves the underlying Minecraft packet.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Underlying Minecraft packet.</dd></dl>
</li>
</ul>
<a name="getModifier()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getModifier</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Object&gt;&nbsp;getModifier()</pre>
<div class="block">Retrieves the generic structure modifier for this packet.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Structure modifier.</dd></dl>
</li>
</ul>
<a name="getSpecificModifier(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpecificModifier</h4>
<pre>public&nbsp;&lt;T&gt;&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;T&gt;&nbsp;getSpecificModifier(java.lang.Class&lt;T&gt;&nbsp;primitiveType)</pre>
<div class="block">Retrieves a read/write structure for every field with the given type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>primitiveType</code> - - the type to find.</dd>
<dt><span class="strong">Returns:</span></dt><dd>A modifier for this specific type.</dd></dl>
</li>
</ul>
2012-11-13 17:54:42 +01:00
<a name="getBytes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBytes</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Byte&gt;&nbsp;getBytes()</pre>
<div class="block">Retrieves a read/write structure for every byte field.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for every byte field.</dd></dl>
</li>
</ul>
2013-01-22 13:29:54 +01:00
<a name="getBooleans()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBooleans</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Boolean&gt;&nbsp;getBooleans()</pre>
<div class="block">Retrieves a read/write structure for every boolean field.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for every boolean field.</dd></dl>
</li>
</ul>
2012-11-13 17:54:42 +01:00
<a name="getShorts()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShorts</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Short&gt;&nbsp;getShorts()</pre>
<div class="block">Retrieves a read/write structure for every short field.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for every short field.</dd></dl>
</li>
</ul>
<a name="getIntegers()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIntegers</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Integer&gt;&nbsp;getIntegers()</pre>
<div class="block">Retrieves a read/write structure for every integer field.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for every integer field.</dd></dl>
</li>
</ul>
<a name="getLongs()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLongs</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Long&gt;&nbsp;getLongs()</pre>
<div class="block">Retrieves a read/write structure for every long field.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for every long field.</dd></dl>
</li>
</ul>
<a name="getFloat()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFloat</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Float&gt;&nbsp;getFloat()</pre>
<div class="block">Retrieves a read/write structure for every float field.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for every float field.</dd></dl>
</li>
</ul>
<a name="getDoubles()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDoubles</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.Double&gt;&nbsp;getDoubles()</pre>
<div class="block">Retrieves a read/write structure for every double field.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for every double field.</dd></dl>
</li>
</ul>
<a name="getStrings()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStrings</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.String&gt;&nbsp;getStrings()</pre>
<div class="block">Retrieves a read/write structure for every String field.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for every String field.</dd></dl>
</li>
</ul>
<a name="getStringArrays()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringArrays</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.lang.String[]&gt;&nbsp;getStringArrays()</pre>
<div class="block">Retrieves a read/write structure for every String array field.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for every String array field.</dd></dl>
</li>
</ul>
<a name="getByteArrays()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getByteArrays</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;byte[]&gt;&nbsp;getByteArrays()</pre>
<div class="block">Retrieves a read/write structure for every byte array field.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for every byte array field.</dd></dl>
</li>
</ul>
2013-01-10 00:58:34 +01:00
<a name="getByteArraySerializer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getByteArraySerializer</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/utility/StreamSerializer.html" title="class in com.comphenix.protocol.utility">StreamSerializer</a>&nbsp;getByteArraySerializer()</pre>
<div class="block">Retrieve a serializer for reading and writing ItemStacks stored in a byte array.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A instance of the serializer.</dd></dl>
</li>
</ul>
2012-12-04 00:58:16 +01:00
<a name="getIntegerArrays()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIntegerArrays</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;int[]&gt;&nbsp;getIntegerArrays()</pre>
<div class="block">Retrieves a read/write structure for every int array field.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for every int array field.</dd></dl>
</li>
</ul>
2012-10-17 08:07:20 +02:00
<a name="getItemModifier()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItemModifier</h4>
2013-02-05 23:35:15 +01:00
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>&gt;&nbsp;getItemModifier()</pre>
2012-10-17 08:07:20 +02:00
<div class="block">Retrieves a read/write structure for ItemStack.
<p>
This modifier will automatically marshall between the Bukkit ItemStack and the
internal Minecraft ItemStack.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for ItemStack fields.</dd></dl>
</li>
</ul>
<a name="getItemArrayModifier()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItemArrayModifier</h4>
2013-02-05 23:35:15 +01:00
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/inventory/ItemStack.html?is-external=true" title="class or interface in org.bukkit.inventory">ItemStack</a>[]&gt;&nbsp;getItemArrayModifier()</pre>
2012-10-17 08:07:20 +02:00
<div class="block">Retrieves a read/write structure for arrays of ItemStacks.
<p>
This modifier will automatically marshall between the Bukkit ItemStack and the
internal Minecraft ItemStack.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for ItemStack array fields.</dd></dl>
</li>
</ul>
<a name="getWorldTypeModifier()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWorldTypeModifier</h4>
2013-02-05 23:35:15 +01:00
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/WorldType.html?is-external=true" title="class or interface in org.bukkit">WorldType</a>&gt;&nbsp;getWorldTypeModifier()</pre>
2012-10-17 08:07:20 +02:00
<div class="block">Retrieves a read/write structure for the world type enum.
<p>
This modifier will automatically marshall between the Bukkit world type and the
internal Minecraft world type.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for world type fields.</dd></dl>
</li>
</ul>
2012-11-13 17:54:42 +01:00
<a name="getDataWatcherModifier()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataWatcherModifier</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="../../../../com/comphenix/protocol/wrappers/WrappedDataWatcher.html" title="class in com.comphenix.protocol.wrappers">WrappedDataWatcher</a>&gt;&nbsp;getDataWatcherModifier()</pre>
<div class="block">Retrieves a read/write structure for data watchers.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for data watchers.</dd></dl>
</li>
</ul>
2012-10-17 08:07:20 +02:00
<a name="getEntityModifier(org.bukkit.World)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEntityModifier</h4>
2013-02-05 23:35:15 +01:00
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="http://jd.bukkit.org/apidocs/org/bukkit/entity/Entity.html?is-external=true" title="class or interface in org.bukkit.entity">Entity</a>&gt;&nbsp;getEntityModifier(<a href="http://jd.bukkit.org/apidocs/org/bukkit/World.html?is-external=true" title="class or interface in org.bukkit">World</a>&nbsp;world)</pre>
2012-10-17 08:07:20 +02:00
<div class="block">Retrieves a read/write structure for entity objects.
<p>
Note that entities are transmitted by integer ID, and the type may not be enough
to distinguish between entities and other values. Thus, this structure modifier
MAY return null or invalid entities for certain fields. Using the correct index
is essential.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier entity types.</dd></dl>
</li>
</ul>
2012-11-13 17:54:42 +01:00
<a name="getPositionModifier()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPositionModifier</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="../../../../com/comphenix/protocol/wrappers/ChunkPosition.html" title="class in com.comphenix.protocol.wrappers">ChunkPosition</a>&gt;&nbsp;getPositionModifier()</pre>
<div class="block">Retrieves a read/write structure for chunk positions.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for a ChunkPosition.</dd></dl>
</li>
</ul>
2013-01-10 00:58:34 +01:00
<a name="getNbtModifier()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNbtModifier</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;<a href="../../../../com/comphenix/protocol/wrappers/nbt/NbtBase.html" title="interface in com.comphenix.protocol.wrappers.nbt">NbtBase</a>&lt;?&gt;&gt;&nbsp;getNbtModifier()</pre>
<div class="block">Retrieves a read/write structure for NBT classes.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for NBT classes.</dd></dl>
</li>
</ul>
2012-11-13 17:54:42 +01:00
<a name="getPositionCollectionModifier()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPositionCollectionModifier</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.util.List&lt;<a href="../../../../com/comphenix/protocol/wrappers/ChunkPosition.html" title="class in com.comphenix.protocol.wrappers">ChunkPosition</a>&gt;&gt;&nbsp;getPositionCollectionModifier()</pre>
<div class="block">Retrieves a read/write structure for collections of chunk positions.
<p>
This modifier will automatically marshall between the visible ProtocolLib ChunkPosition and the
internal Minecraft ChunkPosition.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for ChunkPosition list fields.</dd></dl>
</li>
</ul>
<a name="getWatchableCollectionModifier()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWatchableCollectionModifier</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/reflect/StructureModifier.html" title="class in com.comphenix.protocol.reflect">StructureModifier</a>&lt;java.util.List&lt;<a href="../../../../com/comphenix/protocol/wrappers/WrappedWatchableObject.html" title="class in com.comphenix.protocol.wrappers">WrappedWatchableObject</a>&gt;&gt;&nbsp;getWatchableCollectionModifier()</pre>
<div class="block">Retrieves a read/write structure for collections of watchable objects.
<p>
This modifier will automatically marshall between the visible WrappedWatchableObject and the
internal Minecraft WatchableObject.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A modifier for watchable object list fields.</dd></dl>
</li>
</ul>
2012-10-17 08:07:20 +02:00
<a name="getID()">
<!-- -->
</a>
2012-12-04 00:58:16 +01:00
<ul class="blockList">
2012-10-17 08:07:20 +02:00
<li class="blockList">
<h4>getID</h4>
<pre>public&nbsp;int&nbsp;getID()</pre>
<div class="block">Retrieves the ID of this packet.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Packet ID.</dd></dl>
</li>
</ul>
2012-12-27 17:44:04 +01:00
<a name="shallowClone()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shallowClone</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/events/PacketContainer.html" title="class in com.comphenix.protocol.events">PacketContainer</a>&nbsp;shallowClone()</pre>
<div class="block">Create a shallow copy of the current packet.
<p>
This merely writes the content of each field to the new class directly,
without performing any expensive copies.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>A shallow copy of the current packet.</dd></dl>
</li>
</ul>
2012-12-04 00:58:16 +01:00
<a name="deepClone()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>deepClone</h4>
<pre>public&nbsp;<a href="../../../../com/comphenix/protocol/events/PacketContainer.html" title="class in com.comphenix.protocol.events">PacketContainer</a>&nbsp;deepClone()</pre>
2012-12-27 17:44:04 +01:00
<div class="block">Create a deep copy of the current packet.
<p>
This will perform a full copy of the entire object tree, only skipping
known immutable objects and primitive types.
<p>
Note that the inflated buffers in packet 51 and 56 will be copied directly to save memory.</div>
2012-12-04 00:58:16 +01:00
<dl><dt><span class="strong">Returns:</span></dt><dd>A deep copy of the current packet.</dd></dl>
</li>
</ul>
2012-10-17 08:07:20 +02:00
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PacketContainer.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../com/comphenix/protocol/events/PacketAdapter.html" title="class in com.comphenix.protocol.events"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../com/comphenix/protocol/events/PacketEvent.html" title="class in com.comphenix.protocol.events"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/comphenix/protocol/events/PacketContainer.html" target="_top">Frames</a></li>
<li><a href="PacketContainer.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>