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.
Drew DeVault e5a1ee3439 Implement crafting from the inventory window
This does not include all recipes in the game, and there is no support
for crafting benches yet.
2015-02-07 15:51:38 -07:00

20 lines
491 B
C#

using System;
namespace TrueCraft.API.Windows
{
public interface IWindowArea
{
event EventHandler<WindowChangeEventArgs> WindowChange;
int StartIndex { get; set; }
int Length { get; set; }
int Width { get; }
int Height { get; }
ItemStack[] Items { get; set; }
ItemStack this[int index] { get; set; }
void CopyTo(IWindowArea area);
int MoveOrMergeItem(int index, ItemStack item, IWindowArea from);
}
}