public bool SetPrices(long itemEntityId, int price)
{
var refItem = this.Owner.Inventory.GetItem(itemEntityId);
if (refItem == null || refItem.Info.Pocket != this.Bag.OptionInfo.LinkedPocketId)
return false;
// Update all items with the same item id as the reference item.
var items = this.GetAllItems();
foreach (var item in items.Where(a => a.Info.Id == refItem.Info.Id))
this.UpdatePrice(item, price);
return true;
}