mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-16 23:34:52 +01:00
CustomHead and Frame impl, with GetMainDataRsp fix
This commit is contained in:
43
Common/Utils/ExcelReader/FrameData.cs
Normal file
43
Common/Utils/ExcelReader/FrameData.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Common.Utils.ExcelReader
|
||||
{
|
||||
public class FrameData : BaseExcelReader<FrameData, FrameDataExcel>
|
||||
{
|
||||
public override string FileName { get { return "FrameData.json"; } }
|
||||
}
|
||||
|
||||
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
||||
public partial class FrameDataExcel
|
||||
{
|
||||
[JsonProperty("name")]
|
||||
public HashName Name { get; set; }
|
||||
|
||||
[JsonProperty("rarity")]
|
||||
public int Rarity { get; set; }
|
||||
|
||||
[JsonProperty("desc")]
|
||||
public HashName Desc { get; set; }
|
||||
|
||||
[JsonProperty("iconPath")]
|
||||
public string IconPath { get; set; }
|
||||
|
||||
[JsonProperty("imagePath")]
|
||||
public string ImagePath { get; set; }
|
||||
|
||||
[JsonProperty("isShow")]
|
||||
public bool IsShow { get; set; }
|
||||
|
||||
[JsonProperty("UIShowOrder")]
|
||||
public int UiShowOrder { get; set; }
|
||||
|
||||
[JsonProperty("Type")]
|
||||
public int Type { get; set; }
|
||||
|
||||
[JsonProperty("DataImpl")]
|
||||
public object DataImpl { get; set; }
|
||||
|
||||
[JsonProperty("id")]
|
||||
public int Id { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user