Files
DanhengServer-OpenSource/Common/Data/Excel/ShopConfigExcel.cs
Somebody 87d228eb79 Feature:Asynchronous Operation & Formatting Code
- Now the async operation is enabled!
- Code formatted by Resharper plugin <3
2024-07-22 17:12:03 +08:00

20 lines
438 B
C#

namespace EggLink.DanhengServer.Data.Excel;
[ResourceEntity("ShopConfig.json")]
public class ShopConfigExcel : ExcelResource
{
public int ShopID { get; set; }
public int ShopType { get; set; }
public List<ShopGoodsConfigExcel> Goods { get; set; } = [];
public override int GetId()
{
return ShopID;
}
public override void Loaded()
{
GameData.ShopConfigData.Add(GetId(), this);
}
}