net.psforever.packet.game.objectcreate
the items in the inventory
Performs a "sizeof()" analysis of the given object.
The calculation reflects the scodec Codec
definition rather than the explicit parameter fields.
Performs a "sizeof()" analysis of the given object.
The calculation reflects the scodec Codec
definition rather than the explicit parameter fields.
For example, a traditional Int
is normally a 32-bit number, often rendered as a 32u
number.
When parsed with a uintL(7)
, it's length will be considered 7 bits (7u
).
(Note: being permanently signed, an scodec
value of 32u
or longer must fit into a Long
type.)
the number of bits necessary to measure an object of this class;
defaults to 0L
the items in the inventory
A representation of the inventory portion of
ObjectCreate*Message
packet data for avatars.The inventory is a temperamental thing. Items placed into the inventory must follow their proper encoding schematics to the letter. The slot number refers to the position occupied by the item. In icon format, all-encompassing slots are absolute positions; and, grid-distributed icons use the upper-left corner. No values are allowed to be misplaced and no unexpected regions of data can be discovered. If there is even a minor failure, the remainder of the inventory will fail to translate.
Inventories are usually prefaced with a single bit value not accounted for here to switch them "on."
the items in the inventory
InventoryItemData