#### Back to Server.Items

## Container : Item, IEntity, IPoint3D, IPoint2D, IComparable, IComparable`1, IHued, IComparable`1, ISerializable

#### Derived Types: BankBox, BaseBoard, BaseContainer, Corpse, DecayedCorpse, DisplayCache, Hold, MovingCrate, SecureTradeContainer, TrashBarrel, TrashChest

#### Nested Types: GroupComparer, SaveFlag

(static) int GlobalMaxItems( get; set; )
(static) int GlobalMaxWeight( get; set; )
(static) ContainerSnoopHandler SnoopHandler( get; set; )
(static) bool GetSaveFlag( SaveFlag flags, SaveFlag toGet )
(static) bool InTypeList( Item item, Type[] types )
(static) void RecurseConsumeUpTo( Item current, Type type, int amount, bool recurse, ref int consumed, Queue`1 toDelete )
(static) Item RecurseFindItemByType( Item current, Type[] types, bool recurse )
(static) Item RecurseFindItemByType( Item current, Type type, bool recurse )
(static) void RecurseFindItemsByType( Item current, Type[] types, bool recurse, List`1 list )
(static) void RecurseFindItemsByType( Item current, Type type, bool recurse, List`1 list )
(static) void SetSaveFlag( ref SaveFlag flags, SaveFlag toSet, bool setIf )
(ctor) Container( int itemID )
(ctor) Container( Serial serial )
Rectangle2D Bounds( get; )
ContainerData ContainerData( get; set; )
int DefaultDropSound( get; )
int DefaultGumpID( get; )
int DefaultMaxItems( get; )
int DefaultMaxWeight( get; )
bool DisplaysContent( get; )
int DropSound( get; set; )
int GumpID( get; set; )
bool IsDecoContainer( get; )
bool IsPublicContainer( get; )
int ItemID( get; set; )
bool LiftOverride( get; set; )
int MaxItems( get; set; )
int MaxWeight( get; )
List`1 Openers( get; set; )
virtual bool CheckContentDisplay( Mobile from )
bool CheckHold( Mobile m, Item item, bool message )
bool CheckHold( Mobile m, Item item, bool message, bool checkItems )
virtual bool CheckHold( Mobile m, Item item, bool message, bool checkItems, int plusItems, int plusWeight )
virtual bool CheckLift( Mobile from, Item item, ref LRReason reject )
bool ConsumeTotal( Type type, int amount )
int ConsumeTotal( Type[] types, int[] amounts )
int ConsumeTotal( Type[][] types, int[] amounts )
bool ConsumeTotal( Type type, int amount, bool recurse )
int ConsumeTotal( Type[] types, int[] amounts, bool recurse )
int ConsumeTotal( Type[][] types, int[] amounts, bool recurse )
int ConsumeTotal( Type[] types, int[] amounts, bool recurse, OnItemConsumed callback )
bool ConsumeTotal( Type type, int amount, bool recurse, OnItemConsumed callback )
int ConsumeTotal( Type[][] types, int[] amounts, bool recurse, OnItemConsumed callback )
int ConsumeTotalGrouped( Type[][] types, int[] amounts, bool recurse, OnItemConsumed callback, CheckItemGroup grouper )
int ConsumeTotalGrouped( Type[] types, int[] amounts, bool recurse, OnItemConsumed callback, CheckItemGroup grouper )
bool ConsumeTotalGrouped( Type type, int amount, bool recurse, OnItemConsumed callback, CheckItemGroup grouper )
int ConsumeUpTo( Type type, int amount )
int ConsumeUpTo( Type type, int amount, bool recurse )
virtual void Deserialize( GenericReader reader )
virtual void Destroy()
virtual void DisplayTo( Mobile to )
virtual void DropItem( Item dropped )
Item FindItemByType( Type type )
Item FindItemByType( Type[] types )
Item FindItemByType( Type[] types, bool recurse )
Item FindItemByType( Type type, bool recurse )
Item[] FindItemsByType( Type type )
Item[] FindItemsByType( Type[] types )
Item[] FindItemsByType( Type[] types, bool recurse )
Item[] FindItemsByType( Type type, bool recurse )
int GetAmount( Type[] types )
int GetAmount( Type type )
int GetAmount( Type[] types, bool recurse )
int GetAmount( Type type, bool recurse )
int GetBestGroupAmount( Type[] types, bool recurse, CheckItemGroup grouper )
int GetBestGroupAmount( Type type, bool recurse, CheckItemGroup grouper )
int GetBestGroupAmount( Type[][] types, bool recurse, CheckItemGroup grouper )
virtual int GetDroppedSound( Item item )
virtual void GetProperties( ObjectPropertyList list )
virtual int GetTotal( TotalType type )
virtual void OnDelete()
virtual void OnDoubleClick( Mobile from )
virtual void OnDoubleClickSecureTrade( Mobile from )
virtual bool OnDragDrop( Mobile from, Item dropped )
virtual bool OnDragDropInto( Mobile from, Item item, Point3D p )
virtual void OnSingleClick( Mobile from )
virtual void OnSnoop( Mobile from )
virtual bool OnStackAttempt( Mobile from, Item stack, Item dropped )
virtual void SendCantStoreMessage( Mobile to, Item item )
virtual void SendFullItemsMessage( Mobile to, Item item )
virtual void SendFullWeightMessage( Mobile to, Item item )
virtual void Serialize( GenericWriter writer )
virtual bool TryDropItem( Mobile from, Item dropped, bool sendFullMessage )
virtual void UpdateContainerData()
virtual void UpdateTotal( Item sender, TotalType type, int delta )
virtual void UpdateTotals()