using ColdMint.scripts.inventory; namespace ColdMint.scripts.map.events; /// /// Selected item slot changes event /// 选中的物品槽改变事件 /// public class SelectedItemChangeEvent { public int NewIndex { get; set; } public int OldIndex { get; set; } /// /// Newly selected item /// 新选中的物品 /// public IItem? NewItem { get; set; } /// /// Lost the selected item /// 失去选中的物品 /// public IItem? OldItem { get; set; } }