Modifier and Type | Field | Description |
---|---|---|
protected java.util.List<Auctioneer> |
auctionHouseList |
|
protected java.util.List<Banker> |
bankList |
|
protected java.util.Map<java.lang.String,java.util.Set<Places>> |
holyPlaces |
|
protected java.util.List<Librarian> |
libraryList |
|
protected java.util.List<PostOffice> |
postOfficeList |
idConverter
isDebugging, name, serviceClient, tickStatus
STATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET
Constructor | Description |
---|---|
CityCafe() |
Modifier and Type | Method | Description |
---|---|---|
void |
addAuctionHouse(Auctioneer newOne) |
Adds the given Auctioneer to the city cache
|
void |
addBank(Banker newOne) |
Adds the given Banker to this cache
|
void |
addLibrary(Librarian newOne) |
Add a Librarian to the city cache
|
void |
addPostOffice(PostOffice newOne) |
Adds the given PostOffice object to the city cache
|
java.util.Enumeration<Auctioneer> |
auctionHouses() |
Returns an enumeration of all Auctioneer objects in the
city cache
|
java.util.Enumeration<java.lang.String> |
bankChains(Area AreaOrNull) |
Returns an iterator of all bank chains, with a given
optional Area to act as a filter.
|
java.util.Enumeration<Banker> |
banks() |
Returns an enumeration of all Bankers in the cache
|
void |
delAuctionHouse(Auctioneer oneToDel) |
Deletes the given Auctioneer from the city cache
|
void |
delBank(Banker oneToDel) |
Deletes the given Banker from the cache.
|
void |
delLibrary(Librarian oneToDel) |
Delete a Librarian from the city cache.
|
void |
delPostOffice(PostOffice oneToDel) |
Removes the given PostOffice object from the city cache
|
void |
deregisterHolyPlace(java.lang.String deityName,
Places newOne) |
De-register a particular room that was probably infused
to the given deity.
|
Auctioneer |
getAuctionHouse(java.lang.String chain,
java.lang.String areaNameOrBranch) |
Returns a cached Auctioneer of the given chain, from the given
area.
|
Banker |
getBank(java.lang.String chain,
java.lang.String areaNameOrBranch) |
Returns a cached Banker of the given chain, from the given
area.
|
protected java.util.Set<Places> |
getHolyPlaces(java.lang.String deityName) |
|
Librarian |
getLibrary(java.lang.String chain,
java.lang.String areaNameOrBranch) |
Returns a cached Librarian of the given chain, from the given
area.
|
PostOffice |
getPostOffice(java.lang.String chain,
java.lang.String areaNameOrBranch) |
Returns a cached PostOffice of the given chain, from the given
area.
|
java.util.Enumeration<Places> |
holyPlaces(java.lang.String deityName) |
Enumerate the holy places for the given deity.
|
java.lang.String |
ID() |
The CoffeeMud Java Class ID shared by all instances of
this object.
|
java.util.Enumeration<Librarian> |
libraries() |
Returns an enumeration of all Librarians in the cache.
|
java.util.Enumeration<java.lang.String> |
libraryChains(Area areaOrNull) |
Given an Area to act as filter, or null for no filter,
this will return an iterator of library chain names.
|
int |
numAuctionHouses() |
|
int |
numBanks() |
|
int |
numLibraries() |
Returns the number of cached Librarian objects
|
int |
numPostOffices() |
|
java.util.Enumeration<PostOffice> |
postOffices() |
An enumeration of all PostOffice objects in the cache
|
void |
registerHolyPlace(java.lang.String deityName,
Places newOne) |
Register a particular room as infused to the given deity.
|
activate, getServiceClient, L, propertiesLoaded, shutdown
copyOf, initializeClass, name, newInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
activate, checkDatabase, compareTo, copyOf, getServiceClient, getTickStatus, initializeClass, L, name, newInstance, propertiesLoaded, setThreadStatus, shutdown, tick
protected java.util.List<PostOffice> postOfficeList
protected java.util.List<Auctioneer> auctionHouseList
protected java.util.List<Banker> bankList
protected java.util.List<Librarian> libraryList
protected java.util.Map<java.lang.String,java.util.Set<Places>> holyPlaces
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class StdLibrary
public int numPostOffices()
public void addPostOffice(PostOffice newOne)
CityMap
addPostOffice
in interface CityMap
newOne
- the PostOffice object to cacheCityMap.getPostOffice(String, String)
,
CityMap.postOffices()
,
CityMap.addPostOffice(PostOffice)
,
CityMap.delPostOffice(PostOffice)
public void delPostOffice(PostOffice oneToDel)
CityMap
delPostOffice
in interface CityMap
oneToDel
- the PostOffice object to remove from the city cacheCityMap.getPostOffice(String, String)
,
CityMap.postOffices()
,
CityMap.addPostOffice(PostOffice)
,
CityMap.delPostOffice(PostOffice)
public PostOffice getPostOffice(java.lang.String chain, java.lang.String areaNameOrBranch)
CityMap
getPostOffice
in interface CityMap
chain
- name of the postal chain to return a Banker ofareaNameOrBranch
- name of the area to return the chain PostOffice inCityMap.getPostOffice(String, String)
,
CityMap.postOffices()
,
CityMap.addPostOffice(PostOffice)
,
CityMap.delPostOffice(PostOffice)
public java.util.Enumeration<PostOffice> postOffices()
CityMap
postOffices
in interface CityMap
CityMap.getPostOffice(String, String)
,
CityMap.postOffices()
,
CityMap.addPostOffice(PostOffice)
,
CityMap.delPostOffice(PostOffice)
public java.util.Enumeration<Auctioneer> auctionHouses()
CityMap
auctionHouses
in interface CityMap
CityMap.getAuctionHouse(String, String)
,
CityMap.auctionHouses()
,
CityMap.addAuctionHouse(Auctioneer)
,
CityMap.delAuctionHouse(Auctioneer)
public int numAuctionHouses()
public void addAuctionHouse(Auctioneer newOne)
CityMap
addAuctionHouse
in interface CityMap
newOne
- Auctioneer to addCityMap.getAuctionHouse(String, String)
,
CityMap.auctionHouses()
,
CityMap.addAuctionHouse(Auctioneer)
,
CityMap.delAuctionHouse(Auctioneer)
public void delAuctionHouse(Auctioneer oneToDel)
CityMap
delAuctionHouse
in interface CityMap
oneToDel
- the Auctioneer to deleteCityMap.getAuctionHouse(String, String)
,
CityMap.auctionHouses()
,
CityMap.addAuctionHouse(Auctioneer)
,
CityMap.delAuctionHouse(Auctioneer)
public Auctioneer getAuctionHouse(java.lang.String chain, java.lang.String areaNameOrBranch)
CityMap
getAuctionHouse
in interface CityMap
chain
- name of the chain to return a Auctioneer ofareaNameOrBranch
- name of the area to return the chain Auctioneer inCityMap.getAuctionHouse(String, String)
,
CityMap.auctionHouses()
,
CityMap.addAuctionHouse(Auctioneer)
,
CityMap.delAuctionHouse(Auctioneer)
public int numBanks()
public void addBank(Banker newOne)
CityMap
addBank
in interface CityMap
newOne
- the Banker to addCityMap.getBank(String, String)
,
CityMap.banks()
,
CityMap.bankChains(Area)
,
CityMap.delBank(Banker)
public void delBank(Banker oneToDel)
CityMap
delBank
in interface CityMap
oneToDel
- the Banker to deleteCityMap.getBank(String, String)
,
CityMap.banks()
,
CityMap.bankChains(Area)
,
CityMap.addBank(Banker)
public Banker getBank(java.lang.String chain, java.lang.String areaNameOrBranch)
CityMap
getBank
in interface CityMap
chain
- name of the bank chain to return a Banker ofareaNameOrBranch
- name of the area to return the chain Banker inCityMap.banks()
,
CityMap.bankChains(Area)
,
CityMap.addBank(Banker)
,
CityMap.delBank(Banker)
public java.util.Enumeration<Banker> banks()
CityMap
banks
in interface CityMap
CityMap.getBank(String, String)
,
CityMap.bankChains(Area)
,
CityMap.addBank(Banker)
,
CityMap.delBank(Banker)
public java.util.Enumeration<java.lang.String> bankChains(Area AreaOrNull)
CityMap
bankChains
in interface CityMap
AreaOrNull
- null or an Area to act as a filterCityMap.getBank(String, String)
,
CityMap.banks()
,
CityMap.addBank(Banker)
,
CityMap.delBank(Banker)
protected java.util.Set<Places> getHolyPlaces(java.lang.String deityName)
public void registerHolyPlace(java.lang.String deityName, Places newOne)
CityMap
registerHolyPlace
in interface CityMap
deityName
- the deity to registernewOne
- the new holy placeCityMap.deregisterHolyPlace(String, Places)
,
CityMap.holyPlaces(String)
public void deregisterHolyPlace(java.lang.String deityName, Places newOne)
CityMap
deregisterHolyPlace
in interface CityMap
deityName
- the deity to de-registernewOne
- the old holy place for this deityCityMap.registerHolyPlace(String, Places)
,
CityMap.holyPlaces(String)
public java.util.Enumeration<Places> holyPlaces(java.lang.String deityName)
CityMap
holyPlaces
in interface CityMap
deityName
- the deity to list forCityMap.registerHolyPlace(String, Places)
,
CityMap.deregisterHolyPlace(String, Places)
public int numLibraries()
CityMap
numLibraries
in interface CityMap
CityMap.getLibrary(String, String)
,
CityMap.libraries()
,
CityMap.libraryChains(Area)
,
CityMap.addLibrary(Librarian)
,
CityMap.delLibrary(Librarian)
public void addLibrary(Librarian newOne)
CityMap
addLibrary
in interface CityMap
newOne
- the Librarian to addCityMap.numLibraries()
,
CityMap.getLibrary(String, String)
,
CityMap.libraries()
,
CityMap.libraryChains(Area)
,
CityMap.delLibrary(Librarian)
public void delLibrary(Librarian oneToDel)
CityMap
delLibrary
in interface CityMap
oneToDel
- the Librarian to addCityMap.numLibraries()
,
CityMap.getLibrary(String, String)
,
CityMap.libraries()
,
CityMap.libraryChains(Area)
,
CityMap.addLibrary(Librarian)
public Librarian getLibrary(java.lang.String chain, java.lang.String areaNameOrBranch)
CityMap
getLibrary
in interface CityMap
chain
- name of the library chain to return a librarian ofareaNameOrBranch
- name of the area to return the chain librarian inCityMap.numLibraries()
,
CityMap.libraries()
,
CityMap.libraryChains(Area)
,
CityMap.addLibrary(Librarian)
,
CityMap.delLibrary(Librarian)
public java.util.Enumeration<Librarian> libraries()
CityMap
libraries
in interface CityMap
CityMap.numLibraries()
,
CityMap.getLibrary(String, String)
,
CityMap.libraryChains(Area)
,
CityMap.addLibrary(Librarian)
,
CityMap.delLibrary(Librarian)
public java.util.Enumeration<java.lang.String> libraryChains(Area areaOrNull)
CityMap
libraryChains
in interface CityMap
areaOrNull
- null, or an Area filterCityMap.numLibraries()
,
CityMap.getLibrary(String, String)
,
CityMap.libraries()
,
CityMap.addLibrary(Librarian)
,
CityMap.delLibrary(Librarian)