* Removed Agent.CurrentPosition in favor of Agent.Avatar.Position

* Stubbed out the UDP teleport request handler
* Removed some redundancies in the ISceneProvider interface between objects and agents, and fixed SceneManager to operate on both agent and object stores where needed

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2424 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2009-02-03 01:59:46 +00:00
parent 81048b1010
commit 1ab82e4f17
10 changed files with 110 additions and 96 deletions

View File

@@ -35,12 +35,12 @@ namespace Simian.Extensions
agent.Balance = 1000;
agent.CreationTime = Utils.DateTimeToUnixTime(DateTime.Now);
agent.CurrentLookAt = Vector3.UnitZ;
agent.CurrentPosition = new Vector3(128f, 128f, 25f);
agent.Avatar.Position = new Vector3(128f, 128f, 25f);
agent.CurrentRegionHandle = Utils.UIntsToLong(256 * server.Scene.RegionX, 256 * server.Scene.RegionY);
agent.FirstName = firstName;
agent.GodLevel = 0;
agent.HomeLookAt = agent.CurrentLookAt;
agent.HomePosition = agent.CurrentPosition;
agent.HomePosition = agent.Avatar.Position;
agent.HomeRegionHandle = agent.CurrentRegionHandle;
agent.LastName = lastName;
agent.PasswordHash = password;