The Thing type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Thing()()()() | Initializes a new instance of the Thing class |
![]() | Thing(Thing) | Initializes a new instance of the Thing class |
![]() | Thing(SerializationInfo, StreamingContext) | Initializes a new instance of the Thing class |
Methods
Name | Description | |
---|---|---|
![]() | AAn | |
![]() | AddActionProvider<(Of <<'(T>)>>) | |
![]() | AddClassification |
Adds a classification to this thing.
|
![]() | AddEffect |
Adds an effect to this object. This calls Apply()()()() |
![]() | AddMainClassification |
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.
|
![]() | ApplyTemplate | |
![]() | Destroy |
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.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetActionProvider<(Of <<'(T>)>>) | |
![]() | GetClassificationForVisLevel |
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'.
|
![]() | GetCreatorToBlame |
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.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetObjectData | |
![]() | GetRoomPath | |
![]() ![]() | GetThing | |
![]() | GetThingPath |
Gets the xml file, if set, or else the class name of this thing.
|
![]() | GetType | (Inherited from Object.) |
![]() | GetValue | |
![]() | GetVisibilityFor | |
![]() | GetXmlFile |
Gets the path of the xml file that this object's data was loaded from
|
![]() | HasClassification |
Determines whether this instance has the specified classification.
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Move |
Move this object into a different container, or null.
Calls 'RemoveFromContainer' on the old container, and
'AddToContainer' on the new container.
|
![]() | OnDeserialization | |
![]() | RemoveActionProvider<(Of <<'(T>)>>) | |
![]() | RemoveClassification |
Removes a classification from this thing.
|
![]() | RemoveEffect |
Removes an effect from this object. This calls Remove()()()() |
![]() | RenderLongDescriptionFor | |
![]() | RenderPluralDescriptionFor | |
![]() | RenderPositionFor | |
![]() | RenderPositionPluralFor | |
![]() | RenderShortDescriptionFor | |
![]() | ShowAAn |
Should return true if the object description should
have an "a" or an "an" in front of it. Otherwise false.
|
![]() | ToString | (Inherited from Object.) |
![]() | TryGetActionProvider<(Of <<'(T>)>>) |
Extension Methods
Name | Description | |
---|---|---|
![]() | RenderFor(Living, Boolean, String) | Overloaded. (Defined by Descriptions.) |
![]() | RenderFor(Living, Living, Boolean, String, Boolean) | Overloaded. (Defined by Descriptions.) |
Fields
Name | Description | |
---|---|---|
![]() | _container | |
![]() | _prevContainer |
Properties
Name | Description | |
---|---|---|
![]() | Adjectives | |
![]() | BaseVisibility | |
![]() | Classifications |
Gets the classifications for this thing.
|
![]() | Container | |
![]() | Creator | |
![]() | Effects | |
![]() | HasEffects | |
![]() | InventoryVisible | |
![]() | IsPositionSet | |
![]() | LongDescription | |
![]() | Nouns | |
![]() | PluralDescription | |
![]() | PluralRegex | |
![]() | Plurals | |
![]() | Position | |
![]() | PositionPlural | |
![]() | PossessivePronoun | |
![]() | PreviousContainer | |
![]() | Pronoun | |
![]() | ReflexivePronoun |
The reflexive pronoun for this object. Always returns "itself". Override to change.
|
![]() | ShortDescription | |
![]() | SingularRegex | |
![]() ![]() | ThingLoaders |