* Initial framework support for multiple simulators. Currently only the first region config is loaded, but the framework is there * Big reorganization of config and data files * Started renaming extensions that handle LLUDP packets to start with the LL prefix. Work in progress * Initial SSL support git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2482 52acb1d6-8a22-11de-b505-999d5b087335
61 lines
1.7 KiB
C#
61 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using ExtensionLoader;
|
|
using OpenMetaverse;
|
|
using OpenMetaverse.Packets;
|
|
|
|
namespace Simian
|
|
{
|
|
// FIXME: Implement this class
|
|
class TaskInventoryManager : IExtension<ISceneProvider>, ITaskInventoryProvider
|
|
{
|
|
ISceneProvider scene;
|
|
|
|
public TaskInventoryManager()
|
|
{
|
|
}
|
|
|
|
public bool Start(ISceneProvider scene)
|
|
{
|
|
this.scene = scene;
|
|
return true;
|
|
}
|
|
|
|
public void Stop()
|
|
{
|
|
}
|
|
|
|
public UUID CreateItem(UUID agentID, UUID containerObjectID, string name, string description, InventoryType invType,
|
|
AssetType type, UUID assetID, UUID parentID, PermissionMask ownerMask, PermissionMask nextOwnerMask,
|
|
UUID ownerID, UUID creatorID, UUID transactionID, uint callbackID, bool sendPacket)
|
|
{
|
|
return UUID.Zero;
|
|
}
|
|
|
|
public bool RemoveItem(UUID agentID, UUID containerObjectID, UUID itemID)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public bool TryGetAsset(UUID containerObjectID, UUID assetID, out Asset asset)
|
|
{
|
|
asset = null;
|
|
return false;
|
|
}
|
|
|
|
public void ForEachItem(UUID containerObjectID, Action<InventoryTaskItem> action)
|
|
{
|
|
}
|
|
|
|
public InventoryTaskItem FindItem(UUID containerObjectID, Predicate<InventoryTaskItem> match)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public List<InventoryTaskItem> FindAllItems(UUID containerObjectID, Predicate<InventoryTaskItem> match)
|
|
{
|
|
return new List<InventoryTaskItem>();
|
|
}
|
|
}
|
|
}
|