2007-11-06 09:26:10 +00:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using libsecondlife;
|
|
|
|
|
using libsecondlife.Packets;
|
|
|
|
|
|
|
|
|
|
namespace libsecondlife.TestClient
|
|
|
|
|
{
|
|
|
|
|
public class GridMapCommand : Command
|
|
|
|
|
{
|
|
|
|
|
public GridMapCommand(TestClient testClient)
|
|
|
|
|
{
|
|
|
|
|
Name = "gridmap";
|
|
|
|
|
Description = "Downloads all visible information about the grid map";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string Execute(string[] args, LLUUID fromAgentID)
|
|
|
|
|
{
|
|
|
|
|
//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.";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|