Difference between revisions of "MapBlockReply"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 25: Line 25:
==Usage and Notes==
==Usage and Notes==
[[Category:Messages]]
[[Category:Messages]]
Reply to either of [[MapBlockRequest]] or [[MapNameRequest]].  
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


In the case of [[MapNameRequest]], the reply will contain multiple blocks based on a partial name match and a final data block where <code>X = 0</code>, <code>Y = 0</code>, and <code>Name</code> is the original request string.
* [[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 05: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, and Name 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.