mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-14 23:24:37 +01:00
LeShite abyss
This commit is contained in:
48
Common/Utils/ExcelReader/UltraEndlessSite.cs
Normal file
48
Common/Utils/ExcelReader/UltraEndlessSite.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Common.Utils.ExcelReader
|
||||
{
|
||||
public class UltraEndlessSite : BaseExcelReader<UltraEndlessSite, UltraEndlessSiteExcel>
|
||||
{
|
||||
public override string FileName { get { return "UltraEndlessSite.json"; } }
|
||||
|
||||
public UltraEndlessSiteExcel? FromId(int id)
|
||||
{
|
||||
return All.Where(site => site.SiteId == 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 UltraEndlessSiteExcel
|
||||
{
|
||||
[JsonProperty("StageID")]
|
||||
public int StageId { get; set; }
|
||||
|
||||
[JsonProperty("BuffID")]
|
||||
public int BuffId { get; set; }
|
||||
|
||||
[JsonProperty("SiteNodeName")]
|
||||
public string SiteNodeName { get; set; }
|
||||
|
||||
[JsonProperty("PreSiteList")]
|
||||
public int[] PreSiteList { get; set; }
|
||||
|
||||
[JsonProperty("SiteName")]
|
||||
public string SiteName { get; set; }
|
||||
|
||||
[JsonProperty("LevelEndWebLink")]
|
||||
public string LevelEndWebLink { get; set; }
|
||||
|
||||
[JsonProperty("HardLevelGroup")]
|
||||
public int HardLevelGroup { get; set; }
|
||||
|
||||
[JsonProperty("WebLink")]
|
||||
public string WebLink { get; set; }
|
||||
|
||||
[JsonProperty("DataImpl")]
|
||||
public object DataImpl { get; set; }
|
||||
|
||||
[JsonProperty("SiteID")]
|
||||
public int SiteId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user