Remove ViewObjectInventory method unsupported by core
parent
1a3a1e6665
commit
5d9e135b5c
|
@ -49,7 +49,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
public delegate bool DuplicateObjectHandler(int objectCount, UUID objectID, UUID owner, Scene scene, Vector3 objectPosition);
|
public delegate bool DuplicateObjectHandler(int objectCount, UUID objectID, UUID owner, Scene scene, Vector3 objectPosition);
|
||||||
public delegate bool EditObjectHandler(UUID objectID, UUID editorID, Scene scene);
|
public delegate bool EditObjectHandler(UUID objectID, UUID editorID, Scene scene);
|
||||||
public delegate bool EditObjectInventoryHandler(UUID objectID, UUID editorID, Scene scene);
|
public delegate bool EditObjectInventoryHandler(UUID objectID, UUID editorID, Scene scene);
|
||||||
public delegate bool ViewObjectInventoryHandler(UUID objectID, UUID editorID, Scene scene);
|
|
||||||
public delegate bool MoveObjectHandler(UUID objectID, UUID moverID, Scene scene);
|
public delegate bool MoveObjectHandler(UUID objectID, UUID moverID, Scene scene);
|
||||||
public delegate bool ObjectEntryHandler(UUID objectID, bool enteringRegion, Vector3 newPoint, Scene scene);
|
public delegate bool ObjectEntryHandler(UUID objectID, bool enteringRegion, Vector3 newPoint, Scene scene);
|
||||||
public delegate bool ReturnObjectsHandler(ILandObject land, UUID user, List<SceneObjectGroup> objects, Scene scene);
|
public delegate bool ReturnObjectsHandler(ILandObject land, UUID user, List<SceneObjectGroup> objects, Scene scene);
|
||||||
|
@ -117,7 +116,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
public event DuplicateObjectHandler OnDuplicateObject;
|
public event DuplicateObjectHandler OnDuplicateObject;
|
||||||
public event EditObjectHandler OnEditObject;
|
public event EditObjectHandler OnEditObject;
|
||||||
public event EditObjectInventoryHandler OnEditObjectInventory;
|
public event EditObjectInventoryHandler OnEditObjectInventory;
|
||||||
public event ViewObjectInventoryHandler OnViewObjectInventory;
|
|
||||||
public event MoveObjectHandler OnMoveObject;
|
public event MoveObjectHandler OnMoveObject;
|
||||||
public event ObjectEntryHandler OnObjectEntry;
|
public event ObjectEntryHandler OnObjectEntry;
|
||||||
public event ReturnObjectsHandler OnReturnObjects;
|
public event ReturnObjectsHandler OnReturnObjects;
|
||||||
|
@ -403,21 +401,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool CanViewObjectInventory(UUID objectID, UUID editorID)
|
|
||||||
{
|
|
||||||
ViewObjectInventoryHandler handler = OnViewObjectInventory;
|
|
||||||
if (handler != null)
|
|
||||||
{
|
|
||||||
Delegate[] list = handler.GetInvocationList();
|
|
||||||
foreach (ViewObjectInventoryHandler h in list)
|
|
||||||
{
|
|
||||||
if (h(objectID, editorID, m_scene) == false)
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region MOVE OBJECT
|
#region MOVE OBJECT
|
||||||
|
|
Loading…
Reference in New Issue