mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-12 19:14:34 +01:00
142 lines
3.9 KiB
C#
142 lines
3.9 KiB
C#
using Newtonsoft.Json;
|
|
|
|
namespace Common.Utils.ExcelReader
|
|
{
|
|
public class AvatarSubSkillData : BaseExcelReader<AvatarSubSkillData, AvatarSubSkillDataExcel>
|
|
{
|
|
public override string FileName { get { return "AvatarSubSkillData.json"; } }
|
|
|
|
public AvatarSubSkillDataExcel? FromId(int id)
|
|
{
|
|
return All.Where(subSkill => subSkill.AvatarSubSkillId == id).FirstOrDefault();
|
|
}
|
|
}
|
|
|
|
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
|
public partial class AvatarSubSkillDataExcel
|
|
{
|
|
[JsonProperty("name")]
|
|
public HashName Name { get; set; }
|
|
|
|
[JsonProperty("info")]
|
|
public HashName Info { get; set; }
|
|
|
|
[JsonProperty("brief")]
|
|
public HashName Brief { get; set; }
|
|
|
|
[JsonProperty("showOrder")]
|
|
public int ShowOrder { get; set; }
|
|
|
|
[JsonProperty("skillId")]
|
|
public int SkillId { get; set; }
|
|
|
|
[JsonProperty("ignoreLeader")]
|
|
public bool IgnoreLeader { get; set; }
|
|
|
|
[JsonProperty("iconPath")]
|
|
public string IconPath { get; set; }
|
|
|
|
[JsonProperty("unlockStar")]
|
|
public int UnlockStar { get; set; }
|
|
|
|
[JsonProperty("unlockSubStar")]
|
|
public int UnlockSubStar { get; set; }
|
|
|
|
[JsonProperty("unlockLv")]
|
|
public int UnlockLv { get; set; }
|
|
|
|
[JsonProperty("unlockLvAdd")]
|
|
public int UnlockLvAdd { get; set; }
|
|
|
|
[JsonProperty("maxLv")]
|
|
public int MaxLv { get; set; }
|
|
|
|
[JsonProperty("upLevelSubStarNeedList")]
|
|
public UpLevelSubStarNeedList[] UpLevelSubStarNeedList { get; set; }
|
|
|
|
[JsonProperty("scoinCalc")]
|
|
public bool ScoinCalc { get; set; }
|
|
|
|
[JsonProperty("unlockScoin")]
|
|
public int UnlockScoin { get; set; }
|
|
|
|
[JsonProperty("scoinLvAdd")]
|
|
public int ScoinLvAdd { get; set; }
|
|
|
|
[JsonProperty("itemType")]
|
|
public int ItemType { get; set; }
|
|
|
|
[JsonProperty("skillToggle")]
|
|
public bool SkillToggle { get; set; }
|
|
|
|
[JsonProperty("paramBase_1")]
|
|
public double ParamBase1 { get; set; }
|
|
|
|
[JsonProperty("paramAdd_1")]
|
|
public double ParamAdd1 { get; set; }
|
|
|
|
[JsonProperty("paramBase_2")]
|
|
public double ParamBase2 { get; set; }
|
|
|
|
[JsonProperty("paramAdd_2")]
|
|
public double ParamAdd2 { get; set; }
|
|
|
|
[JsonProperty("paramBase_3")]
|
|
public double ParamBase3 { get; set; }
|
|
|
|
[JsonProperty("paramAdd_3")]
|
|
public double ParamAdd3 { get; set; }
|
|
|
|
[JsonProperty("canTry")]
|
|
public bool CanTry { get; set; }
|
|
|
|
[JsonProperty("ArtifactSkillID")]
|
|
public int ArtifactSkillId { get; set; }
|
|
|
|
[JsonProperty("UpLevelArtifactNeedList")]
|
|
public UpLevelArtifactNeedList[] UpLevelArtifactNeedList { get; set; }
|
|
|
|
[JsonProperty("TagList")]
|
|
public TagList[] TagList { get; set; }
|
|
|
|
[JsonProperty("DataImpl")]
|
|
public object DataImpl { get; set; }
|
|
|
|
[JsonProperty("avatarSubSkillId")]
|
|
public int AvatarSubSkillId { get; set; }
|
|
}
|
|
|
|
public partial class TagList
|
|
{
|
|
[JsonProperty("Strength")]
|
|
public int Strength { get; set; }
|
|
|
|
[JsonProperty("TagID")]
|
|
public int TagId { get; set; }
|
|
|
|
[JsonProperty("TagComment")]
|
|
public HashName TagComment { get; set; }
|
|
}
|
|
|
|
public partial class UpLevelArtifactNeedList
|
|
{
|
|
[JsonProperty("ArtifactLevel")]
|
|
public int ArtifactLevel { get; set; }
|
|
|
|
[JsonProperty("SubSkillLevel")]
|
|
public int SubSkillLevel { get; set; }
|
|
}
|
|
|
|
public partial class UpLevelSubStarNeedList
|
|
{
|
|
[JsonProperty("level")]
|
|
public int Level { get; set; }
|
|
|
|
[JsonProperty("starNeed")]
|
|
public int StarNeed { get; set; }
|
|
|
|
[JsonProperty("subStarNeed")]
|
|
public int SubStarNeed { get; set; }
|
|
}
|
|
}
|