net.psforever.packet.game.objectcreate
the optional position of the character in the world environment
common fields regarding the the character's appearance
the class-specific data that explains about the character
the player's inventory; typically, only the tools and weapons in the equipment holster slots
the holster that is initially drawn
used by the Codec
to seed the state of the optional pos
field
common fields regarding the the character's appearance
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 class-specific data that explains about the character
the holster that is initially drawn
the player's inventory; typically, only the tools and weapons in the equipment holster slots
the optional position of the character in the world environment
A representation of another player's character for the
ObjectCreateMessage
packet. In general, this packet is used to describe other players.Divisions exist to make the data more manageable. The first division defines the player's location within the game coordinate system. The second division defines features of the character that are shared by both the
ObjectCreateDetailedMessage
version of a controlled player character and theObjectCreateMessage
version of a player character (this). The third field provides further information on the appearance of the player character, albeit condensed. The fourth field involves the player'sEquipment
holsters and their inventory. The hand that the player has exposed is last. One of the most compact forms of a player character description is transcribed using this information.The presence or absence of position data as the first division creates a cascading effect causing all of fields in the other two divisions to gain offset values. These offsets exist in the form of
String
andList
padding.the optional position of the character in the world environment
common fields regarding the the character's appearance
the class-specific data that explains about the character
the player's inventory; typically, only the tools and weapons in the equipment holster slots
the holster that is initially drawn
used by the
Codec
to seed the state of the optionalpos
fieldCharacterData
InventoryData
DrawnSlot