|
|||||||||
| 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 CMObjectpublic java.lang.String name()
CMObject
name in interface CMObjectEnvironmental.Name()public int compareTo(CMObject o)
compareTo in interface java.lang.Comparable<CMObject>public CMObject newInstance()
CMObject
newInstance in interface CMObjectpublic CMObject copyOf()
CMObject
copyOf in interface CMObjectpublic void initializeClass()
CMObject
initializeClass in interface CMObjectpublic void mergeAuctioneerPolicy(Auctioneer A)
AuctionPolicy
mergeAuctioneerPolicy in interface AuctionPolicyA - the auctioneerAuctioneerpublic double timedListingPrice()
AuctionPolicy
timedListingPrice in interface AuctionPolicyAuctionPolicy.setTimedListingPrice(double)public void setTimedListingPrice(double d)
AuctionPolicy
setTimedListingPrice in interface AuctionPolicyd - the flat fee in base currency to listAuctionPolicy.timedListingPrice()public double timedListingPct()
AuctionPolicy
timedListingPct in interface AuctionPolicyAuctionPolicy.setTimedListingPct(double)public void setTimedListingPct(double d)
AuctionPolicy
setTimedListingPct in interface AuctionPolicyd - the percent of an items value, per dayAuctionPolicy.timedListingPct()public double timedFinalCutPct()
AuctionPolicy
timedFinalCutPct in interface AuctionPolicyAuctionPolicy.setTimedFinalCutPct(double)public void setTimedFinalCutPct(double d)
AuctionPolicy
setTimedFinalCutPct in interface AuctionPolicyd - the percent of an items final valueAuctionPolicy.timedFinalCutPct()public int maxTimedAuctionDays()
AuctionPolicy
maxTimedAuctionDays in interface AuctionPolicyAuctionPolicy.setMaxTimedAuctionDays(int)public void setMaxTimedAuctionDays(int d)
AuctionPolicy
setMaxTimedAuctionDays in interface AuctionPolicyd - the maximum number of game-daysAuctionPolicy.maxTimedAuctionDays()public int minTimedAuctionDays()
AuctionPolicy
minTimedAuctionDays in interface AuctionPolicyAuctionPolicy.setMinTimedAuctionDays(int)public void setMinTimedAuctionDays(int d)
AuctionPolicy
setMinTimedAuctionDays in interface AuctionPolicyd - the minimum number of game-daysAuctionPolicy.minTimedAuctionDays()public double liveListingPrice()
AuctionPolicy
liveListingPrice in interface AuctionPolicyAuctionPolicy.setLiveListingPrice(double)public void setLiveListingPrice(double d)
AuctionPolicy
setLiveListingPrice in interface AuctionPolicyd - the flat fee in base currency to listAuctionPolicy.liveListingPrice()public double liveFinalCutPct()
AuctionPolicy
liveFinalCutPct in interface AuctionPolicyAuctionPolicy.setLiveFinalCutPct(double)public void setLiveFinalCutPct(double d)
AuctionPolicy
setLiveFinalCutPct in interface AuctionPolicyd - the percent of an items final valueAuctionPolicy.liveFinalCutPct()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||