* Fixed endianness for OSD handling of uint, long, and ulong (big endian byte arrays are used)

* Fixed CapsServer to handle all content types (old SL clients were sending application/xml, new ones send application/llsd+xml)
* Start the EventQueue ID at 1 (seems to help)
* HyperGrid teleporting is now working in Simian

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2428 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2009-02-05 03:12:41 +00:00
parent 808b681b83
commit 06404ab4e4
7 changed files with 140 additions and 43 deletions

View File

@@ -50,8 +50,8 @@ namespace Simian.Extensions
public event AgentAppearanceCallback OnAgentAppearance;
public event TerrainUpdateCallback OnTerrainUpdate;
public uint RegionX { get { return 1000; } }
public uint RegionY { get { return 1000; } }
public uint RegionX { get { return 7777; } }
public uint RegionY { get { return 7777; } }
public ulong RegionHandle { get { return regionHandle; } }
public UUID RegionID { get { return regionID; } }
public string RegionName { get { return "Simian"; } }
@@ -517,6 +517,11 @@ namespace Simian.Extensions
return eventQueues.Remove(agentID);
}
public bool HasRunningEventQueue(Agent agent)
{
return eventQueues.ContainsKey(agent.Avatar.ID);
}
public void SendEvent(Agent agent, string name, OSDMap body)
{
EventQueueServerCap eventQueue;