* Removed unused AgentManager.AgentMovementCallback

* Added Avatar.ControlFlags (not used by libomv directly)
Simian:
* Added ISceneProvider interface
* Fixed ObjectSelect crash (due to a packet block not being filled out if the selected object was missing)
* Simplified BuildFullUpdate()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2196 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-09-04 21:09:44 +00:00
parent bc593002ac
commit f656d185a3
9 changed files with 165 additions and 98 deletions

View File

@@ -0,0 +1,23 @@
using System;
using OpenMetaverse;
namespace Simian
{
public delegate bool ObjectAddedCallback(SimulationObject obj);
public delegate bool ObjectRemovedCallback(SimulationObject obj);
public delegate void ObjectUpdatedCallback(SimulationObject obj);
// TODO: ObjectImpulseAppliedCallback
public interface ISceneProvider
{
event ObjectAddedCallback OnObjectAdded;
event ObjectRemovedCallback OnObjectRemoved;
event ObjectUpdatedCallback OnObjectUpdated;
void AddObject(Agent creator, SimulationObject obj);
void RemoveObject(SimulationObject obj);
bool TryGetObject(uint localID, out SimulationObject obj);
bool TryGetObject(UUID id, out SimulationObject obj);
void ObjectUpdate(SimulationObject obj, byte state, PrimFlags flags);
}
}