Example #1
0
        public SingleItemEditor(Item item)
        {
            InitializeComponent();
            this.TranslateInterface(GameInfo.CurrentLanguage);

            // disassociate from original reference
            Item = item.ToBytesClass().ToClass <Item>();

            ItemEditor.Initialize(GameInfo.Strings.ItemDataSource);
            ItemEditor.LoadItem(Item);
        }
Example #2
0
 public Item LoadItem(int index) => Editor.LoadItem(GetItem(index));