mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Fixing a spot I missed in assets. Switching Grid to the new naming schema with Store/Get
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using OpenMetaverse;
|
||||
using OpenSim.Framework;
|
||||
@@ -46,6 +47,18 @@ namespace OpenSim.Tests.Common.Mock
|
||||
public void Initialise(string connect) {}
|
||||
public void Dispose() {}
|
||||
|
||||
private readonly List<AssetBase> assets = new List<AssetBase>();
|
||||
|
||||
public AssetBase GetAsset(UUID uuid)
|
||||
{
|
||||
return assets.Find(x=>x.FullID == uuid);
|
||||
}
|
||||
|
||||
public void StoreAsset(AssetBase asset)
|
||||
{
|
||||
assets.Add(asset);
|
||||
}
|
||||
|
||||
public List<AssetMetadata> FetchAssetMetadataSet(int start, int count) { return new List<AssetMetadata>(count); }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user