Difference between revisions of "Message"
Jump to navigation
Jump to search
Cube Linden (talk | contribs) |
Cube Linden (talk | contribs) |
||
Line 1: | Line 1: | ||
{{OSWikiLearnBox|parent=Protocol}} | {{OSWikiLearnBox|parent=Protocol}} | ||
Line 7: | Line 5: | ||
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]]. | 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 [[category:messages]]. | There are many hundreds of messages in the Second Life message system. A list of them is available at [[:category:messages]]. | ||
=Message Format= | =Message Format= |
Revision as of 15:26, 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 category:messages.
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 } } }