添加对 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
+44
View File
@@ -0,0 +1,44 @@
using RhythmBase.Components;
namespace RhythmBase.Events
{
/// <summary>
/// Represents an event to set the owner of a hand in a room.
/// </summary>
public class SetHandOwner : BaseEvent, IRoomEvent
{
/// <summary>
/// Initializes a new instance of the <see cref="SetHandOwner"/> class.
/// </summary>
public SetHandOwner()
{
Rooms = new RDRoom(true, new byte[1]);
Type = EventType.SetHandOwner;
Tab = Tabs.Actions;
}
/// <summary>
/// Gets or sets the room associated with the event.
/// </summary>
public RDRoom Rooms { get; set; }
/// <summary>
/// Gets or sets the hand associated with the event.
/// </summary>
public PlayerHands Hand { get; set; }
/// <summary>
/// Gets or sets the character associated with the event.
/// </summary>
public RDCharacters Character { 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; }
}
}