Cronous Emulation Server Daemon

CharacterManager.Item Property (String)

Retrieves a character by its name.

[C#] In C#, this property is the indexer for the CharacterManager class.

[Visual Basic]
Public Default Property ReadOnly Item( _ 
   ByVal name As String _ 
) As PlayerCharacter
[C#]
public PlayerCharacter this[
   string name
] { get; }
[C++]
public: __property PlayerCharacter* get_Item(
   String* name
);
[JScript]
returnValue = CharacterManagerObject.Item( name );
-or-
returnValue = CharacterManagerObject( name );

[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.

Parameters

name
Character name.

See Also

CharacterManager Class | croemud.manager Namespace | CharacterManager.Item Overload List