DefaultAuctionpublic interface AuctionData extends CMCommon
idConverter| Modifier and Type | Method | Description | 
|---|---|---|
| int | daysEllapsed(MOB mob,
            MOB mob2) | Returns the number of days ellapsed in this
 auction. | 
| int | daysRemaining(MOB mob,
             MOB mob2) | Returns the number of days remaining in this
 auction. | 
| java.lang.String | getAuctionDBKey() | Get the auction database key for this auction | 
| Item | getAuctionedItem() | Get the item being auctioned. | 
| MOB | getAuctioningMob() | Get the mob auctioning the item | 
| int | getAuctionState() | Get the current auction State | 
| long | getAuctionTickDown() | Get the tick down timer to check stuff | 
| double | getBid() | Get the current bid in the auction | 
| double | getBuyOutPrice() | Get the current buy-out price for this auction. | 
| java.lang.String | getCurrency() | Get the currency the auction is being held in. | 
| double | getHighBid() | Get the current high bid in the auction | 
| MOB | getHighBidderMob() | Get the mob who is the high bidder in the auction. | 
| long | getStartTime() | Get the start time of this auction | 
| void | setAuctionDBKey(java.lang.String auctionDBKey) | Set the auction database key for this auction | 
| void | setAuctionedItem(Item auctionedItem) | Set the item being auctioned. | 
| void | setAuctioningMob(MOB auctioningM) | Set the mob auctioning the item | 
| void | setAuctioningMobName(java.lang.String auctioningMName) | Set the mob auctioning the item | 
| void | setAuctionState(int state) | Set the current auction State | 
| void | setAuctionTickDown(long tickDown) | Set the tick down timer to check stuff | 
| void | setBid(double bid) | Set the current bid in the auction | 
| void | setBuyOutPrice(double buyOutPrice) | Set the current buy-out price for this auction. | 
| void | setCurrency(java.lang.String currency) | Set the currency the auction is being held in. | 
| void | setHighBid(double highBid) | Set the current high bid in the auction | 
| void | setHighBidderMob(MOB highBidderM) | Set the mob who is the high bidder in the auction. | 
| void | setHighBidderMobName(java.lang.String highBidderMName) | Set the mob name who is the high bidder in the auction. | 
| void | setStartTime(long start) | Set the start time of this auction | 
copyOf, ID, initializeClass, name, newInstanceint daysRemaining(MOB mob, MOB mob2)
mob - the mob whose calendar to usemob2 - the second mob whose calendar to useint daysEllapsed(MOB mob, MOB mob2)
mob - the mob whose calendar to usemob2 - the second mob whose calendar to useItem getAuctionedItem()
setAuctionedItem(Item)void setAuctionedItem(Item auctionedItem)
auctionedItem - the item being auctioned.getAuctionedItem()MOB getAuctioningMob()
setAuctioningMob(MOB), 
setAuctioningMobName(String)void setAuctioningMob(MOB auctioningM)
auctioningM - the mob auctioning the itemgetAuctioningMob(), 
setAuctioningMobName(String)void setAuctioningMobName(java.lang.String auctioningMName)
auctioningMName - the mob auctioning the itemgetAuctioningMob(), 
setAuctioningMob(MOB)MOB getHighBidderMob()
setHighBidderMob(MOB), 
setHighBidderMobName(String)void setHighBidderMob(MOB highBidderM)
highBidderM - the mob who is the high bidder in the auction.getHighBidderMob(), 
setHighBidderMobName(String)void setHighBidderMobName(java.lang.String highBidderMName)
highBidderMName - the mob who is the high bidder in the auction.getHighBidderMob(), 
setHighBidderMob(MOB)java.lang.String getCurrency()
setCurrency(String)void setCurrency(java.lang.String currency)
currency - the currency the auction is being held in.getCurrency()double getHighBid()
setHighBid(double)void setHighBid(double highBid)
highBid - the current high bid in the auctiongetHighBid()double getBid()
setBid(double)void setBid(double bid)
bid - the current bid in the auctiongetBid()double getBuyOutPrice()
setBuyOutPrice(double)void setBuyOutPrice(double buyOutPrice)
buyOutPrice - the current buy-out price for this auction.getBuyOutPrice()int getAuctionState()
setAuctionState(int)void setAuctionState(int state)
state - the current auction StategetAuctionState()long getAuctionTickDown()
setAuctionTickDown(long)void setAuctionTickDown(long tickDown)
tickDown - the tick down timer to check stuffgetAuctionTickDown()long getStartTime()
setStartTime(long)void setStartTime(long start)
start - the start time of this auctiongetStartTime()java.lang.String getAuctionDBKey()
setAuctionDBKey(String)void setAuctionDBKey(java.lang.String auctionDBKey)
auctionDBKey - the auction database key for this auctiongetAuctionDBKey()