ObjectUpdate: Difference between revisions
Jump to navigation
Jump to search
corrected size/type of some fields |
m Preliminary edits |
||
| Line 71: | Line 71: | ||
</pre> | </pre> | ||
==Usage and Notes== | ==Usage and Notes== | ||
===RegionData=== | |||
RegionHandle is the global coordinates of the simulator compressed and encoded into a single U64, with each coordinate taking up 32 bits. It can be visualized as XXXX|YYYY where each character is 8bits. | |||
TimeDilation is used to update the regions time dilation. It is cast to a F32 and then divided by 65535. for actual value. | |||
===ObjectData=== | |||
* FullID is the uuid of the task. | |||
* ID is the region local id of the task, these are used for most operations in place of the tasks uuid. | |||
* State is a legacy field, unused in everything but grass. With grass it is used to determine species of grass. | |||
[[Category:Messages]] | [[Category:Messages]] | ||
Revision as of 20:19, 14 July 2008
Message Layout
{
ObjectUpdate High 12 Trusted Zerocoded
{
RegionData Single
{ RegionHandle U64 }
{ TimeDilation U16 }
}
{
ObjectData Variable
{ ID U32 }
{ State U8 }
{ FullID LLUUID }
{ CRC U32 }
{ PCode U8 }
{ Material U8 }
{ ClickAction U8 }
{ Scale LLVector3 }
{ ObjectData Variable 1 }
{ ParentID U32 }
{ UpdateFlags U32 }
{ PathCurve U8 }
{ ProfileCurve U8 }
{ PathBegin U16 }
{ PathEnd U16 }
{ PathScaleX U8 }
{ PathScaleY U8 }
{ PathShearX U8 }
{ PathShearY U8 }
{ PathTwist S8 }
{ PathTwistBegin S8 }
{ PathRadiusOffset S8 }
{ PathTaperX S8 }
{ PathTaperY S8 }
{ PathRevolutions U8 }
{ PathSkew S8 }
{ ProfileBegin U16 }
{ ProfileEnd U16 }
{ ProfileHollow U16 }
{ TextureEntry Variable 2 }
{ TextureAnim Variable 1 }
{ NameValue Variable 2 }
{ Data Variable 2 }
{ Text Variable 1 }
{ TextColor Fixed 4 }
{ MediaURL Variable 1 }
{ PSBlock Variable 1 }
{ ExtraParams Variable 1 }
{ Sound LLUUID }
{ OwnerID LLUUID }
{ Gain F32 }
{ Flags U8 }
{ Radius F32 }
{ JointType U8 }
{ JointPivot LLVector3 }
{ JointAxisOrAnchor LLVector3 }
}
}
Usage and Notes
RegionData
RegionHandle is the global coordinates of the simulator compressed and encoded into a single U64, with each coordinate taking up 32 bits. It can be visualized as XXXX|YYYY where each character is 8bits.
TimeDilation is used to update the regions time dilation. It is cast to a F32 and then divided by 65535. for actual value.
ObjectData
- FullID is the uuid of the task.
- ID is the region local id of the task, these are used for most operations in place of the tasks uuid.
- State is a legacy field, unused in everything but grass. With grass it is used to determine species of grass.