The Player type exposes the following members.

Constructors

  NameDescription
Public methodPlayer()()()()
Initializes a new instance of the Player class
Public methodPlayer(String)
Initializes a new instance of the Player class
Public methodPlayer(SerializationInfo, StreamingContext)
Initializes a new instance of the Player 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 methodAddCommand (Inherited from Living.)
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 methodAddToContainer
Adds an object to this living. The object gets added to the list of things the living is carrying.
(Inherited from Living.)
Public methodAdjustHealth (Inherited from Living.)
Protected methodApplyTemplate (Inherited from Thing.)
Public methodCanHearThing (Inherited from Living.)
Public methodCanSeeThing (Inherited from Living.)
Public methodCarry (Inherited from Living.)
Public methodConnectionClosed
Public methodDestroy (Overrides Living..::..Destroy()()()().)
Public methodDie (Overrides Living..::..Die()()()().)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetActionProvider<(Of <<'(T>)>>) (Inherited from Thing.)
Public methodGetArmour (Inherited from Living.)
Public methodGetAttack (Inherited from Living.)
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 methodGetColumns
Gets the columns of this player's terminal. If player
Public methodGetCommands (Inherited from Living.)
Public methodGetContainerLightLevel (Inherited from Living.)
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 methodGetDefenses (Inherited from Living.)
Public methodGetFreeHoldLocationCount (Inherited from Living.)
Public methodGetFreeHoldLocations (Inherited from Living.)
Public methodGetFreeWearSlotCount (Inherited from Living.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetHealth (Inherited from Living.)
Public methodGetHearing (Inherited from Living.)
Public methodGetHearingLevel (Inherited from Living.)
Public methodGetHeldThing (Inherited from Living.)
Public methodGetHoldLocations (Inherited from Living.)
Public methodGetIdleTime
Public methodGetLightLevel (Inherited from Living.)
Public methodGetMaxHealth (Inherited from Living.)
Public methodGetObjectData (Overrides Living..::..GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetPrompt
Public methodGetRoomPath (Inherited from Thing.)
Public methodGetRows
Gets the rows of this player's terminal. If Player has set the value manually, Options.Rows is returned. Otherwise the value negotiated from the client is returned.
Public methodGetThingPath
Gets the xml file, if set, or else the class name of this thing.
(Inherited from Thing.)
Public methodGetThingsWornAtLocation (Inherited from Living.)
Public methodGetType (Inherited from Object.)
Public methodGetValue (Inherited from Thing.)
Public methodGetVisibilityFor (Inherited from Thing.)
Public methodGetVisionLevel (Inherited from Living.)
Public methodGetWeapons (Inherited from Living.)
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 methodHeartbeat
Player's heartbeat function. Adds xp, health each tick.
(Overrides Living..::..Heartbeat()()()().)
Public methodHold (Inherited from Living.)
Public methodIncrementHealth (Inherited from Living.)
Public methodIsHoldLocationFree (Inherited from Living.)
Public methodIsValidWearLocation (Inherited from Living.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodModifyCommandResult (Inherited from Living.)
Public methodMove (Overrides Thing..::..Move(IContainer).)
Public methodOnDeserialization (Overrides Living..::..OnDeserialization(Object).)
Public methodProcessInput
Handle input from the player. Takes the input and adds it to _inputQueue.
Public methodReceiveEvent (Overrides Living..::..ReceiveEvent(EventBase).)
Public methodReceiveMessage
Public methodRemoveActionProvider<(Of <<'(T>)>>) (Inherited from Thing.)
Public methodRemoveClassification
Removes a classification from this thing.
(Inherited from Thing.)
Public methodRemoveCommand (Inherited from Living.)
Public methodRemoveEffect
Removes an effect from this object. This calls Remove()()()()
(Inherited from Thing.)
Public methodRemoveFromContainer (Inherited from Living.)
Public methodRenderLongDescriptionFor (Inherited from Living.)
Public methodRenderPluralDescriptionFor (Overrides Thing..::..RenderPluralDescriptionFor(Living).)
Public methodRenderPositionFor (Inherited from Thing.)
Public methodRenderPositionPluralFor (Inherited from Thing.)
Public methodRenderShortDescriptionFor (Overrides Thing..::..RenderShortDescriptionFor(Living).)
Public methodSave
Saves the character to the database.
Public methodSend(String) (Overrides Living..::..Send(String).)
Public methodSend(MString) (Overrides Living..::..Send(MString).)
Public methodSendLine(String) (Overrides Living..::..SendLine(String).)
Public methodSendLine(MString) (Overrides Living..::..SendLine(MString).)
Public methodSetSpecies (Inherited from Living.)
Public methodShowAAn (Overrides Thing..::..ShowAAn()()()().)
Public methodStartHeartbeat (Inherited from Living.)
Public methodThreadedInput
Called from the driver when data arrives but is returned from GetInput() in the connection. Updates last input time and current connection.
Public methodToString (Inherited from Object.)
Public methodTryGetActionProvider<(Of <<'(T>)>>) (Inherited from Thing.)
Public methodWear (Inherited from Living.)

Extension Methods

  NameDescription
Public Extension MethodClose (Defined by CommandActions.)
Public Extension MethodDrop (Defined by CommandActions.)
Public Extension MethodEmote (Defined by CommandActions.)
Public Extension MethodGet(Thing)Overloaded. (Defined by CommandActions.)
Public Extension MethodGet(IEnumerable<(Of <<'(Thing>)>>))Overloaded. (Defined by CommandActions.)
Public Extension MethodGetFrom (Defined by CommandActions.)
Public Extension MethodGo (Defined by CommandActions.)
Public Extension MethodLookAt (Defined by CommandActions.)
Public Extension MethodOpen (Defined by CommandActions.)
Public Extension MethodPush (Defined by CommandActions.)
Public Extension MethodPutIn (Defined by CommandActions.)
Public Extension MethodRenderFor(Living, Boolean, String)Overloaded. (Defined by Descriptions.)
Public Extension MethodRenderFor(Living, Living, Boolean, String, Boolean)Overloaded. (Defined by Descriptions.)
Public Extension MethodSay (Defined by CommandActions.)

Fields

  NameDescription
Protected field_armour (Inherited from Living.)
Protected field_carrying (Inherited from Living.)
Protected field_container (Inherited from Thing.)
Protected field_eventSubscribers (Inherited from Living.)
Protected field_health (Inherited from Living.)
Protected field_heartbeatCount (Inherited from Living.)
Protected field_holding (Inherited from Living.)
Protected field_lightSources (Inherited from Living.)
Protected field_prevContainer (Inherited from Thing.)
Protected field_skills (Inherited from Living.)
Protected field_stats (Inherited from Living.)
Protected field_wearing (Inherited from Living.)

Properties

  NameDescription
Public propertyAdjectives (Inherited from Thing.)
Public propertyArmourLocations (Inherited from Living.)
Public propertyAttacks (Inherited from Living.)
Public propertyBaseVisibility (Inherited from Thing.)
Public propertyCarrying (Inherited from Living.)
Public propertyCharacterName
Public propertyClassifications
Gets the classifications for this thing.
(Inherited from Thing.)
Public propertyCombatManager (Inherited from Living.)
Public propertyCommands (Inherited from Living.)
Public propertyConnections
Public propertyContainer (Inherited from Thing.)
Public propertyContents
A collection containing the objects that are in this container.
(Inherited from Living.)
Public propertyCreator (Inherited from Thing.)
Public propertyCurrentConnection
Public propertyCurrentPath
Public propertyDeathXp
Gets the death xp. This is the amount of experience a player has 'lost' from death. It slowly gets added back to normal xp.
Public propertyEditors
Public propertyEffects (Inherited from Thing.)
Public propertyExtraProperties (Inherited from Living.)
Public propertyGender (Inherited from Living.)
Public propertyHasEffects (Inherited from Thing.)
Public propertyHeight (Inherited from Item.)
Public propertyHolding (Inherited from Living.)
Public propertyInventoryVisible (Inherited from Thing.)
Public propertyIsBot
Public propertyIsDead (Overrides Living..::..IsDead.)
Public propertyIsPositionSet (Inherited from Thing.)
Public propertyLastSaved
Public propertyLayeredWearing (Inherited from Living.)
Public propertyLength (Inherited from Item.)
Public propertyLoginCount
How many times this players has logged in.
Public propertyLoginTime
Public propertyLongDescription (Overrides Thing..::..LongDescription.)
Public propertyMessageSubscriberName
Public propertyNouns (Inherited from Thing.)
Public propertyOptions
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 Living.)
Public propertyPreviousContainer (Inherited from Thing.)
Public propertyPronoun (Inherited from Living.)
Public propertyReflexivePronoun (Inherited from Living.)
Public propertyShortDescription (Overrides Thing..::..ShortDescription.)
Public propertySingularRegex (Inherited from Thing.)
Public propertySkills (Inherited from Living.)
Public propertyStats (Inherited from Living.)
Public propertyUsername
Public propertyWearing (Inherited from Living.)
Public propertyWeight (Inherited from Item.)
Public propertyWidth (Inherited from Item.)
Public propertyXp
Player's current experience score.

See Also