Moved Simian's RegionHandle property to main Simian class and AgentUpdate handling to Movement extension class. Added broadcasting of ObjectUpdate packets to all users when AgentUpdate is received. Added required inventory param to LogoutRequestReply.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2106 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
2008-08-18 09:25:10 +00:00
parent 119cc1db4e
commit 1c35fa6468
3 changed files with 83 additions and 85 deletions

View File

@@ -75,7 +75,9 @@ namespace Simian
LogoutReplyPacket reply = new LogoutReplyPacket();
reply.AgentData.AgentID = agent.AgentID;
reply.AgentData.SessionID = agent.SessionID;
reply.InventoryData = new LogoutReplyPacket.InventoryDataBlock[0];
reply.InventoryData = new LogoutReplyPacket.InventoryDataBlock[1];
reply.InventoryData[0] = new LogoutReplyPacket.InventoryDataBlock();
reply.InventoryData[0].ItemID = UUID.Zero;
lock (server.Agents)
{