TechbloxModdingAPI/GamecraftModdingAPI/Persistence/IEntitySerializer.cs
2020-04-28 21:56:34 -04:00

18 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);
}
}