
Windows are handled somewhat differently in beta 1.7.3, so this may eventually have to change a bit.
22 lines
497 B
C#
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;
|
|
}
|
|
}
|
|
}
|