mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
Heart surgery no.2: the inventory service hooks.
Several improvements in the connectors themselves. Several improvements in configurations. Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
This commit is contained in:
@@ -146,6 +146,26 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
protected IInventoryService m_InventoryService = null;
|
||||
|
||||
public IInventoryService InventoryService
|
||||
{
|
||||
get
|
||||
{
|
||||
if (m_InventoryService == null)
|
||||
{
|
||||
m_InventoryService = RequestModuleInterface<IInventoryService>();
|
||||
|
||||
if (m_InventoryService == null)
|
||||
{
|
||||
throw new Exception("No IInventoryService available.");
|
||||
}
|
||||
}
|
||||
|
||||
return m_InventoryService;
|
||||
}
|
||||
}
|
||||
|
||||
protected IXMLRPC m_xmlrpcModule;
|
||||
protected IWorldComm m_worldCommModule;
|
||||
protected IAvatarFactory m_AvatarFactory;
|
||||
|
||||
Reference in New Issue
Block a user