MapBlockReply: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
<pre width=80> | <pre width=80> | ||
{ | { | ||
MapBlockReply Low Trusted Unencoded | MapBlockReply Low 409 Trusted Unencoded | ||
{ | { | ||
AgentData Single | AgentData Single | ||
| Line 25: | Line 25: | ||
==Usage and Notes== | ==Usage and Notes== | ||
[[Category:Messages]] | [[Category:Messages]] | ||
Reply to either [[MapBlockRequest]] or [[MapNameRequest]]. | |||
* Coordinates are provided in regions (not meters) | * Coordinates are provided in regions (not meters) | ||
* WaterHeight and Agents don't seem to be in use here, always 0 at present | * WaterHeight and Agents don't seem to be in use here, always 0 at present | ||
* [[MapNameRequest]] reply will contain... | |||
** Multiple blocks based on a partial name match | |||
** A final data block where <code>X = 0</code>, <code>Y = 0</code>, and <code>Name</code> is the original request string. | |||
* [[MapBlockRequest]] reply will contain... | |||
** Blocks equal to the number of existing regions within the given coordinates. | |||
** No final block related to the original request. | |||
** No reply if no regions exist within the given coordinates. | |||
Latest revision as of 06:54, 17 September 2024
Message Layout
{
MapBlockReply Low 409 Trusted Unencoded
{
AgentData Single
{ AgentID LLUUID }
{ Flags U32 }
}
{
Data Variable
{ X U16 }
{ Y U16 }
{ Name Variable 1 }
{ Access U8 }
{ RegionFlags U32 }
{ WaterHeight U8 }
{ Agents U8 }
{ MapImageID LLUUID }
}
}
Usage and Notes
Reply to either MapBlockRequest or MapNameRequest.
- Coordinates are provided in regions (not meters)
- WaterHeight and Agents don't seem to be in use here, always 0 at present
- MapNameRequest reply will contain...
- Multiple blocks based on a partial name match
- A final data block where
X = 0,Y = 0, andNameis the original request string.
- MapBlockRequest reply will contain...
- Blocks equal to the number of existing regions within the given coordinates.
- No final block related to the original request.
- No reply if no regions exist within the given coordinates.