FunGame-Core/Interface/Base/IEntityConverter.cs

12 lines
295 B
C#

using System.Text.Json;
namespace Milimoe.FunGame.Core.Interface.Base
{
public interface IEntityConverter<T>
{
public T NewInstance();
public void ReadPropertyName(ref Utf8JsonReader reader, string propertyName, JsonSerializerOptions options, ref T result);
}
}