void additem(int index, int unlock, int _price) { inventario_data itemnew = new inventario_data(); itemnew.unlocked = unlock; itemnew.price = _price; catalogo_inventario.Add(index, itemnew); }
inventario_data reset_additem(int unlock, int _price) { inventario_data itemnew = new inventario_data(); itemnew.unlocked = unlock; itemnew.price = _price; return(itemnew); }