This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
TrueCraft/TrueCraft.API/Windows/WindowChangeEventArgs.cs
Drew DeVault a3b8dabc32 Pull in Craft.Net window management
Windows are handled somewhat differently in beta 1.7.3, so this may
eventually have to change a bit.
2014-12-28 11:48:20 -07:00

22 lines
497 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TrueCraft.API.Windows
{
public class WindowChangeEventArgs : EventArgs
{
public int SlotIndex { get; set; }
public ItemStack Value { get; set; }
public bool Handled { get; set; }
public WindowChangeEventArgs(int slotIndex, ItemStack value)
{
SlotIndex = slotIndex;
Value = value;
Handled = false;
}
}
}