This repository has been archived on 2025-10-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
RDTKEditor/RhythmBaseCore/Adofai/Events/ADCustomTileEvent.cs
T

29 lines
542 B
C#

using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace RhythmBase.Adofai.Events
{
public class ADCustomTileEvent : ADBaseTileEvent
{
public ADCustomTileEvent()
{
Type = ADEventType.CustomTileEvent;
}
public override ADEventType Type { get; }
[JsonIgnore]
public string ActureType
{
get
{
return Data["eventType"].ToString();
}
}
public JObject Data { get; set; }
public override string ToString() => string.Format("{0}({1}): {2}", Parent.Index, Parent.Angle, ActureType);
}
}