FunGame-Core/Interface/Base/IEntityConverter.cs
milimoe 9631267010
为ReadPropertyName方法添加JsonSerializerOptions (#44)
* 为ReadPropertyName方法添加JsonSerializerOptions

* 添加reader.read();

---------

Co-authored-by: Yezi <53083103+yeziuku@users.noreply.github.com>
2023-07-25 09:16:23 +08:00

10 lines
265 B
C#

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