* Added BuyObject and SelectObject

* Simplified the login call in some of the samples
* Converted OnChat to use enums instead of bytes
* TestClient uses MainAvatar.Status instead of sending it's own AgentUpdate packets now
* Slight cleanups to MainAvatarStatus
* Consolidated the DefaultLoginValues functions and added another Login override
* Converted two foreach loops in NetworkManager to for loops for performance
* Duplicate and resent packets are logged at Debug level now

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@984 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2007-02-15 22:13:44 +00:00
parent 82cfa01f08
commit e92257ba8d
10 changed files with 248 additions and 218 deletions

View File

@@ -125,7 +125,7 @@ namespace libsecondlife.TestClient
// "all balance" will send the balance command to all currently logged in bots
if (firstToken == "all" && tokens.Length > 1)
{
cmd = "";
cmd = String.Empty;
// Reserialize all of the arguments except for "all"
for (int i = 1; i < tokens.Length; i++)
@@ -156,8 +156,7 @@ namespace libsecondlife.TestClient
private void updateTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
Self.UpdateCamera(0, Self.Position, forward, left, up, bodyRotation,
LLQuaternion.Identity, DrawDistance, false);
this.Self.Status.SendUpdate();
foreach (Command c in Commands.Values)
if (c.Active)