OpenSimMirror/OpenSim.Storage/LocalStorageDb4o/UUIDQuery.cs

26 lines
557 B
C#
Raw Permalink Normal View History

2007-03-22 10:11:15 +00:00
using System;
using System.Collections.Generic;
using System.Text;
using Db4objects.Db4o;
using Db4objects.Db4o.Query;
using libsecondlife;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework.Assets;
namespace OpenSim.Storage.LocalStorageDb4o
{
public class UUIDQuery : Predicate
{
private LLUUID _findID;
public UUIDQuery(LLUUID find)
{
_findID = find;
}
public bool Match(PrimData prim)
{
return (prim.FullID == _findID);
}
}
}