Files
DanhengServer-OpenSource/Common/Data/Excel/RechargeConfigExcel.cs
2025-04-19 13:26:02 +08:00

20 lines
494 B
C#

namespace EggLink.DanhengServer.Data.Excel;
[ResourceEntity("RechargeConfig.json")]
public class RechargeConfigExcel : ExcelResource
{
public string TierID { get; set; } = "";
public string ProductID { get; set; } = "";
public int GiftType { get; set; }
public int ListOrder { get; set; }
public override int GetId()
{
return TierID.GetHashCode();
}
public override void Loaded()
{
GameData.RechargeConfigData[ProductID] = this;
}
}