|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.planet_ink.coffee_mud.Common.DefaultAuctionPolicy
public class DefaultAuctionPolicy
Constructor Summary | |
---|---|
DefaultAuctionPolicy()
|
Method Summary | |
---|---|
int |
compareTo(CMObject o)
|
CMObject |
copyOf()
Similar to Cloneable.clone(), but does its best to make sure that any internal objects to this class are also copyOfed. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
void |
initializeClass()
Called ONCE after all objects are loaded, but before the map is read in during initialization. |
double |
liveFinalCutPct()
Gets the percent of an items final value to take off the winning bid for the house for a live auction. |
double |
liveListingPrice()
Gets the flat fee in base currency to list an item of any sort at the auction house for a live auction. |
int |
maxTimedAuctionDays()
Gets the maximum number of game-days that an auction can continue. |
void |
mergeAuctioneerPolicy(Auctioneer A)
Alters this policy to take account of the policies of the policies of a full timed auctioneer. |
int |
minTimedAuctionDays()
Gets the minimum number of game-days that an auction can continue. |
java.lang.String |
name()
The displayable name of this object. |
CMObject |
newInstance()
Returns a new instance of this class. |
void |
setLiveFinalCutPct(double d)
Gets the percent of an items final value to take off the winning bid for the house. |
void |
setLiveListingPrice(double d)
Sets the flat fee in base currency to list an item of any sort at the auction house for a live auction. |
void |
setMaxTimedAuctionDays(int d)
Sets the maximum number of game-days that an auction can continue. |
void |
setMinTimedAuctionDays(int d)
Sets the minimum number of game-days that an auction can continue. |
void |
setTimedFinalCutPct(double d)
Gets the percent of an items final value to take off the winning bid for the house. |
void |
setTimedListingPct(double d)
Sets the percent of an items value, per day, to charge to list an item. |
void |
setTimedListingPrice(double d)
Sets the flat fee in base currency to list an item of any sort at the auction house for a timed auction. |
double |
timedFinalCutPct()
Gets the percent of an items final value to take off the winning bid for the house for a timed auction. |
double |
timedListingPct()
Gets the percent of an items value, per day, to charge to list an item. |
double |
timedListingPrice()
Gets the flat fee in base currency to list an item of any sort at the auction house for a timed auction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAuctionPolicy()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
public java.lang.String name()
CMObject
name
in interface CMObject
Environmental.Name()
public int compareTo(CMObject o)
compareTo
in interface java.lang.Comparable<CMObject>
public CMObject newInstance()
CMObject
newInstance
in interface CMObject
public CMObject copyOf()
CMObject
copyOf
in interface CMObject
public void initializeClass()
CMObject
initializeClass
in interface CMObject
public void mergeAuctioneerPolicy(Auctioneer A)
AuctionPolicy
mergeAuctioneerPolicy
in interface AuctionPolicy
A
- the auctioneerAuctioneer
public double timedListingPrice()
AuctionPolicy
timedListingPrice
in interface AuctionPolicy
AuctionPolicy.setTimedListingPrice(double)
public void setTimedListingPrice(double d)
AuctionPolicy
setTimedListingPrice
in interface AuctionPolicy
d
- the flat fee in base currency to listAuctionPolicy.timedListingPrice()
public double timedListingPct()
AuctionPolicy
timedListingPct
in interface AuctionPolicy
AuctionPolicy.setTimedListingPct(double)
public void setTimedListingPct(double d)
AuctionPolicy
setTimedListingPct
in interface AuctionPolicy
d
- the percent of an items value, per dayAuctionPolicy.timedListingPct()
public double timedFinalCutPct()
AuctionPolicy
timedFinalCutPct
in interface AuctionPolicy
AuctionPolicy.setTimedFinalCutPct(double)
public void setTimedFinalCutPct(double d)
AuctionPolicy
setTimedFinalCutPct
in interface AuctionPolicy
d
- the percent of an items final valueAuctionPolicy.timedFinalCutPct()
public int maxTimedAuctionDays()
AuctionPolicy
maxTimedAuctionDays
in interface AuctionPolicy
AuctionPolicy.setMaxTimedAuctionDays(int)
public void setMaxTimedAuctionDays(int d)
AuctionPolicy
setMaxTimedAuctionDays
in interface AuctionPolicy
d
- the maximum number of game-daysAuctionPolicy.maxTimedAuctionDays()
public int minTimedAuctionDays()
AuctionPolicy
minTimedAuctionDays
in interface AuctionPolicy
AuctionPolicy.setMinTimedAuctionDays(int)
public void setMinTimedAuctionDays(int d)
AuctionPolicy
setMinTimedAuctionDays
in interface AuctionPolicy
d
- the minimum number of game-daysAuctionPolicy.minTimedAuctionDays()
public double liveListingPrice()
AuctionPolicy
liveListingPrice
in interface AuctionPolicy
AuctionPolicy.setLiveListingPrice(double)
public void setLiveListingPrice(double d)
AuctionPolicy
setLiveListingPrice
in interface AuctionPolicy
d
- the flat fee in base currency to listAuctionPolicy.liveListingPrice()
public double liveFinalCutPct()
AuctionPolicy
liveFinalCutPct
in interface AuctionPolicy
AuctionPolicy.setLiveFinalCutPct(double)
public void setLiveFinalCutPct(double d)
AuctionPolicy
setLiveFinalCutPct
in interface AuctionPolicy
d
- the percent of an items final valueAuctionPolicy.liveFinalCutPct()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |