|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.MOBS.StdMOB
com.planet_ink.coffee_mud.MOBS.StdShopKeeper
com.planet_ink.coffee_mud.MOBS.StdBanker
com.planet_ink.coffee_mud.MOBS.GenBanker
public class GenBanker
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.planet_ink.coffee_mud.MOBS.StdMOB |
|---|
StdMOB.ApplyAffectCharState<T extends StatsAffecting>, StdMOB.ApplyAffectCharStats<T extends StatsAffecting>, StdMOB.ApplyRecAffectPhyStats<T extends StatsAffecting> |
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.core.interfaces.ShopKeeper |
|---|
ShopKeeper.ShopPrice |
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.MOB |
|---|
MOB.Attrib |
| Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemPossessor |
|---|
ItemPossessor.Expire, ItemPossessor.Find, ItemPossessor.Move |
| Field Summary | |
|---|---|
protected java.lang.String |
bankChain
|
protected java.lang.String |
PrejudiceFactors
|
| Fields inherited from class com.planet_ink.coffee_mud.MOBS.StdBanker |
|---|
bankTimes, coinInterest, itemInterest, loanInterest |
| Fields inherited from class com.planet_ink.coffee_mud.MOBS.StdShopKeeper |
|---|
budget, budgetMax, budgetRemaining, budgetTickDown, devalueRate, invResetRate, invResetTickDown, itemZapperMask, pricingAdjustments, shop, whatIsSoldMask |
| Fields inherited from class com.planet_ink.coffee_mud.MOBS.StdMOB |
|---|
abilitys, abilityUseCache, abilityUseTrig, affectCharState, affectCharStats, affectPhyStats, affects, ageMinutes, amDead, amDestroyed, amFollowing, atRange, attributesBitmap, baseCharStats, basePhyStats, baseState, behaviors, cachedImageName, charStats, clanAffects, clans, CODES, commandQue, curState, databaseID, description, displayText, experience, expertises, factions, followers, inventory, kickFlag, lastLocation, liegeID, location, maxState, me, miscText, money, moneyVariation, mySession, peaceTime, phyStats, playerStats, possHeldItem, possStartRoom, possWieldedItem, practices, questPoint, racialAffects, rawImageName, recoverAffectP, recoverTickCter, removeFromGame, riding, scripts, soulMate, tattoos, tickAgeCounter, tickStatus, trains, username, victim, wimpHitPoint, worshipCharID, xtraValues |
| Fields inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.Banker |
|---|
MIN_ITEM_BALANCE_DIVISOR |
| Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.ShopKeeper |
|---|
DEAL_ALCHEMIST, DEAL_ANYTECHNOLOGY, DEAL_ANYTHING, DEAL_ARMOR, DEAL_AUCTIONEER, DEAL_BANKER, DEAL_BOOKS, DEAL_BUTCHER, DEAL_CASTER, DEAL_CLANBANKER, DEAL_CLANDSELLER, DEAL_CLANPOSTMAN, DEAL_CONFLICTS, DEAL_CSHIPSELLER, DEAL_DESCS, DEAL_FOODSELLER, DEAL_GENERAL, DEAL_GROWER, DEAL_HIDESELLER, DEAL_INNKEEPER, DEAL_INSTRUMENTS, DEAL_INVENTORYONLY, DEAL_JEWELLER, DEAL_LANDSELLER, DEAL_LEATHER, DEAL_LUMBERER, DEAL_MAGIC, DEAL_METALSMITH, DEAL_PETS, DEAL_POSTMAN, DEAL_READABLES, DEAL_SHIPSELLER, DEAL_SLAVES, DEAL_STONEYARDER, DEAL_TRAINER, DEAL_WEAPONS |
| Fields inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.MOB |
|---|
AGE_MILLIS_THRESHOLD, END_SHEATH_TIME, START_SHEATH_TIME |
| Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.MUDCmdProcessor |
|---|
METAFLAG_AS, METAFLAG_ASMESSAGE, METAFLAG_FORCED, METAFLAG_INORDER, METAFLAG_MPFORCED, METAFLAG_ORDER, METAFLAG_POSSESSED, METAFLAG_SNOOPED |
| Constructor Summary | |
|---|---|
GenBanker()
|
|
| Method Summary | |
|---|---|
java.lang.String |
bankChain()
Gets the name of the bank chain to which this banker belongs. |
protected int |
getCodeNum(java.lang.String code)
|
java.lang.String |
getStat(java.lang.String code)
An alternative means of retreiving the values of those fields on this object which are modifiable at run-time by builders. |
java.lang.String[] |
getStatCodes()
Returns an array of the string names of those fields which are modifiable on this object at run-time by builders. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
java.lang.String |
ignoreMask()
Returns the mask used to determine if a customer is ignored by the ShopKeeper. |
boolean |
isGeneric()
Whether the fields of this item are set in code, or set by builders. |
java.lang.String |
prejudiceFactors()
A string describing how pricing for this ShopKeeper will differ based on customer attributes such as race. |
boolean |
sameAs(Environmental E)
Whether this object instance is functionally identical to the object passed in. |
void |
setBankChain(java.lang.String name)
Sets the name of the bank chain to which this banker belongs. |
void |
setIgnoreMask(java.lang.String factors)
Sets the mask used to determine if a customer is ignored by the ShopKeeper. |
void |
setMiscText(java.lang.String newText)
For objects which have false for their isGeneric method, this is used to set any internally coded strings to change the nature or behavior of the object. |
void |
setPrejudiceFactors(java.lang.String factors)
Sets the string describing how pricing for this ShopKeeper will differ based on customer attributes such as race. |
void |
setStat(java.lang.String code,
java.lang.String val)
An alternative means of setting the values of those fields on this object which are modifiable at run-time by builders. |
java.lang.String |
text()
For objects which have false for their isGeneric method, this is used to set any internally coded strings to change the nature or behavior of the object. |
| Methods inherited from class com.planet_ink.coffee_mud.MOBS.StdBanker |
|---|
addDepositInventory, addSoldType, bankLedger, delAllDeposits, delDepositInventory, executeMsg, findDeleteRecursiveDepositInventoryByContainerKey, findDepositInventory, getAccountNames, getBalance, getBankClientName, getCoinInterest, getDebtInfo, getDepositedItems, getItemInterest, getLoanInterest, getRawPDDepositInventory, makeItemContainer, numberDeposited, okMessage, processAccounts, setCoinInterest, setItemInterest, setLoanInterest, setWhatIsSoldMask, tick, timeInterval, totalItemsWorth |
| Methods inherited from class com.planet_ink.coffee_mud.MOBS.StdShopKeeper |
|---|
budget, cloneFix, destroy, devalueRate, doInventoryReset, doISellThis, finalBudget, finalDevalueRate, finalIgnoreMask, finalInvResetRate, finalItemPricingAdjustments, finalPrejudiceFactors, getShop, getStartArea, getWhatIsSoldMask, getWhatIsSoldZappermask, invResetRate, isSold, itemPricingAdjustments, setBudget, setDevalueRate, setInvResetRate, setItemPricingAdjustments, setWhatIsSoldZappermask, storeKeeperString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.ShopKeeper |
|---|
doISellThis, getShop, getWhatIsSoldMask, getWhatIsSoldZappermask, isSold, setWhatIsSoldZappermask, storeKeeperString |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Economics |
|---|
budget, devalueRate, finalBudget, finalDevalueRate, finalIgnoreMask, finalInvResetRate, finalItemPricingAdjustments, finalPrejudiceFactors, invResetRate, itemPricingAdjustments, setBudget, setDevalueRate, setInvResetRate, setItemPricingAdjustments |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
|---|
description, displayText, expirationDate, image, L, maxRange, minRange, miscTextFormat, Name, rawImage, setDescription, setDisplayText, setExpirationDate, setImage, setName |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
|---|
getTickStatus, name |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
|---|
affectCharState, affectCharStats, affectPhyStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Contingent |
|---|
amDestroyed, destroy, isSavable, setSavable |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
|---|
copyOf, initializeClass, newInstance |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Modifiable |
|---|
getSaveStatIndex, isStat |
| Field Detail |
|---|
protected java.lang.String PrejudiceFactors
protected java.lang.String bankChain
| Constructor Detail |
|---|
public GenBanker()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdBankerpublic boolean isGeneric()
Environmental
isGeneric in interface EnvironmentalisGeneric in class StdMOBEnvironmental.text()public java.lang.String text()
Environmental
text in interface Environmentaltext in class StdMOBpublic java.lang.String prejudiceFactors()
Economics
prejudiceFactors in interface EconomicsprejudiceFactors in class StdShopKeeperpublic void setPrejudiceFactors(java.lang.String factors)
Economics
setPrejudiceFactors in interface EconomicssetPrejudiceFactors in class StdShopKeeperfactors - the string describing price prejudicingpublic java.lang.String ignoreMask()
Economics
ignoreMask in interface EconomicsignoreMask in class StdShopKeeperMaskingLibrarypublic void setIgnoreMask(java.lang.String factors)
Economics
setIgnoreMask in interface EconomicssetIgnoreMask in class StdShopKeeperfactors - the mask to useMaskingLibrarypublic java.lang.String bankChain()
Banker
bankChain in interface BankerbankChain in class StdBankerBanker.setBankChain(String)public void setBankChain(java.lang.String name)
Banker
setBankChain in interface BankersetBankChain in class StdBankername - the bank chain nameBanker.bankChain()public void setMiscText(java.lang.String newText)
Environmental
setMiscText in interface EnvironmentalsetMiscText in class StdMOBnewText - either an open internal text string, or XMLpublic java.lang.String getStat(java.lang.String code)
Modifiable
getStat in interface ModifiablegetStat in class StdMOBcode - the name of the field to read.
Modifiable.getStatCodes()
public void setStat(java.lang.String code,
java.lang.String val)
Modifiable
setStat in interface ModifiablesetStat in class StdMOBcode - the name of the field to setval - the value to set the field toModifiable.getStatCodes()protected int getCodeNum(java.lang.String code)
getCodeNum in class StdMOBpublic java.lang.String[] getStatCodes()
Modifiable
getStatCodes in interface ModifiablegetStatCodes in class StdMOBModifiable.getStat(String),
Modifiable.setStat(String, String)public boolean sameAs(Environmental E)
Environmental
sameAs in interface EnvironmentalsameAs in class StdMOBE - the object to compare this one to
Modifiable.getStatCodes(),
Modifiable.getStat(String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||