Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
IAssetIndexMap.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System;
4 using System.Collections.Generic;
5 using System.Threading.Tasks;
6 using SiliconStudio.Core.Storage;
7 
8 namespace SiliconStudio.Core.Serialization.Assets
9 {
10  public interface IAssetIndexMap : IDisposable
11  {
12  bool TryGetValue(string url, out ObjectId objectId);
13 
14  IEnumerable<KeyValuePair<string, ObjectId>> SearchValues(Func<KeyValuePair<string, ObjectId>, bool> predicate);
15 
16  bool Contains(string url);
17 
18  ObjectId this[string url] { get; set; }
19 
21  }
22 }
A hash to uniquely identify data.
Definition: ObjectId.cs:13