mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
37 lines
926 B
C#
37 lines
926 B
C#
using EggLink.DanhengServer.Enums.Avatar;
|
|
using EggLink.DanhengServer.Enums.Item;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Excel;
|
|
|
|
[ResourceEntity("RelicConfig.json")]
|
|
public class RelicConfigExcel : ExcelResource
|
|
{
|
|
public int ID { get; set; }
|
|
public int SetID { get; set; }
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public RelicTypeEnum Type { get; set; }
|
|
|
|
public int MainAffixGroup { get; set; }
|
|
public int SubAffixGroup { get; set; }
|
|
public int MaxLevel { get; set; }
|
|
public int ExpType { get; set; }
|
|
|
|
public int ExpProvide { get; set; }
|
|
public int CoinCost { get; set; }
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public RarityEnum Rarity { get; set; }
|
|
|
|
public override int GetId()
|
|
{
|
|
return ID;
|
|
}
|
|
|
|
public override void Loaded()
|
|
{
|
|
GameData.RelicConfigData[ID] = this;
|
|
}
|
|
} |