More documenting. Applied patches #1723 and #1724. Someone test nant build.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@729 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
otakup0pe
2006-12-16 16:51:04 +00:00
parent acc8ff8eb5
commit a2a9e5bf8a
6 changed files with 66 additions and 45 deletions

View File

@@ -6,19 +6,20 @@ using libsecondlife.Packets;
namespace libsecondlife.TestClient
{
public class UptimeCommand: Command
public class UptimeCommand : Command
{
public DateTime Created = DateTime.Now;
public DateTime Created = DateTime.Now;
public UptimeCommand()
{
Name = "uptime";
Description = "Shows the login time and length of time logged on.";
}
public UptimeCommand()
{
Name = "uptime";
Description = "Shows the login name, login time and length of time logged on.";
}
public override string Execute(SecondLife Client, string[] args, LLUUID fromAgentID)
{
return "Up Since: " + Created + " (" + (DateTime.Now - Created) + ")";
}
{
string name = Client.ToString();
return "I am " + name + ", Up Since: " + Created + " (" + (DateTime.Now - Created) + ")";
}
}
}
}

View File

@@ -23,10 +23,10 @@
- datetime::parse('01/01/2002'))))}" />
<property
name="assembly"
value="TestCommand"/>
value="TestClient"/>
<property
name="bin_dir"
value="../../bin" />
value="../../../bin" />
<!-- default configuration -->
<property
@@ -74,7 +74,7 @@
<!-- build tasks -->
<target
name="build"
depends="init build-dll"
depends="init"
description="Builds the binaries for the current configuration">
<echo message="Build Directory is ${bin_dir}/" />
<mkdir