public void Initialize(AuctionEntry auction, Item item) { AuctionItemID = (int)auction.Id; Item = new ItemInstance(item); Bidder = ObjectGuid.Create(HighGuid.Player, auction.bidder); }
public void Initialize(AuctionEntry auction, Item item) { AuctionItemID = (int)auction.Id; Item = new ItemInstance(item); BidAmount = auction.bid; }
public BuyItem(WorldPacket packet) : base(packet) { Item = new ItemInstance(); }
public void Initialize(AuctionPosting auction) { AuctionID = auction.Id; Item = new ItemInstance(auction.Items[0]); BidAmount = auction.BidAmount; }
public void Initialize(AuctionPosting auction, Item item) { AuctionID = auction.Id; Item = new ItemInstance(item); Bidder = auction.Bidder; }
public void Write(WorldPacket data) { Item = new ItemInstance(); Item.Write(data); data.WriteInt32(Quantity); }