use fragment material and avatar star up also prevent capt. exp overflow

this took wayyyyyyyyyy longer than it shoud be
This commit is contained in:
rafi1212122
2023-06-05 11:05:27 +07:00
parent 130f83544c
commit 934e7475d7
10 changed files with 355 additions and 1 deletions

View File

@@ -0,0 +1,51 @@
using Newtonsoft.Json;
namespace Common.Utils.ExcelReader
{
public class MaterialUseData : BaseExcelReader<MaterialUseData, MaterialUseDataExcel>
{
public override string FileName { get { return "MaterialUseData.json"; } }
public MaterialUseDataExcel? FromId(int id)
{
return All.Where(x => x.UseId == 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 MaterialUseDataExcel
{
[JsonProperty("useType")]
public int UseType { get; set; }
[JsonProperty("MultiUse")]
public int MultiUse { get; set; }
[JsonProperty("MaterialUseConfirmType")]
public int MaterialUseConfirmType { get; set; }
[JsonProperty("paraStr")]
public string[] ParaStr { get; set; }
[JsonProperty("useTip")]
public HashName UseTip { get; set; }
[JsonProperty("useMin")]
public int UseMin { get; set; }
[JsonProperty("useMax")]
public int UseMax { get; set; }
[JsonProperty("AdditionDesc")]
public string AdditionDesc { get; set; }
[JsonProperty("EventID")]
public int EventId { get; set; }
[JsonProperty("DataImpl")]
public object DataImpl { get; set; }
[JsonProperty("useID")]
public int UseId { get; set; }
}
}