Traveller/scripts/map/events/ItemDataChangeEvent.cs
Cold-Mint 63680a9410
Add an event where item data changes.
加入物品数据改变的事件。
2024-09-23 21:03:39 +08:00

16 lines
439 B
C#

using ColdMint.scripts.inventory;
namespace ColdMint.scripts.map.events;
/// <summary>
/// <para>Item Data Change Event</para>
/// <para>项目数据改变事件</para>
/// </summary>
public class ItemDataChangeEvent
{
public Config.ItemDataChangeEventType Type { get; set; }
public int OldIndex { get; set; }
public int NewIndex { get; set; }
public IItem? NewItem { get; set; }
public IItem? OldItem { get; set; }
}