Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
CommandResult.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 using SiliconStudio.Core.Storage;
5 using System;
6 using System.Collections.Generic;
7 using System.Linq;
8 using SiliconStudio.Core.Serialization.Assets;
9 using SiliconStudio.Core.Serialization.Contents;
10 
11 namespace SiliconStudio.BuildEngine
12 {
13  [ContentSerializer(typeof(DataContentSerializer<CommandResultEntry>))]
14  [DataContract]
15  public class CommandResultEntry
16  {
17  public Dictionary<ObjectUrl, ObjectId> InputDependencyVersions;
18  /// <summary>
19  /// Output object ids as saved in the object database.
20  /// </summary>
21  public Dictionary<ObjectUrl, ObjectId> OutputObjects;
22 
23  /// <summary>
24  /// Tags added for a given URL.
25  /// </summary>
26  public List<KeyValuePair<ObjectUrl, string>> TagSymbols;
27 
28  /// <summary>
29  /// Commands created during the execution of the current command.
30  /// </summary>
31  public List<Command> SpawnedCommands;
32 
34  {
35  InputDependencyVersions = new Dictionary<ObjectUrl, ObjectId>();
36  OutputObjects = new Dictionary<ObjectUrl, ObjectId>();
37  SpawnedCommands = new List<Command>();
38  TagSymbols = new List<KeyValuePair<ObjectUrl, string>>();
39  }
40  }
41 }
Dictionary< ObjectUrl, ObjectId > InputDependencyVersions
CommandResultEntry()
List< Command > SpawnedCommands
Commands created during the execution of the current command.
List< KeyValuePair< ObjectUrl, string > > TagSymbols
Tags added for a given URL.
Dictionary< ObjectUrl, ObjectId > OutputObjects
Output object ids as saved in the object database.