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