Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
RawImport.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 SiliconStudio.Core;
6 using SiliconStudio.Core.IO;
7 
8 namespace SiliconStudio.Assets
9 {
10  /// <summary>
11  /// Describes a raw import, as used in project file.
12  /// </summary>
13  [DataContract("RawImport")]
14  public sealed class RawImport
15  {
16  public RawImport()
17  {
18  Patterns = new List<string>();
19  }
20 
21  /// <summary>
22  /// Gets or sets the source directory.
23  /// </summary>
24  /// <value>
25  /// The source directory.
26  /// </value>
27  [DataMember(10)]
28  [DefaultValue(null)]
29  [UPath(UPathRelativeTo.None)]
30  public UDirectory SourceDirectory { get; set; }
31 
32  /// <summary>
33  /// Gets the source file patterns.
34  /// </summary>
35  /// <value>
36  /// The patterns.
37  /// </value>
38  [DataMember(20)]
39  public List<string> Patterns { get; private set; }
40 
41  /// <summary>
42  /// Gets or sets the asset target location.
43  /// </summary>
44  /// <value>
45  /// The asset target location.
46  /// </value>
47  [DataMember(30)]
48  [DefaultValue(null)]
49  [UPath(UPathRelativeTo.None)]
50  public UDirectory TargetLocation { get; set; }
51  }
52 }
Defines a normalized directory path. See UPath for details. This class cannot be inherited.
Definition: UDirectory.cs:13
Base class that describes a uniform path and provides method to manipulate them. Concrete class are U...
Definition: UPath.cs:21
Describes a raw import, as used in project file.
Definition: RawImport.cs:14
UPathRelativeTo
Enum UPathRelativeTo