mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10402] Use ObjectGuid in packets and fix some uint32 guids cases.
This commit is contained in:
parent
c545392f2e
commit
09b03b470e
24 changed files with 77 additions and 82 deletions
|
|
@ -687,13 +687,13 @@ bool AuctionEntry::BuildAuctionInfo(WorldPacket & data) const
|
|||
data << uint32(pItem->GetCount()); //item->count
|
||||
data << uint32(pItem->GetSpellCharges()); //item->charge FFFFFFF
|
||||
data << uint32(0); //Unknown
|
||||
data << uint64(owner); //Auction->owner
|
||||
data << ObjectGuid(HIGHGUID_PLAYER, owner); //Auction->owner
|
||||
data << uint32(startbid); //Auction->startbid (not sure if useful)
|
||||
data << uint32(bid ? GetAuctionOutBid() : 0);
|
||||
//minimal outbid
|
||||
data << uint32(buyout); //auction->buyout
|
||||
data << uint32((expire_time-time(NULL))*IN_MILLISECONDS);//time left
|
||||
data << uint64(bidder) ; //auction->bidder current
|
||||
data << ObjectGuid(HIGHGUID_PLAYER, bidder); //auction->bidder current
|
||||
data << uint32(bid); //current bid
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue