Removing LL prefix from all basic types
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1998 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -11,7 +11,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Starts or stops crouching. Usage: crouch [start/stop]";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
bool start = true;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Starts or stops flying. Usage: fly [start/stop]";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
bool start = true;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace OpenMetaverse.TestClient
|
||||
testClient.Network.RegisterCallback(PacketType.AlertMessage, new NetworkManager.PacketCallback(AlertMessageHandler));
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
string target = String.Empty;
|
||||
for (int ct = 0; ct < args.Length; ct++)
|
||||
@@ -68,7 +68,7 @@ namespace OpenMetaverse.TestClient
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Follow(LLUUID id)
|
||||
bool Follow(UUID id)
|
||||
{
|
||||
lock (Client.Network.Simulators)
|
||||
{
|
||||
@@ -109,7 +109,7 @@ namespace OpenMetaverse.TestClient
|
||||
|
||||
if (Client.Network.Simulators[i] == Client.Network.CurrentSim)
|
||||
{
|
||||
distance = LLVector3.Dist(targetAv.Position, Client.Self.SimPosition);
|
||||
distance = Vector3.Dist(targetAv.Position, Client.Self.SimPosition);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Teleport to a location (e.g. \"goto Hooper/100/100/30\")";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
if (args.Length < 1)
|
||||
return "Usage: goto sim/x/y/z";
|
||||
@@ -41,7 +41,7 @@ namespace OpenMetaverse.TestClient
|
||||
return "Usage: goto sim/x/y/z";
|
||||
}
|
||||
|
||||
if (Client.Self.Teleport(sim, new LLVector3(x, y, z)))
|
||||
if (Client.Self.Teleport(sim, new Vector3(x, y, z)))
|
||||
return "Teleported to " + Client.Network.CurrentSim;
|
||||
else
|
||||
return "Teleport failed: " + Client.Self.TeleportMessage;
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Jumps or flies up";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
Client.Self.Jump();
|
||||
return "Jumped";
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Show the location.";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
return "CurrentSim: '" + Client.Network.CurrentSim.ToString() + "' Position: " +
|
||||
Client.Self.SimPosition.ToString();
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace OpenMetaverse.TestClient.Commands.Movement
|
||||
Description = "Moves the avatar to the specified global position using simulator autopilot. Usage: moveto x y z";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
if (args.Length != 3)
|
||||
return "Usage: moveto x y z";
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Sets home to the current location.";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
Client.Self.SetHome();
|
||||
return "Home Set";
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Attempt to sit on the closest prim";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
Primitive closest = null;
|
||||
double closestDistance = Double.MaxValue;
|
||||
@@ -22,7 +22,7 @@ namespace OpenMetaverse.TestClient
|
||||
Client.Network.CurrentSim.ObjectsPrimitives.ForEach(
|
||||
delegate(Primitive prim)
|
||||
{
|
||||
float distance = LLVector3.Dist(Client.Self.SimPosition, prim.Position);
|
||||
float distance = Vector3.Dist(Client.Self.SimPosition, prim.Position);
|
||||
|
||||
if (closest == null || distance < closestDistance)
|
||||
{
|
||||
@@ -34,7 +34,7 @@ namespace OpenMetaverse.TestClient
|
||||
|
||||
if (closest != null)
|
||||
{
|
||||
Client.Self.RequestSit(closest.ID, LLVector3.Zero);
|
||||
Client.Self.RequestSit(closest.ID, Vector3.Zero);
|
||||
Client.Self.Sit();
|
||||
|
||||
return "Sat on " + closest.ID + " (" + closest.LocalID + "). Distance: " + closestDistance;
|
||||
|
||||
@@ -14,14 +14,14 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Attempt to sit on a particular prim, with specified UUID";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
if (args.Length != 1)
|
||||
return "Usage: siton UUID";
|
||||
|
||||
LLUUID target;
|
||||
UUID target;
|
||||
|
||||
if (LLUUID.TryParse(args[0], out target))
|
||||
if (UUID.TryParse(args[0], out target))
|
||||
{
|
||||
Primitive targetPrim = Client.Network.CurrentSim.ObjectsPrimitives.Find(
|
||||
delegate(Primitive prim)
|
||||
@@ -32,7 +32,7 @@ namespace OpenMetaverse.TestClient
|
||||
|
||||
if (targetPrim != null)
|
||||
{
|
||||
Client.Self.RequestSit(targetPrim.ID, LLVector3.Zero);
|
||||
Client.Self.RequestSit(targetPrim.ID, Vector3.Zero);
|
||||
Client.Self.Sit();
|
||||
return "Requested to sit on prim " + targetPrim.ID.ToString() +
|
||||
" (" + targetPrim.LocalID + ")";
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Stand";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
Client.Self.Stand();
|
||||
return "Standing up.";
|
||||
|
||||
Reference in New Issue
Block a user