添加对 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
+49
View File
@@ -0,0 +1,49 @@
using RhythmBase.Components;
namespace RhythmBase.Events
{
/// <summary>
/// Represents a camera pulse event in a room.
/// </summary>
public class PulseCamera : BaseEvent, IRoomEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="PulseCamera"/> class.
/// </summary>
public PulseCamera()
{
Rooms = new RDRoom(true, new byte[1]);
Type = EventType.PulseCamera;
Tab = Tabs.Actions;
}
/// <summary>
/// Gets or sets the rooms associated with the event.
/// </summary>
public RDRoom Rooms { get; set; }
/// <summary>
/// Gets or sets the strength of the pulse.
/// </summary>
public byte Strength { get; set; }
/// <summary>
/// Gets or sets the count of pulses.
/// </summary>
public int Count { get; set; }
/// <summary>
/// Gets or sets the frequency of the pulses.
/// </summary>
public float Frequency { get; set; }
/// <summary>
/// Gets the type of the event.
/// </summary>
public override EventType Type { get; }
/// <summary>
/// Gets the tab associated with the event.
/// </summary>
public override Tabs Tab { get; }
}
}