mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
* refactor: Establish an IEntityInventory interface for SceneObjectPartInventory.cs and expose that from SceneObjectPart rather than the original object
This commit is contained in:
@@ -147,7 +147,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
/// This part's inventory
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public readonly SceneObjectPartInventory Inventory;
|
||||
public readonly IEntityInventory Inventory;
|
||||
|
||||
[XmlIgnore]
|
||||
public bool Undoing = false;
|
||||
|
||||
@@ -38,7 +38,7 @@ using OpenSim.Region.Environment.Scenes.Scripting;
|
||||
|
||||
namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
public class SceneObjectPartInventory
|
||||
public class SceneObjectPartInventory : IEntityInventory
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user