Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
TemplateScope.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 SiliconStudio.Core;
4 
5 namespace SiliconStudio.Assets.Templates
6 {
7  /// <summary>
8  /// Describes if a template is supporting a particular context
9  /// </summary>
10  [DataContract("TemplateScope")]
11  public enum TemplateScope
12  {
13  // TODO We could use flags instead
14 
15  /// <summary>
16  /// The template can be applied to an existing <see cref="PackageSession"/>.
17  /// </summary>
18  Session,
19 
20  /// <summary>
21  /// The template can be applied to an existing <see cref="Assets.Package"/>.
22  /// </summary>
23  Package
24  }
25 }
TemplateScope
Describes if a template is supporting a particular context
The template can be applied to an existing PackageSession.
A package managing assets.
Definition: Package.cs:28