Files
DanhengServer-OpenSource/Common/Data/Excel/ShopConfigExcel.cs
2024-04-03 23:16:51 +08:00

28 lines
618 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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);
}
}
}