1
0

UUIDQuery.cs 557 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using Db4objects.Db4o;
  5. using Db4objects.Db4o.Query;
  6. using libsecondlife;
  7. using OpenSim.Framework.Interfaces;
  8. using OpenSim.Framework.Assets;
  9. namespace OpenSim.Storage.LocalStorageDb4o
  10. {
  11. public class UUIDQuery : Predicate
  12. {
  13. private LLUUID _findID;
  14. public UUIDQuery(LLUUID find)
  15. {
  16. _findID = find;
  17. }
  18. public bool Match(PrimData prim)
  19. {
  20. return (prim.FullID == _findID);
  21. }
  22. }
  23. }