Files
DanhengServer-OpenSource/Common/Data/Excel/NPCMonsterDataExcel.cs
2024-03-10 16:55:50 +08:00

26 lines
562 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EggLink.DanhengServer.Data.Excel
{
[ResourceEntity("NPCMonsterData.json")]
public class NPCMonsterDataExcel : ExcelResource
{
public int ID { get; set; }
public HashName NPCName { get; set; } = new();
public override int GetId()
{
return ID;
}
public override void Loaded()
{
GameData.NpcMonsterDataData.Add(ID, this);
}
}
}