The Room type exposes the following members.

Constructors

  NameDescription
Public methodRoom()()()()
Initializes a new instance of the Room class
Public methodRoom(String)
Initializes a new instance of the Room class
Public methodRoom(Room)
Create a room from an XmlDefs.Room object.

Methods

  NameDescription
Public methodAddCommand
Public methodAddEffect
Adds an effect to this object. This calls Apply()()()()
Public methodAddEventSubscriber
Method AddEventSubscriber
Public methodAddToContainer(Thing)
Public methodAddToContainer(IEnumerable<(Of <<'(Thing>)>>))
Public methodCalcBaseLight
Protected methodCaluclateCoordinates
Public methodDestroy
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindExit
Finds an exit with an alias matching name. If none found, returns null.
Public methodGetCommands
Protected methodGetConditions
GetConditions returns a list of conditions that are currently present in the room. This is used mainly for rendering the description. For example, the list of conditions returned might contain things like "day", "rain", "night", "snow", etc. that are used to select the appropriate description to display. The basics are obtained from the weather and time objects.
Public methodGetCreatorToBlame
Public methodGetDefaultPosition
Public methodGetDefaultPositionPlural
Public methodGetHashCode (Inherited from Object.)
Public methodGetLightLevel
Public methodStatic memberGetLoadedRoomCount
Protected methodGetMatchingDescription
This returns the RoomDescription that matches the conditions returned by GetConditions.
Public methodStatic memberGetRoom
Public methodGetRoomPath
Public methodGetType (Inherited from Object.)
Public methodGetVisibilityFor
Public methodStatic memberGetWeakReferencedRoomCount
Public methodGetWeatherString
Public methodHasClassification
Public methodStatic memberIsRoomLoaded
Is a room loaded?
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveCommand
Public methodRemoveEffect
Removes an effect from this object. This calls Remove()()()()
Public methodRemoveEventSubscriber
Method RemoveEventSubscriber
Public methodRemoveFromContainer(Thing)
Public methodRemoveFromContainer(IEnumerable<(Of <<'(Thing>)>>))
Public methodRenderExitListFor
Gives a string list of exits that the Living p can see.
Public methodRenderFor
This will render the description of the room appropriate for p.
Public methodRoomCounterTick
Public methodRoomFetched
Protected methodRunAction
Public methodStartActions
Public methodStopActions
Public methodStatic memberStrongReferenceRoom
Moves a room to a strong reference.
Public methodToString (Inherited from Object.)
Public methodStatic memberUnloadRoom
Public methodStatic memberWeakReferenceRoom
Moves a room to a weak reference so that it can potentially be garbage collected.

Fields

Properties

  NameDescription
Public propertyActions
Public propertyBaseLightLevel
Public propertyClassifications
Public propertyCommands
A collection containing the command objects that have been added to this room
Public propertyContents
A collection containing the objects that are in this container.
Public propertyCreator
Public propertyEffects
Public propertyEventPropagations
Public propertyEventSubscribers
Public propertyExits
Returns an ArrayList of Exit with the exits for this room.
Public propertyMap
Public propertyRoomDescriptions
Public propertyStatic memberRoomLoaders
Public propertyTitle
Public propertyXmlFile
Public propertyZones

See Also