添加对 Core 的直接引用

This commit is contained in:
OLDREDSTONE
2025-03-25 15:49:57 +08:00
parent 24907abedb
commit 06c19bf10a
296 changed files with 24961 additions and 2 deletions
+31
View File
@@ -0,0 +1,31 @@
using System.Diagnostics;
namespace RhythmBase.Events
{
/// <summary>
/// Represents an event to add a free time beat.
/// </summary>
[DebuggerDisplay($"{{{nameof(GetDebuggerDisplay)}(),nq}}")]
public class AddFreeTimeBeat : BaseBeat
{
/// <summary>
/// Initializes a new instance of the <see cref="AddFreeTimeBeat"/> class.
/// </summary>
public AddFreeTimeBeat() { }
/// <summary>
/// Gets or sets the hold duration of the beat.
/// </summary>
public float Hold { get; set; }
/// <summary>
/// Gets or sets the pulse value of the beat.
/// </summary>
public byte Pulse { get; set; }
/// <inheritdoc/>
public override EventType Type { get; } = EventType.AddFreeTimeBeat;
/// <inheritdoc/>
public override string ToString() => base.ToString() + $" {(Pulse + 1)}";
private string GetDebuggerDisplay() => ToString();
}
}