Files
DanhengServer-OpenSource/Common/Data/Excel/MonsterConfigExcel.cs
2024-03-31 17:06:46 +08:00

25 lines
524 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EggLink.DanhengServer.Data.Excel
{
[ResourceEntity("MonsterConfig.json")]
public class MonsterConfigExcel : ExcelResource
{
public int MonsterID { get; set; }
public override int GetId()
{
return MonsterID;
}
public override void Loaded()
{
GameData.MonsterConfigData.Add(MonsterID, this);
}
}
}