LIBOMV-686 Implements new event patterns based on the Microsoft Framework Design Guidelines in ObjectManager

LIBOMV-726 Adds stubs in LindenMessages for new WebFetchInventoryDescendents Capability

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3175 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Jim Radford
2009-10-26 06:03:26 +00:00
parent 8a845c9b22
commit 17468b5f76
17 changed files with 761 additions and 451 deletions

View File

@@ -19,7 +19,7 @@ namespace OpenMetaverse.TestClient.Commands.Movement
Description = "Fly the avatar toward the specified position for a maximum of seconds. Usage: FlyTo x y z [seconds]";
Category = CommandCategory.Movement;
client.Objects.OnObjectUpdated += new ObjectManager.ObjectUpdatedCallback(Objects_OnObjectUpdated);
client.Objects.ObjectUpdated += Objects_OnObjectUpdated;
}
public override string Execute(string[] args, UUID fromAgentID)
@@ -54,10 +54,10 @@ namespace OpenMetaverse.TestClient.Commands.Movement
return string.Format("flying to {0} in {1} seconds", target.ToString(), duration / 1000);
}
private void Objects_OnObjectUpdated(Simulator simulator, ObjectUpdate update, ulong regionHandle, ushort timeDilation)
private void Objects_OnObjectUpdated(object sender, ObjectUpdatedEventArgs e)
{
if (startTime == 0) return;
if (update.LocalID == Client.Self.LocalID)
if (e.Update.LocalID == Client.Self.LocalID)
{
XYMovement();
ZMovement();