* refactor: Rename InventoryModule to InventoryTransferModule
parent
3fc86cb578
commit
e768602681
|
@ -35,7 +35,7 @@ namespace OpenSim.Framework
|
|||
/// <summary>
|
||||
/// An interface for accessing and managing agent inventory
|
||||
/// </summary>
|
||||
public interface IInventoryModule
|
||||
public interface IInventoryTransferModule
|
||||
{
|
||||
void SetRootAgentScene(UUID agentID, Scene scene);
|
||||
bool NeedSceneCacheClear(UUID agentID, Scene scene);
|
|
@ -36,7 +36,7 @@ using OpenSim.Region.Environment.Scenes;
|
|||
|
||||
namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer
|
||||
{
|
||||
public class InventoryModule : IInventoryModule, IRegionModule
|
||||
public class InventoryTransferModule : IInventoryTransferModule, IRegionModule
|
||||
{
|
||||
private static readonly ILog m_log
|
||||
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
@ -59,7 +59,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Transfer
|
|||
{
|
||||
m_Scenelist.Add(scene);
|
||||
|
||||
scene.RegisterModuleInterface<IInventoryModule>(this);
|
||||
scene.RegisterModuleInterface<IInventoryTransferModule>(this);
|
||||
|
||||
scene.EventManager.OnNewClient += OnNewClient;
|
||||
scene.EventManager.OnClientClosed += ClientLoggedOut;
|
|
@ -4022,7 +4022,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
|
||||
public void SetRootAgentScene(UUID agentID)
|
||||
{
|
||||
IInventoryModule inv = RequestModuleInterface<IInventoryModule>();
|
||||
IInventoryTransferModule inv = RequestModuleInterface<IInventoryTransferModule>();
|
||||
if (inv == null)
|
||||
return;
|
||||
|
||||
|
@ -4031,7 +4031,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
|
||||
public bool NeedSceneCacheClear(UUID agentID)
|
||||
{
|
||||
IInventoryModule inv = RequestModuleInterface<IInventoryModule>();
|
||||
IInventoryTransferModule inv = RequestModuleInterface<IInventoryTransferModule>();
|
||||
if (inv == null)
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue