Difference between revisions of "Message"
Jump to navigation
Jump to search
Cube Linden (talk | contribs) |
Cube Linden (talk | contribs) |
||
Line 13: | Line 13: | ||
Messages are defined in the [[Message Template]]. They follow the format: | Messages are defined in the [[Message Template]]. They follow the format: | ||
<pre | <pre> | ||
{ | { | ||
[Message Name] [Message Frequency] [Message Trust Level] [Message Encoding] | [Message Name] [Message Frequency] [Message Trust Level] [Message Encoding] |
Revision as of 16:24, 28 December 2006
Messages
A message is the basic communications unit for the Second Life world. Messages are used to pass serialized information about almost every part of the system back and forth between two hosts on a network, through connections known as circuits.
There are many hundreds of messages in the Second Life message system. A list of them is available at.
Message Format
Messages are defined in the Message Template. They follow the format:
{ [Message Name] [Message Frequency] [Message Trust Level] [Message Encoding] { [Block 1 Name] [Block 1 Quantity] [Block 1 Count] { [Block 1 Parameter 1 Name] [Block 1 Parameter 1 Type] } { [Block 2 Parameter 2 Name] [Block 2 Parameter 2 Type] } [...] } [...] { [Block n Name] [Block n Quantity] [Block n Count] { [Block n Parameter 1 Name] [Block n Parameter 1 Type] } [...] } }
For example
{ TestMessage Low NotTrusted Zerocoded { TestBlock1 Single { Test1 U32 } } { NeighborBlock Multiple 4 { Test0 U32 } { Test1 U32 } { Test2 U32 } } }