2007-11-06 09:26:10 +00:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
2008-07-21 21:12:59 +00:00
|
|
|
using OpenMetaverse;
|
|
|
|
|
using OpenMetaverse.Packets;
|
2007-11-06 09:26:10 +00:00
|
|
|
|
2008-07-21 21:12:59 +00:00
|
|
|
namespace OpenMetaverse.TestClient
|
2007-11-06 09:26:10 +00:00
|
|
|
{
|
|
|
|
|
public class GridMapCommand : Command
|
|
|
|
|
{
|
|
|
|
|
public GridMapCommand(TestClient testClient)
|
|
|
|
|
{
|
|
|
|
|
Name = "gridmap";
|
|
|
|
|
Description = "Downloads all visible information about the grid map";
|
2008-07-25 08:55:36 +00:00
|
|
|
Category = CommandCategory.Simulator;
|
2007-11-06 09:26:10 +00:00
|
|
|
}
|
|
|
|
|
|
2008-07-25 05:15:05 +00:00
|
|
|
public override string Execute(string[] args, UUID fromAgentID)
|
2007-11-06 09:26:10 +00:00
|
|
|
{
|
|
|
|
|
//if (args.Length < 1)
|
|
|
|
|
// return "";
|
|
|
|
|
|
|
|
|
|
Client.Grid.RequestMainlandSims(GridLayerType.Objects);
|
2007-11-10 18:36:50 +00:00
|
|
|
|
2007-11-06 09:26:10 +00:00
|
|
|
return "Sent.";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|