Files
DanhengServer-OpenSource/Common/Data/Excel/RollShopConfigExcel.cs
2024-07-07 10:58:52 +08:00

47 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EggLink.DanhengServer.Data.Excel
{
[ResourceEntity("RollShopConfig.json")]
public class RollShopConfigExcel : ExcelResource
{
public int RollShopID { get; set; }
public List<SpecialGroup> SpecialGroupList { get; set; } = new List<SpecialGroup>();
public uint CostItemID { get; set; }
public uint CostItemNum { get; set; }
public uint T1GroupID { get; set; }
public uint T2GroupID { get; set; }
public uint T3GroupID { get; set; }
public uint T4GroupID { get; set; }
public uint SecretGroupID { get; set; }
public string RollShopType { get; set; }
public uint IntroduceID { get; set; }
public ShopName ShopName { get; set; }
public override int GetId()
{
return RollShopID;
}
public override void Loaded()
{
GameData.RollShopConfigData.Add(GetId(), this);
}
}
public class SpecialGroup
{
public string GroupID { get; set; }
public int GroupValue { get; set; }
}
public class ShopName
{
public int Hash { get; set; }
}
}