TC-44 New TestClient command ownerprims to display prim counts TC-43 Overhaul TestClient help menu system git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2000 52acb1d6-8a22-11de-b505-999d5b087335
29 lines
741 B
C#
29 lines
741 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using OpenMetaverse;
|
|
using OpenMetaverse.Packets;
|
|
|
|
namespace OpenMetaverse.TestClient
|
|
{
|
|
public class GridMapCommand : Command
|
|
{
|
|
public GridMapCommand(TestClient testClient)
|
|
{
|
|
Name = "gridmap";
|
|
Description = "Downloads all visible information about the grid map";
|
|
Category = CommandCategory.Simulator;
|
|
}
|
|
|
|
public override string Execute(string[] args, UUID fromAgentID)
|
|
{
|
|
//if (args.Length < 1)
|
|
// return "";
|
|
|
|
Client.Grid.RequestMainlandSims(GridLayerType.Objects);
|
|
|
|
return "Sent.";
|
|
}
|
|
}
|
|
}
|