Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Bundle.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 using System.ComponentModel;
5 using System.Diagnostics;
6 using SiliconStudio.Core;
7 
8 namespace SiliconStudio.Assets
9 {
10  /// <summary>
11  /// Description of an asset bundle.
12  /// </summary>
13  [DataContract("Bundle")]
14  [DebuggerDisplay("Bundle [{Name}] Selectors[{Selectors.Count}] Dependencies[{Dependencies.Count}]")]
15  public sealed class Bundle
16  {
17  /// <summary>
18  /// Initializes a new instance of the <see cref="Bundle"/> class.
19  /// </summary>
20  public Bundle()
21  {
22  Selectors = new List<AssetSelector>();
23  Dependencies = new List<string>();
24  }
25 
26  /// <summary>
27  /// Gets or sets the name of this bundle.
28  /// </summary>
29  /// <value>The name.</value>
30  public string Name { get; set; }
31 
32  /// <summary>
33  /// Gets the selectors used by this bundle.
34  /// </summary>
35  /// <value>The selectors.</value>
36  public List<AssetSelector> Selectors { get; private set; }
37 
38  /// <summary>
39  /// Gets the bundle dependencies.
40  /// </summary>
41  /// <value>The dependencies.</value>
42  public List<string> Dependencies { get; private set; }
43 
44  /// <summary>
45  /// Gets the output group (used in conjonction with <see cref="ProjectBuildProfile.OutputGroupDirectories"/> to control where file will be put).
46  /// </summary>
47  /// <value>
48  /// The output group.
49  /// </value>
50  [DefaultValue(null)]
51  public string OutputGroup { get; set; }
52  }
53 }
Bundle()
Initializes a new instance of the Bundle class.
Definition: Bundle.cs:20
Description of an asset bundle.
Definition: Bundle.cs:15