Archived
forked from RDTKEditor/RDTKEditor
添加对 Core 的直接引用
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user