Files
DanhengServer-OpenSource/Common/Data/Excel/MessageContactsConfigExcel.cs
Somebody 87d228eb79 Feature:Asynchronous Operation & Formatting Code
- Now the async operation is enabled!
- Code formatted by Resharper plugin <3
2024-07-22 17:12:03 +08:00

21 lines
461 B
C#

using Newtonsoft.Json;
namespace EggLink.DanhengServer.Data.Excel;
[ResourceEntity("MessageContactsConfig.json")]
public class MessageContactsConfigExcel : ExcelResource
{
public int ID { get; set; }
[JsonIgnore] public List<MessageGroupConfigExcel> Groups { get; set; } = [];
public override int GetId()
{
return ID;
}
public override void Loaded()
{
GameData.MessageContactsConfigData.Add(ID, this);
}
}