Cronous Emulation Server Daemon

ItemContainer Members

ItemContainer overview

Public Instance Constructors

ItemContainer Constructor Initializes the container.

Public Instance Properties

capacityGets container's capacity.
idContainer ID.
ItemGets or sets an item.
item_idGets the item ID table.
itemsGets the array of items.
playerGets the owner.

Public Instance Methods

disposeDisposes an item from the container.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
free_slotRetrieves the first empty slot index.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
index_ofRetrieves the index of an item.
loadAdds an item from database.
retrieveRetrieves an item by its ID.
saveSaves items to the database.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

_capacityContainer capacity.
_idContainer ID.
_item_idItem ID table.
_itemsItems.
_playerOwner.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ItemContainer Class | croemud.item Namespace