ViewerEffect: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 20: | Line 20: | ||
==Usage and Notes== | ==Usage and Notes== | ||
Viewer side effect that's sent from one viewer, and broadcast to other agents nearby (selection beams, PointAt, LookAt). | Viewer side effect that's sent from one viewer, and broadcast to other agents nearby (selection beams, PointAt, LookAt). | ||
viewer-->sim (single effect created by viewer) | viewer-->sim (single effect created by viewer) | ||
sim-->viewer (multiple effects that can be seen by viewer) | sim-->viewer (multiple effects that can be seen by viewer) | ||
The AgentData block is used for authentication for viewer-->sim messages | The AgentData block is used for authentication for viewer-->sim messages | ||
[[Category:Messages]] | [[Category:Messages]] | ||
Revision as of 19:39, 5 June 2008
Message Layout
ViewerEffect Medium 17 NotTrusted Zerocoded
{
AgentData Single
{ AgentID LLUUID }
{ SessionID LLUUID }
}
{
Effect Variable
{ ID LLUUID } // unique UUID of the effect
{ AgentID LLUUID } // yes, pack AgentID again (note this block is variable)
{ Type U8 } // Type of the effect
{ Duration F32 } // F32 time (seconds)
{ Color Fixed 4 } // Color4U
{ TypeData Variable 1 } // Type specific data
}
Usage and Notes
Viewer side effect that's sent from one viewer, and broadcast to other agents nearby (selection beams, PointAt, LookAt).
viewer-->sim (single effect created by viewer)
sim-->viewer (multiple effects that can be seen by viewer)
The AgentData block is used for authentication for viewer-->sim messages