Cronous Emulation Server Daemon

ItemPrototypes.Item Property

Retrieves an item prototypes pecifying its id.

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

[Visual Basic]
Public Default Property ReadOnly Item( _ 
   ByVal item_id As Integer _ 
) As ItemPrototype
[C#]
public ItemPrototype this[
   int item_id
] { get; }
[C++]
public: __property ItemPrototype* get_Item(
   int item_id
);
[JScript]
returnValue = ItemPrototypesObject.Item( item_id );
-or-
returnValue = ItemPrototypesObject( item_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.

See Also

ItemPrototypes Class | croemud.item Namespace