The Money type exposes the following members.

Constructors

  NameDescription
Public methodMoney()()()()
Initializes a new instance of the Money class
Public methodMoney(Money)
Initializes a new instance of the Money class
Public methodMoney(SerializationInfo, StreamingContext)
Initializes a new instance of the Money class

Methods

  NameDescription
Public methodAAn (Inherited from Thing.)
Public methodAddActionProvider<(Of <<'(T>)>>) (Inherited from Thing.)
Public methodAddClassification
Adds a classification to this thing.
(Inherited from Thing.)
Public methodAddEffect
Adds an effect to this object. This calls Apply()()()()
(Inherited from Thing.)
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.
(Inherited from Thing.)
Public methodStatic memberAddMoneyClass
Public methodStatic memberAddMoneySet
Protected methodApplyTemplate (Inherited from Thing.)
Public methodStatic memberCountMoney(IEnumerable<(Of <<'(Money>)>>))
Public methodStatic memberCountMoney(IEnumerable<(Of <<'(Money>)>>), String)
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.
(Inherited from Thing.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetActionProvider<(Of <<'(T>)>>) (Inherited from Thing.)
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'.
(Inherited from 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.
(Inherited from Thing.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetMoneyInSet
Public methodGetObjectData (Overrides Item..::..GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetRoomPath (Inherited from Thing.)
Public methodGetThingPath
Gets the xml file, if set, or else the class name of this thing.
(Inherited from Thing.)
Public methodGetType (Inherited from Object.)
Public methodGetValue (Overrides Thing..::..GetValue()()()().)
Public methodGetVisibilityFor (Inherited from Thing.)
Public methodGetXmlFile
Gets the path of the xml file that this object's data was loaded from
(Inherited from Thing.)
Public methodHasClassification
Determines whether this instance has the specified classification.
(Inherited from Thing.)
Public methodStatic memberMakeChange
Takes money and a cost and gives back the appropriate change.
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.
(Inherited from Thing.)
Public methodOnDeserialization (Inherited from Thing.)
Public methodRemoveActionProvider<(Of <<'(T>)>>) (Inherited from Thing.)
Public methodRemoveClassification
Removes a classification from this thing.
(Inherited from Thing.)
Public methodRemoveEffect
Removes an effect from this object. This calls Remove()()()()
(Inherited from Thing.)
Public methodStatic memberRenderCost
Public methodRenderLongDescriptionFor (Inherited from Thing.)
Public methodRenderPluralDescriptionFor (Inherited from Thing.)
Public methodRenderPositionFor (Inherited from Thing.)
Public methodRenderPositionPluralFor (Inherited from Thing.)
Public methodRenderShortDescriptionFor (Inherited from Thing.)
Public methodStatic memberSetMoneyRenderer
Public methodShowAAn
Should return true if the object description should have an "a" or an "an" in front of it. Otherwise false.
(Inherited from Thing.)
Public methodToString (Inherited from Object.)
Public methodTryGetActionProvider<(Of <<'(T>)>>) (Inherited from Thing.)

Extension Methods

Fields

  NameDescription
Protected field_container (Inherited from Thing.)
Protected field_prevContainer (Inherited from Thing.)

Properties

  NameDescription
Public propertyAdjectives (Inherited from Thing.)
Public propertyBaseVisibility (Inherited from Thing.)
Public propertyClassifications
Gets the classifications for this thing.
(Inherited from Thing.)
Public propertyContainer (Inherited from Thing.)
Public propertyCreator (Inherited from Thing.)
Public propertyEffects (Inherited from Thing.)
Public propertyHasEffects (Inherited from Thing.)
Public propertyHeight (Inherited from Item.)
Public propertyInventoryVisible (Inherited from Thing.)
Public propertyIsPositionSet (Inherited from Thing.)
Public propertyLength (Inherited from Item.)
Public propertyLongDescription (Inherited from Thing.)
Public propertyNouns (Inherited from Thing.)
Public propertyPluralDescription (Inherited from Thing.)
Public propertyPluralRegex (Inherited from Thing.)
Public propertyPlurals (Inherited from Thing.)
Public propertyPosition (Inherited from Thing.)
Public propertyPositionPlural (Inherited from Thing.)
Public propertyPossessivePronoun (Inherited from Thing.)
Public propertyPreviousContainer (Inherited from Thing.)
Public propertyPronoun (Inherited from Thing.)
Public propertyReflexivePronoun
The reflexive pronoun for this object. Always returns "itself". Override to change.
(Inherited from Thing.)
Public propertyShortDescription (Inherited from Thing.)
Public propertySingularRegex (Inherited from Thing.)
Public propertyValue
Public propertyWeight (Inherited from Item.)
Public propertyWidth (Inherited from Item.)

See Also