mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
20 lines
494 B
C#
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;
|
|
}
|
|
} |