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