Cronous Emulation Server Daemon

CharacterManager.Item Property (Int32)

Retrieves a character by its ID.

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

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

[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

id
Character ID.

See Also

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