mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-22 03:59:35 +08:00

* 添加DataTable Converter * 修改DataSet Converter,支持多个Tables反序列化,此转换器也支持兼容DataTable * 修改构造方法、工厂方法,添加常用类自定义转换器
16 lines
343 B
C#
16 lines
343 B
C#
using Milimoe.FunGame.Core.Entity;
|
|
using Milimoe.FunGame.Core.Interface.Base;
|
|
|
|
namespace Milimoe.FunGame.Core.Api.Factory
|
|
{
|
|
internal class InventoryFactory : IFactory<Inventory>
|
|
{
|
|
public Type EntityType => typeof(Inventory);
|
|
|
|
public Inventory Create()
|
|
{
|
|
return new Inventory();
|
|
}
|
|
}
|
|
}
|