mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
20 lines
518 B
C#
20 lines
518 B
C#
using EggLink.DanhengServer.Enums.Rogue;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Config.Rogue;
|
|
|
|
public class RogueNPCConfigInfo
|
|
{
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public RogueDialogueTypeEnum DialogueType { get; set; }
|
|
|
|
public List<RogueNPCDialogueConfigInfo> DialogueList { get; set; } = [];
|
|
|
|
public void Loaded()
|
|
{
|
|
if (DialogueList.Count == 0) return;
|
|
|
|
foreach (var info in DialogueList) info.Loaded();
|
|
}
|
|
} |