Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
BundleDescription.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.Collections.Generic;
4 
5 namespace SiliconStudio.Core.Storage
6 {
7  /// <summary>
8  /// Description of a bundle: header, dependencies, objects and assets.
9  /// </summary>
10  public class BundleDescription
11  {
12  public BundleOdbBackend.Header Header { get; set; }
13 
14  public List<string> Dependencies { get; private set; }
15  public List<KeyValuePair<ObjectId, BundleOdbBackend.ObjectInfo>> Objects { get; private set; }
16  public List<KeyValuePair<string, ObjectId>> Assets { get; private set; }
17 
19  {
20  Dependencies = new List<string>();
21  Objects = new List<KeyValuePair<ObjectId, BundleOdbBackend.ObjectInfo>>();
22  Assets = new List<KeyValuePair<string, ObjectId>>();
23  }
24  }
25 }
Description of a bundle: header, dependencies, objects and assets.
A hash to uniquely identify data.
Definition: ObjectId.cs:13