
This does not include all recipes in the game, and there is no support for crafting benches yet.
20 lines
491 B
C#
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);
|
|
}
|
|
} |