mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
first part of Requestmapblocks fixes: Adds uint flags param to the OnRequestMapBlocks event (and handler), as when a client sends a map block request it also sends what layer it wants it for 0,1,2. It will always send two requests, one of them being for layer 2 (the overlay layer) and the other one either 0 or 1 depending on the tab that is selected in the client worldmap window. We should also be sending what layer the reply is for in IClientAPI.SendMapBlock (current always set to 0). That will come in next part (most likely at the weekend).
This commit is contained in:
@@ -421,7 +421,7 @@ namespace OpenSim.Framework
|
||||
|
||||
public delegate void DelinkObjects(List<uint> primIds);
|
||||
|
||||
public delegate void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY);
|
||||
public delegate void RequestMapBlocks(IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag);
|
||||
|
||||
public delegate void RequestMapName(IClientAPI remoteClient, string mapName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user