Difference between revisions of "MapBlockRequest"

From Second Life Wiki
Jump to navigation Jump to search
Line 34: Line 34:
MaxY = 1001
MaxY = 1001
</pre>
</pre>
The resulting regions would be Da Boom, Freelon, Ritch, Minna.
[[Category:Messages]]
[[Category:Messages]]

Revision as of 05:31, 17 September 2024

Message Layout

{
	MapBlockRequest Low	NotTrusted Unencoded
	{
		AgentData		Single
		{	AgentID		LLUUID	}
		{	SessionID	LLUUID	}
		{	Flags		U32		}
		{	EstateID	U32		}	
		{	Godlike		BOOL	}	
	}
	{
		PositionData	Single
		{	MinX		U16		}	
		{	MaxX		U16		}	
		{	MinY		U16		}	
		{	MaxY		U16		}	
	}
}

Usage and Notes

Used by the viewer to request region map data. The simulator responds with MapBlockReply.

For simple requests, Flags, EstateID, and Godlike can be set to 0.

MinX, MaxX, MinY, MaxY are grid coordinate ranges. If you wanted to request a block of 4 regions near Da Boom, you might use:

MinX = 1000
MaxX = 1001
MinY = 1000
MaxY = 1001

The resulting regions would be Da Boom, Freelon, Ritch, Minna.