/// <param name="maxX"></param>
/// <param name="maxY"></param>
/// <param name="returnNonExistent"></param>
public void RequestMapBlocks(GridLayerType layer, int minX, int minY, int maxX, int maxY, boolean returnNonExistent)
{
MapBlockRequestPacket request = new MapBlockRequestPacket();
request.AgentData.AgentID = Client.self.getAgentID();
request.AgentData.SessionID = Client.self.getSessionID();
request.AgentData.Flags = layer.getIndex();
request.AgentData.Flags |= (long)(returnNonExistent ? 0x10000 : 0);