The Player type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Player()()()() | Initializes a new instance of the Player class |
![]() | Player(String) | Initializes a new instance of the Player class |
![]() | Player(SerializationInfo, StreamingContext) | Initializes a new instance of the Player class |
Methods
Name | Description | |
---|---|---|
![]() | AAn | (Inherited from Thing.) |
![]() | AddActionProvider<(Of <<'(T>)>>) | (Inherited from Thing.) |
![]() | AddClassification |
Adds a classification to this thing.
(Inherited from Thing.) |
![]() | AddCommand | (Inherited from Living.) |
![]() | 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.) |
![]() | AddToContainer |
Adds an object to this living. The object gets added
to the list of things the living is carrying.
(Inherited from Living.) |
![]() | AdjustHealth | (Inherited from Living.) |
![]() | ApplyTemplate | (Inherited from Thing.) |
![]() | CanHearThing | (Inherited from Living.) |
![]() | CanSeeThing | (Inherited from Living.) |
![]() | Carry | (Inherited from Living.) |
![]() | ConnectionClosed | |
![]() | Destroy | (Overrides Living..::..Destroy()()()().) |
![]() | Die | (Overrides Living..::..Die()()()().) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetActionProvider<(Of <<'(T>)>>) | (Inherited from Thing.) |
![]() | GetArmour | (Inherited from Living.) |
![]() | GetAttack | (Inherited from Living.) |
![]() | 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.) |
![]() | GetColumns |
Gets the columns of this player's terminal. If player
|
![]() | GetCommands | (Inherited from Living.) |
![]() | GetContainerLightLevel | (Inherited from Living.) |
![]() | 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.) |
![]() | GetDefenses | (Inherited from Living.) |
![]() | GetFreeHoldLocationCount | (Inherited from Living.) |
![]() | GetFreeHoldLocations | (Inherited from Living.) |
![]() | GetFreeWearSlotCount | (Inherited from Living.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetHealth | (Inherited from Living.) |
![]() | GetHearing | (Inherited from Living.) |
![]() | GetHearingLevel | (Inherited from Living.) |
![]() | GetHeldThing | (Inherited from Living.) |
![]() | GetHoldLocations | (Inherited from Living.) |
![]() | GetIdleTime | |
![]() | GetLightLevel | (Inherited from Living.) |
![]() | GetMaxHealth | (Inherited from Living.) |
![]() | GetObjectData | (Overrides Living..::..GetObjectData(SerializationInfo, StreamingContext).) |
![]() | GetPrompt | |
![]() | GetRoomPath | (Inherited from Thing.) |
![]() | GetRows |
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.
|
![]() | GetThingPath |
Gets the xml file, if set, or else the class name of this thing.
(Inherited from Thing.) |
![]() | GetThingsWornAtLocation | (Inherited from Living.) |
![]() | GetType | (Inherited from Object.) |
![]() | GetValue | (Inherited from Thing.) |
![]() | GetVisibilityFor | (Inherited from Thing.) |
![]() | GetVisionLevel | (Inherited from Living.) |
![]() | GetWeapons | (Inherited from Living.) |
![]() | 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.) |
![]() | Heartbeat |
Player's heartbeat function. Adds xp, health each tick.
(Overrides Living..::..Heartbeat()()()().) |
![]() | Hold | (Inherited from Living.) |
![]() | IncrementHealth | (Inherited from Living.) |
![]() | IsHoldLocationFree | (Inherited from Living.) |
![]() | IsValidWearLocation | (Inherited from Living.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ModifyCommandResult | (Inherited from Living.) |
![]() | Move | (Overrides Thing..::..Move(IContainer).) |
![]() | OnDeserialization | (Overrides Living..::..OnDeserialization(Object).) |
![]() | ProcessInput |
Handle input from the player. Takes the input and adds it to _inputQueue.
|
![]() | ReceiveEvent | (Overrides Living..::..ReceiveEvent(EventBase).) |
![]() | ReceiveMessage | |
![]() | RemoveActionProvider<(Of <<'(T>)>>) | (Inherited from Thing.) |
![]() | RemoveClassification |
Removes a classification from this thing.
(Inherited from Thing.) |
![]() | RemoveCommand | (Inherited from Living.) |
![]() | RemoveEffect |
Removes an effect from this object. This calls Remove()()()() (Inherited from Thing.) |
![]() | RemoveFromContainer | (Inherited from Living.) |
![]() | RenderLongDescriptionFor | (Inherited from Living.) |
![]() | RenderPluralDescriptionFor | (Overrides Thing..::..RenderPluralDescriptionFor(Living).) |
![]() | RenderPositionFor | (Inherited from Thing.) |
![]() | RenderPositionPluralFor | (Inherited from Thing.) |
![]() | RenderShortDescriptionFor | (Overrides Thing..::..RenderShortDescriptionFor(Living).) |
![]() | Save |
Saves the character to the database.
|
![]() | Send(String) | (Overrides Living..::..Send(String).) |
![]() | Send(MString) | (Overrides Living..::..Send(MString).) |
![]() | SendLine(String) | (Overrides Living..::..SendLine(String).) |
![]() | SendLine(MString) | (Overrides Living..::..SendLine(MString).) |
![]() | SetSpecies | (Inherited from Living.) |
![]() | ShowAAn | (Overrides Thing..::..ShowAAn()()()().) |
![]() | StartHeartbeat | (Inherited from Living.) |
![]() | ThreadedInput |
Called from the driver when data arrives but is returned
from GetInput() in the connection. Updates last input
time and current connection.
|
![]() | ToString | (Inherited from Object.) |
![]() | TryGetActionProvider<(Of <<'(T>)>>) | (Inherited from Thing.) |
![]() | Wear | (Inherited from Living.) |
Extension Methods
Name | Description | |
---|---|---|
![]() | Close | (Defined by CommandActions.) |
![]() | Drop | (Defined by CommandActions.) |
![]() | Emote | (Defined by CommandActions.) |
![]() | Get(Thing) | Overloaded. (Defined by CommandActions.) |
![]() | Get(IEnumerable<(Of <<'(Thing>)>>)) | Overloaded. (Defined by CommandActions.) |
![]() | GetFrom | (Defined by CommandActions.) |
![]() | Go | (Defined by CommandActions.) |
![]() | LookAt | (Defined by CommandActions.) |
![]() | Open | (Defined by CommandActions.) |
![]() | Push | (Defined by CommandActions.) |
![]() | PutIn | (Defined by CommandActions.) |
![]() | RenderFor(Living, Boolean, String) | Overloaded. (Defined by Descriptions.) |
![]() | RenderFor(Living, Living, Boolean, String, Boolean) | Overloaded. (Defined by Descriptions.) |
![]() | Say | (Defined by CommandActions.) |
Fields
Name | Description | |
---|---|---|
![]() | _armour | (Inherited from Living.) |
![]() | _carrying | (Inherited from Living.) |
![]() | _container | (Inherited from Thing.) |
![]() | _eventSubscribers | (Inherited from Living.) |
![]() | _health | (Inherited from Living.) |
![]() | _heartbeatCount | (Inherited from Living.) |
![]() | _holding | (Inherited from Living.) |
![]() | _lightSources | (Inherited from Living.) |
![]() | _prevContainer | (Inherited from Thing.) |
![]() | _skills | (Inherited from Living.) |
![]() | _stats | (Inherited from Living.) |
![]() | _wearing | (Inherited from Living.) |
Properties
Name | Description | |
---|---|---|
![]() | Adjectives | (Inherited from Thing.) |
![]() | ArmourLocations | (Inherited from Living.) |
![]() | Attacks | (Inherited from Living.) |
![]() | BaseVisibility | (Inherited from Thing.) |
![]() | Carrying | (Inherited from Living.) |
![]() | CharacterName | |
![]() | Classifications |
Gets the classifications for this thing.
(Inherited from Thing.) |
![]() | CombatManager | (Inherited from Living.) |
![]() | Commands | (Inherited from Living.) |
![]() | Connections | |
![]() | Container | (Inherited from Thing.) |
![]() | Contents |
A collection containing the objects that are in
this container.
(Inherited from Living.) |
![]() | Creator | (Inherited from Thing.) |
![]() | CurrentConnection | |
![]() | CurrentPath | |
![]() | DeathXp |
Gets the death xp. This is the amount of experience a player
has 'lost' from death. It slowly gets added back to normal xp.
|
![]() | Editors | |
![]() | Effects | (Inherited from Thing.) |
![]() | ExtraProperties | (Inherited from Living.) |
![]() | Gender | (Inherited from Living.) |
![]() | HasEffects | (Inherited from Thing.) |
![]() | Height | (Inherited from Item.) |
![]() | Holding | (Inherited from Living.) |
![]() | InventoryVisible | (Inherited from Thing.) |
![]() | IsBot | |
![]() | IsDead | (Overrides Living..::..IsDead.) |
![]() | IsPositionSet | (Inherited from Thing.) |
![]() | LastSaved | |
![]() | LayeredWearing | (Inherited from Living.) |
![]() | Length | (Inherited from Item.) |
![]() | LoginCount |
How many times this players has logged in.
|
![]() | LoginTime | |
![]() | LongDescription | (Overrides Thing..::..LongDescription.) |
![]() | MessageSubscriberName | |
![]() | Nouns | (Inherited from Thing.) |
![]() | Options | |
![]() | PluralDescription | (Inherited from Thing.) |
![]() | PluralRegex | (Inherited from Thing.) |
![]() | Plurals | (Inherited from Thing.) |
![]() | Position | (Inherited from Thing.) |
![]() | PositionPlural | (Inherited from Thing.) |
![]() | PossessivePronoun | (Inherited from Living.) |
![]() | PreviousContainer | (Inherited from Thing.) |
![]() | Pronoun | (Inherited from Living.) |
![]() | ReflexivePronoun | (Inherited from Living.) |
![]() | ShortDescription | (Overrides Thing..::..ShortDescription.) |
![]() | SingularRegex | (Inherited from Thing.) |
![]() | Skills | (Inherited from Living.) |
![]() | Stats | (Inherited from Living.) |
![]() | Username | |
![]() | Wearing | (Inherited from Living.) |
![]() | Weight | (Inherited from Item.) |
![]() | Width | (Inherited from Item.) |
![]() | Xp |
Player's current experience score.
|