Traveller/scripts/map/events/SelectedItemSlotChangeEvent.cs
Cold-Mint 5d6d42aa54
Adds the selected slot change event to the item container.
加入物品容器选中的槽位改变事件。
2024-06-20 00:02:32 +08:00

22 lines
598 B
C#

using ColdMint.scripts.inventory;
namespace ColdMint.scripts.map.events;
/// <summary>
/// <para>Selected item slot changes event</para>
/// <para>选中的物品槽改变事件</para>
/// </summary>
public class SelectedItemSlotChangeEvent
{
/// <summary>
/// <para></para>
/// <para>新选中的物品槽</para>
/// </summary>
public ItemSlotNode? NewItemSlotNode { get; set; }
/// <summary>
/// <para>Lost the selected item slot</para>
/// <para>失去选中的物品槽</para>
/// </summary>
public ItemSlotNode? OldItemSlotNode { get; set; }
}