Cronous Emulation Server Daemon

ItemContainer Constructor 

Initializes the container.

[Visual Basic]
Public Sub New( _ 
   ByVal id As Integer, _ 
   ByVal p As Player, _ 
   ByVal capacity As Integer _ 
)
[C#]
public ItemContainer(
   int id,
   Player p,
   int capacity
);
[C++]
public: ItemContainer(
   int id,
   Player* p,
   int capacity
);
[JScript]
public function ItemContainer(
   int id,
   Player p,
   int capacity
);

Parameters

id
Container ID.
p
The player that owns the container.
capacity
Max items that the container can store.

See Also

ItemContainer Class | croemud.item Namespace