using GUPS.AntiCheat.Protected; using Newtonsoft.Json; using System.Collections.Generic; public class attandancetabledata { ProtectedInt32 _Day; public int n_Day { get { return _Day; } set { _Day = value; _Day.Obfuscate(); } } ProtectedInt32 _GachaAmount; public int n_GachaAmount { get { return _GachaAmount; } set { _GachaAmount = value; _GachaAmount.Obfuscate(); } } } public class table_attandance : table_base { public static table_attandance Ins; List tableDatas; protected override void Awake() { Ins = this; base.Awake(); } protected override void Start() { tableDatas = JsonConvert.DeserializeObject>(json_last); base.Start(); } public List Get_DataList() { return tableDatas; } public attandancetabledata Get_Data(int day) { return Get_DataList().Find(f=>f.n_Day == day); } }