19 lines
509 B
C#
19 lines
509 B
C#
|
using System;
|
|||
|
|
|||
|
using Svelto.ECS;
|
|||
|
using Svelto.ECS.Serialization;
|
|||
|
|
|||
|
using GamecraftModdingAPI.Utility;
|
|||
|
|
|||
|
namespace GamecraftModdingAPI.Persistence
|
|||
|
{
|
|||
|
public interface IEntitySerializer : IDeserializationFactory, IQueryingEntitiesEngine
|
|||
|
{
|
|||
|
IEntityFactory EntityFactory { set; }
|
|||
|
|
|||
|
bool Serialize(ref ISerializationData serializationData, EntitiesDB entitiesDB, IEntitySerialization entitySerializer);
|
|||
|
|
|||
|
bool Deserialize(ref ISerializationData serializationData, IEntitySerialization entitySerializer);
|
|||
|
}
|
|||
|
}
|