Area
, Affectable
, Behavable
, CMObject
, Contingent
, Economics
, Environmental
, Expireable
, Modifiable
, MsgListener
, Physical
, PhysicalAgent
, Places
, StatsAffecting
, Tickable
, java.lang.Cloneable
, java.lang.Comparable<CMObject>
StdThinInstance
, StdThinPlanet
public class StdThinArea extends StdArea
Area.CompleteRoomEnumerator, Area.RoomComparator, Area.RoomIDComparator, Area.RoomIDEnumerator, Area.State, Area.Stats
StdArea.AreaInstanceChild, StdArea.IStatContext
DEFAULT_TIME_PASSIVE_LAPSE, FLAG_INSTANCE_CHILD, FLAG_INSTANCE_PARENT, FLAG_THIN, THEME_ALLTHEMES, THEME_BIT_NAMES, THEME_FANTASY, THEME_HEROIC, THEME_INHERIT, THEME_NAMES, THEME_PHRASE, THEME_PHRASE_EXT, THEME_SKILLONLYMASK, THEME_TECHNOLOGY
idConverter
ALL_CLIMATE_MASK, ATMOSPHERE_INHERIT, CLIMASK_COLD, CLIMASK_DRY, CLIMASK_HOT, CLIMASK_INHERIT, CLIMASK_NORMAL, CLIMASK_VOID, CLIMASK_WET, CLIMASK_WINDY, CLIMATE_DESCS, NUM_CLIMATES, placeComparator
_name, affects, amDestroyed, archPath, atmosphere, author, basePhyStats, behaviors, blurbFlags, budget, children, climask, climateObj, currency, derivedAtmo, derivedClimate, derivedTheme, description, devalueRate, empty, emptyPiety, emptyStats, expirationDate, flag, ignoreMask, imageName, invResetRate, itemPricingAdjs, lastComplainer, lastPlayerTime, me, metroRoomIDSet, miscText, myClock, parents, passiveLapseMs, phyStats, playerLevel, prejudiceFactors, properRoomIDSet, properRooms, roomComparator, scripts, STDAREACODES, subOps, theme, threadId, tickStatus, xtraValues
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 |
---|---|
StdThinArea() |
Modifier and Type | Method | Description |
---|---|---|
void |
addProperRoom(Room R) |
This method adds a new Room to this area.
|
long |
flags() |
Return basic attributed flag about the area.
|
int[] |
getAreaIStats() |
Returns an integer array of statistics about this area based on
a snapshot generated the first time it is called.
|
java.util.Enumeration<Room> |
getCompleteMap() |
This method is the same as getProperMap, except that it will load any
Rooms that belong to the area but have not yet been loaded.
|
java.util.Enumeration<Room> |
getMetroMap() |
Returns an enumerator for all previously loaded rooms that
properly belongs to this area AND to any child areas.
|
int |
getPercentRoomsCached() |
|
java.util.Enumeration<Room> |
getProperMap() |
Returns an enumerator for all previously loaded rooms that
properly belongs to this area.
|
Room |
getProperRoom(java.lang.String roomID) |
|
Room |
getRandomProperRoom() |
Returns a random room from this area, loading it if necessary.
|
Room |
getRoom(java.lang.String roomID) |
Returns a room of the given roomID, if it has already been added by calling
addProperRoom.
|
java.lang.String |
ID() |
The CoffeeMud Java Class ID shared by all instances of
this object.
|
boolean |
isRoom(Room R) |
Returns whether the given Room object belongs to this Area, even if the
Room object properly has not been loaded yet (due to the area being thin).
|
boolean |
isRoom(java.lang.String roomID) |
|
boolean |
isRoomCached(java.lang.String roomID) |
Returns whether the given room id object belongs to this Area, and has been
loaded into the memory cache.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBehavior, addBlurbFlag, addChild, addEffect, addMetroRoom, addMetroRoomnumber, addNonUninvokableEffect, addParent, addProperRoomnumber, addScript, addSubOp, affectCharState, affectCharStats, affectPhyStats, amDestroyed, amISubOp, areaBlurbFlags, basePhyStats, behaviors, buildAreaIMobStats, buildAreaIStats, buildAreaPiety, buildAreaStats, canChild, canParent, cloneFix, compareTo, copyOf, delAllBehaviors, delAllEffects, delAllScripts, delBehavior, delBlurbFlag, delEffect, delMetroRoom, delMetroRoomnumber, delProperRoom, delProperRoomnumber, delScript, delSubOp, description, description, destroy, displayText, displayText, eachBehavior, eachEffect, eachScript, effects, executeMsg, expirationDate, fetchBehavior, fetchBehavior, fetchEffect, fetchEffect, fetchScript, fillInAreaRoom, fillInAreaRooms, finalAreaBudget, finalAreaDevalueRate, finalCurrency, finalIgnoreMask, finalInvResetRate, finalItemPricingAdjustments, finalPrejudiceFactors, genericName, getArchivePath, getAreaState, getAreaStats, getAtmosphere, getAtmosphereCode, getAuthorID, getBlurbFlag, getCachedRoomnumbers, getChild, getChildren, getChildrenIterator, getChildrenReverseIterator, getClimateObj, getClimateType, getClimateTypeCode, getCodeNum, getFilledCompleteMap, getFilledProperMap, getFinalBudget, getFinalCurrency, getFinalDevalueRate, getFinalIgnoreMask, getFinalInvResetRate, getFinalItemPricingAdjustments, getFinalPrejudiceFactors, getNewRoomID, getParent, getParents, getParentsIterator, getParentsRecurse, getParentsReverseIterator, getPiety, getPiety, getPlayerLevel, getProperRoomnumbers, getRandomMetroRoom, getRawBbudget, getRawCurrency, getRawDevalueRate, getRawIgnoreMask, getRawInvResetRate, getRawItemPricingAdjustments, getRawPrejudiceFactors, getRoomBase, getSaveStatIndex, getStat, getStatCodes, getSubOpList, getTheme, getThemeCode, getTickStatus, getTimeObj, image, initializeClass, inMyMetroArea, isAreaLocation, isChild, isChild, isChildRecurse, isGeneric, isParent, isParent, isParentRecurse, isProperlyEmpty, isRoomID, isSavable, isStat, L, loadAreas, maxRange, metroSize, minRange, miscTextFormat, name, name, Name, newInstance, numAllBlurbFlags, numBehaviors, numberOfProperIDedRooms, numBlurbFlags, numEffects, numScripts, okMessage, phyStats, properSize, rawImage, recoverPhyStats, removeChild, removeParent, sameAs, scripts, setArchivePath, setAreaState, setAtmosphere, setAuthorID, setBasePhyStats, setBudget, setClimateObj, setClimateType, setCurrency, setDescription, setDevalueRate, setDisplayText, setExpirationDate, setIgnoreMask, setImage, setInvResetRate, setItemPricingAdjustments, setMiscText, setName, setPlayerLevel, setPrejudiceFactors, setProperRoomnumbers, setSavable, setStat, setSubOpList, setTheme, setTimeObj, subOps, text, tick
public java.lang.String ID()
CMObject
public long flags()
Area
flags
in interface Area
flags
in class StdArea
Area.FLAG_THIN
public void addProperRoom(Room R)
Area
addProperRoom
in interface Area
addProperRoom
in class StdArea
R
- the Room to add.Area.addMetroRoom(Room)
,
Room
public Room getProperRoom(java.lang.String roomID)
public int getPercentRoomsCached()
getPercentRoomsCached
in class StdArea
public int[] getAreaIStats()
Area
getAreaIStats
in interface Area
getAreaIStats
in class StdArea
Area.Stats
public Room getRoom(java.lang.String roomID)
Area
public boolean isRoomCached(java.lang.String roomID)
Area
isRoomCached
in interface Area
isRoomCached
in class StdArea
roomID
- the Room id to check forRoom
public Room getRandomProperRoom()
Area
getRandomProperRoom
in interface Area
getRandomProperRoom
in class StdArea
Room
public java.util.Enumeration<Room> getProperMap()
Area
getProperMap
in interface Area
getProperMap
in class StdArea
Area.getCompleteMap()
,
Room
public boolean isRoom(java.lang.String roomID)
public boolean isRoom(Room R)
Area
public java.util.Enumeration<Room> getCompleteMap()
Area
getCompleteMap
in interface Area
getCompleteMap
in class StdArea
Area.getProperMap()
,
Room
public java.util.Enumeration<Room> getMetroMap()
Area
getMetroMap
in interface Area
getMetroMap
in class StdArea
Room