mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Merge branch 'master' into httptests
This commit is contained in:
@@ -29,7 +29,7 @@ using OpenSim.Framework;
|
||||
|
||||
namespace OpenSim.Framework
|
||||
{
|
||||
public interface IImprovedAssetCache
|
||||
public interface IAssetCache
|
||||
{
|
||||
/// <summary>
|
||||
/// Cache the specified asset.
|
||||
@@ -38,6 +38,12 @@ namespace OpenSim.Framework
|
||||
void Cache(AssetBase asset);
|
||||
|
||||
/// <summary>
|
||||
/// Cache that the specified asset wasn't found.
|
||||
/// </summary>
|
||||
/// <param name='id'></param>
|
||||
/// <summary>
|
||||
void CacheNegative(string id);
|
||||
|
||||
/// Get an asset by its id.
|
||||
/// </summary>
|
||||
/// <param name='id'></param>
|
||||
@@ -61,4 +67,4 @@ namespace OpenSim.Framework
|
||||
/// </summary>
|
||||
void Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,7 +50,7 @@ namespace OpenSim.Framework
|
||||
return retitems;
|
||||
}
|
||||
|
||||
public static WearableCacheItem[] FromOSD(OSD pInput, IImprovedAssetCache dataCache)
|
||||
public static WearableCacheItem[] FromOSD(OSD pInput, IAssetCache dataCache)
|
||||
{
|
||||
List<WearableCacheItem> ret = new List<WearableCacheItem>();
|
||||
if (pInput.Type == OSDType.Array)
|
||||
@@ -100,7 +100,7 @@ namespace OpenSim.Framework
|
||||
|
||||
}
|
||||
|
||||
public static OSD ToOSD(WearableCacheItem[] pcacheItems, IImprovedAssetCache dataCache)
|
||||
public static OSD ToOSD(WearableCacheItem[] pcacheItems, IAssetCache dataCache)
|
||||
{
|
||||
OSDArray arr = new OSDArray();
|
||||
foreach (WearableCacheItem item in pcacheItems)
|
||||
|
||||
Reference in New Issue
Block a user