2012-01-05 16:42:20 +00:00
[[Category Packet]]
[[Category Packet 317]]
{{packet|name=Clear Inventory|description=Used to set all of the items and item stacks in an inventory to nothing.|opcode=72|type=Fixed|length=2|revision=317}}
2013-03-24 15:38:14 +00:00
== Clear inventory ==
2012-01-05 16:42:20 +00:00
=== Description ===
This packet creates a loop through a given inventory interface id and sets the item ids to negative one and the item stacks to zero.
=== Packet Structure ===
{|border=2
! Data Type
! Description
|-
2012-01-05 16:42:44 +00:00
| [[Data Types#Big Endian|Big Endian]] [[Data Types#Standard data types|Word]]
2012-01-05 16:42:20 +00:00
| The interface ID.
|-
|}