Packet # | Packet Name | Length | Client | Server | Obsolete |
---|---|---|---|---|---|
0x3C | Container Contents | dynamic | X | X | |
Data Type | Description | ||||
byte 0x3C | The packet number. | ||||
ushort Size | The size of the packet. | ||||
ushort Count | The number of items in the container. | ||||
loop { uint Serial ushort Artwork byte StackID ushort Amount ushort X ushort Y uint Container ushort Hue } |
This loop contains information for each item in the container. Loop for Count number of times. Serial: The serial of the item to add. Artwork: The artwork number of the item. StackID: The number to add to the item's artwork if Amount is greater than one. Amount: The amount of the item. This should always be greater than zero. X: The number of pixels within the container from the left-hand side at which the item will be placed. Y: The number of pixels within the container from the top at which the item will be placed. Container: The serial of the container. Hue: The item's hue. |
||||
Packet Description: This is sent to display the contents of a container. |