Cronous Emulation Server Daemon

ItemInstance.create Method 

Creates a default item.

[Visual Basic]
Shared Public Function create( _ 
   ByVal im As ItemManager, _ 
   ByVal prototype As ItemPrototype, _ 
   ByVal owner As Player _ 
) As ItemInstance
[C#]
public static ItemInstance create(
   ItemManager im,
   ItemPrototype prototype,
   Player owner
);
[C++]
public: static ItemInstance* create(
   ItemManager* im,
   ItemPrototype* prototype,
   Player* owner
);
[JScript]
public static function create(
   ItemManager im,
   ItemPrototype prototype,
   Player owner
): ItemInstance;

Parameters

im
Item manager, to allocate an ID from.
prototype
Item prototype.
owner
Initial owner. null if none.

Return Value

The created instance.

See Also

ItemInstance Class | croemud.item Namespace