Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
EntityComponentDataConverter.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.Serialization.Converters;
4 
5 namespace SiliconStudio.Paradox.EntityModel.Data
6 {
7  // TODO: This class should be removed as soon as DataConverterAttribute flags can cover this case.
8  public class EntityComponentDataConverter : DataConverter<EntityComponentData, EntityComponent>
9  {
10  public override void ConvertToData(ConverterContext converterContext, ref EntityComponentData data, EntityComponent obj)
11  {
12  }
13 
14  public override void ConvertFromData(ConverterContext converterContext, EntityComponentData data, ref EntityComponent source)
15  {
16  }
17  }
18 }
Base class for converters to/from a data type.
override void ConvertToData(ConverterContext converterContext, ref EntityComponentData data, EntityComponent obj)
Data type for SiliconStudio.Paradox.EntityModel.EntityComponent.
Definition: EngineData.cs:342
override void ConvertFromData(ConverterContext converterContext, EntityComponentData data, ref EntityComponent source)