TechbloxModdingAPI/GamecraftModdingAPI/Persistence/IEntitySerializer.cs

19 lines
509 B
C#
Raw Normal View History

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