The Thing type exposes the following members.

Constructors

  NameDescription
Public methodThing()()()()
Initializes a new instance of the Thing class
Public methodThing(Thing)
Initializes a new instance of the Thing class
Public methodThing(SerializationInfo, StreamingContext)
Initializes a new instance of the Thing class

Methods

  NameDescription
Public methodAAn
Public methodAddActionProvider<(Of <<'(T>)>>)
Public methodAddClassification
Adds a classification to this thing.
Public methodAddEffect
Adds an effect to this object. This calls Apply()()()()
Public methodAddMainClassification
Adds the main classification. This just adds a classification at the beginning of the classification list. The main classification is used for determining things like nouns for reduced lighting.
Protected methodApplyTemplate
Public methodDestroy
This should be called when an object is to be destroyed. IT should clean up anything like call outs and event handlers so that the object can be garbage collected. For a basic Thing, this just moves it to null.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetActionProvider<(Of <<'(T>)>>)
Public methodGetClassificationForVisLevel
Gets the classification for a vis level. If an object's primary (first) classification is 'thing.weapon.sword' then in low light, this will return 'thing.weapon' and in very low light, 'thing'.
Public methodGetCreatorToBlame
Gets the name of the creator who wrote the code for this object. Exceptions that occur in this object are then sent to that creator or their log file.
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData
Public methodGetRoomPath
Public methodStatic memberGetThing
Public methodGetThingPath
Gets the xml file, if set, or else the class name of this thing.
Public methodGetType (Inherited from Object.)
Public methodGetValue
Public methodGetVisibilityFor
Public methodGetXmlFile
Gets the path of the xml file that this object's data was loaded from
Public methodHasClassification
Determines whether this instance has the specified classification.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMove
Move this object into a different container, or null. Calls 'RemoveFromContainer' on the old container, and 'AddToContainer' on the new container.
Public methodOnDeserialization
Public methodRemoveActionProvider<(Of <<'(T>)>>)
Public methodRemoveClassification
Removes a classification from this thing.
Public methodRemoveEffect
Removes an effect from this object. This calls Remove()()()()
Public methodRenderLongDescriptionFor
Public methodRenderPluralDescriptionFor
Public methodRenderPositionFor
Public methodRenderPositionPluralFor
Public methodRenderShortDescriptionFor
Public methodShowAAn
Should return true if the object description should have an "a" or an "an" in front of it. Otherwise false.
Public methodToString (Inherited from Object.)
Public methodTryGetActionProvider<(Of <<'(T>)>>)

Extension Methods

Fields

  NameDescription
Protected field_container
Protected field_prevContainer

Properties

See Also