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:
@@ -13,7 +13,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Turn debug messages on or off. Usage: debug [level] where level is one of None, Debug, Error, Info, Warn";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
if (args.Length != 1)
|
||||
return "Usage: debug [level] where level is one of None, Debug, Error, Info, Warn";
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Lists available commands.";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
StringBuilder result = new StringBuilder();
|
||||
result.AppendFormat("\n\nHELP\nClient accept teleport lures from master and group members.\n");
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Loads commands from a dll. (Usage: load AssemblyNameWithoutExtension)";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
if (args.Length < 1)
|
||||
return "Usage: load AssemblyNameWithoutExtension";
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Logs in another avatar";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
if (args.Length != 3 && args.Length != 4)
|
||||
return "usage: login firstname lastname password [simname]";
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Log this avatar out";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
string name = Client.ToString();
|
||||
Client.ClientManager.Logout(Client);
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Creates an MD5 hash from a given password. Usage: md5 [password]";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
if (args.Length == 1)
|
||||
return Helpers.MD5(args[0]);
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Logs a given number of packets to an xml file. Usage: packetlog 10 tenpackets.xml";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
if (args.Length != 2)
|
||||
return "Usage: packetlog 10 tenpackets.xml";
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Log all avatars out and shut down";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
Client.ClientManager.LogoutAll();
|
||||
Client.ClientManager.Running = false;
|
||||
|
||||
@@ -10,9 +10,9 @@ namespace OpenMetaverse.TestClient
|
||||
public class SetMasterCommand: Command
|
||||
{
|
||||
public DateTime Created = DateTime.Now;
|
||||
private LLUUID resolvedMasterKey = LLUUID.Zero;
|
||||
private UUID resolvedMasterKey = UUID.Zero;
|
||||
private ManualResetEvent keyResolution = new ManualResetEvent(false);
|
||||
private LLUUID query = LLUUID.Zero;
|
||||
private UUID query = UUID.Zero;
|
||||
|
||||
public SetMasterCommand(TestClient testClient)
|
||||
{
|
||||
@@ -20,7 +20,7 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Sets the user name of the master user. The master user can IM to run commands. Usage: setmaster [name]";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
string masterName = String.Empty;
|
||||
for (int ct = 0; ct < args.Length;ct++)
|
||||
@@ -55,14 +55,14 @@ namespace OpenMetaverse.TestClient
|
||||
return String.Format("Master set to {0} ({1})", masterName, Client.MasterKey.ToString());
|
||||
}
|
||||
|
||||
private void KeyResolvHandler(LLUUID queryid, List<DirectoryManager.AgentSearchData> matches)
|
||||
private void KeyResolvHandler(UUID queryid, List<DirectoryManager.AgentSearchData> matches)
|
||||
{
|
||||
if (query != queryid)
|
||||
return;
|
||||
|
||||
resolvedMasterKey = matches[0].AgentID;
|
||||
keyResolution.Set();
|
||||
query = LLUUID.Zero;
|
||||
query = UUID.Zero;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,9 +16,9 @@ namespace OpenMetaverse.TestClient
|
||||
Description = "Sets the key of the master user. The master user can IM to run commands.";
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
Client.MasterKey = LLUUID.Parse(args[0]);
|
||||
Client.MasterKey = UUID.Parse(args[0]);
|
||||
|
||||
lock (Client.Network.Simulators)
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace OpenMetaverse.TestClient
|
||||
testClient.Avatars.OnPointAt += new AvatarManager.PointAtCallback(Avatars_OnPointAt);
|
||||
}
|
||||
|
||||
public override string Execute(string[] args, LLUUID fromAgentID)
|
||||
public override string Execute(string[] args, UUID fromAgentID)
|
||||
{
|
||||
if (args.Length == 0)
|
||||
{
|
||||
@@ -43,8 +43,8 @@ namespace OpenMetaverse.TestClient
|
||||
}
|
||||
}
|
||||
|
||||
private void Avatars_OnPointAt(LLUUID sourceID, LLUUID targetID, LLVector3d targetPos,
|
||||
PointAtType pointType, float duration, LLUUID id)
|
||||
private void Avatars_OnPointAt(UUID sourceID, UUID targetID, Vector3d targetPos,
|
||||
PointAtType pointType, float duration, UUID id)
|
||||
{
|
||||
if (ShowEffects)
|
||||
Console.WriteLine(
|
||||
@@ -53,8 +53,8 @@ namespace OpenMetaverse.TestClient
|
||||
id.ToString());
|
||||
}
|
||||
|
||||
private void Avatars_OnLookAt(LLUUID sourceID, LLUUID targetID, LLVector3d targetPos,
|
||||
LookAtType lookType, float duration, LLUUID id)
|
||||
private void Avatars_OnLookAt(UUID sourceID, UUID targetID, Vector3d targetPos,
|
||||
LookAtType lookType, float duration, UUID id)
|
||||
{
|
||||
if (ShowEffects)
|
||||
Console.WriteLine(
|
||||
@@ -63,8 +63,8 @@ namespace OpenMetaverse.TestClient
|
||||
id.ToString());
|
||||
}
|
||||
|
||||
private void Avatars_OnEffect(EffectType type, LLUUID sourceID, LLUUID targetID,
|
||||
LLVector3d targetPos, float duration, LLUUID id)
|
||||
private void Avatars_OnEffect(EffectType type, UUID sourceID, UUID targetID,
|
||||
Vector3d targetPos, float duration, UUID id)
|
||||
{
|
||||
if (ShowEffects)
|
||||
Console.WriteLine(
|
||||
|
||||
Reference in New Issue
Block a user