mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
Feature:Asynchronous Operation & Formatting Code
- Now the async operation is enabled! - Code formatted by Resharper plugin <3
This commit is contained in:
@@ -1,28 +1,21 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EggLink.DanhengServer.Data.Excel
|
||||
namespace EggLink.DanhengServer.Data.Excel;
|
||||
|
||||
[ResourceEntity("MessageContactsConfig.json")]
|
||||
public class MessageContactsConfigExcel : ExcelResource
|
||||
{
|
||||
[ResourceEntity("MessageContactsConfig.json")]
|
||||
public class MessageContactsConfigExcel : ExcelResource
|
||||
public int ID { get; set; }
|
||||
|
||||
[JsonIgnore] public List<MessageGroupConfigExcel> Groups { get; set; } = [];
|
||||
|
||||
public override int GetId()
|
||||
{
|
||||
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);
|
||||
}
|
||||
return ID;
|
||||
}
|
||||
}
|
||||
|
||||
public override void Loaded()
|
||||
{
|
||||
GameData.MessageContactsConfigData.Add(ID, this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user