chat cmd & hopefully proper avatar level up

This commit is contained in:
rafi1212122
2023-06-02 10:25:29 +07:00
parent 86dc83d448
commit 1a631babe2
5 changed files with 176 additions and 3 deletions

View File

@@ -5,6 +5,11 @@ namespace Common.Utils.ExcelReader
public class MaterialData : BaseExcelReader<MaterialData, MaterialDataExcel>
{
public override string FileName { get { return "MaterialData.json"; } }
public MaterialDataExcel? FromId(uint id)
{
return All.Where(material => material.Id == id).FirstOrDefault();
}
}
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.