mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
28 lines
772 B
C#
28 lines
772 B
C#
using EggLink.DanhengServer.Enums.Scene;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace EggLink.DanhengServer.Data.Custom;
|
|
|
|
public class SceneRainbowGroupPropertyConfig
|
|
{
|
|
public Dictionary<int, Dictionary<int, Dictionary<string, Dictionary<int, RainbowGroupPropertyInfo>>>> FloorProperty
|
|
{
|
|
get;
|
|
set;
|
|
} = [];
|
|
}
|
|
|
|
public class RainbowGroupPropertyInfo
|
|
{
|
|
public List<RainbowActionInfo> PrivateActions { get; set; } = [];
|
|
public List<RainbowActionInfo> Actions { get; set; } = [];
|
|
}
|
|
|
|
public class RainbowActionInfo
|
|
{
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public SceneActionTypeEnum ActionType { get; set; } = SceneActionTypeEnum.Unknown;
|
|
|
|
public Dictionary<string, object> Params { get; set; } = [];
|
|
} |