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