Files
libremetaverse/Programs/Simian/Interfaces/ISceneProvider.cs
John Hurliman f656d185a3 * 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
2008-09-04 21:09:44 +00:00

24 lines
852 B
C#

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);
}
}