mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-12 22:34:36 +01:00
dummy gacha & memorial arena
This commit is contained in:
37
Common/Utils/ExcelReader/SingleWantedStageGroup.cs
Normal file
37
Common/Utils/ExcelReader/SingleWantedStageGroup.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Common.Utils.ExcelReader
|
||||
{
|
||||
public class SingleWantedStageGroup : BaseExcelReader<SingleWantedStageGroup, SingleWantedStageGroupExcel>
|
||||
{
|
||||
public override string FileName { get { return "SingleWantedStageGroup.json"; } }
|
||||
|
||||
public SingleWantedStageGroupExcel? FromGroupId(int groupId)
|
||||
{
|
||||
return All.FirstOrDefault(group => group.StageGroupId == groupId);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
||||
public partial class SingleWantedStageGroupExcel
|
||||
{
|
||||
[JsonProperty("StageIDList")]
|
||||
public int[] StageIdList { get; set; }
|
||||
|
||||
[JsonProperty("MPStageIDList")]
|
||||
public int[] MpStageIdList { get; set; }
|
||||
|
||||
[JsonProperty("StageGroupThemeID")]
|
||||
public int StageGroupThemeId { get; set; }
|
||||
|
||||
[JsonProperty("StageGroupDesc")]
|
||||
public HashName StageGroupDesc { get; set; }
|
||||
|
||||
[JsonProperty("DataImpl")]
|
||||
public object DataImpl { get; set; }
|
||||
|
||||
[JsonProperty("StageGroupID")]
|
||||
public int StageGroupId { get; set; }
|
||||
}
|
||||
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
|
||||
}
|
||||
Reference in New Issue
Block a user