#### Back to Server.Items

## Container : Item, IHued, IComparable<Item>, ISerializable, ISpawnable, IEntity, IPoint3D, IPoint2D, IComparable, IComparable<IEntity>

#### Derived Types: BankBox, BaseBoard, BaseContainer, BaseQuiver, BaseWaterContainer, 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<Item> toDelete )
(static) Item RecurseFindItemByType( Item current, Type[] types, bool recurse )
(static) T RecurseFindItemByType( Item current, bool recurse, Predicate<T> predicate )
(static) Item RecurseFindItemByType( Item current, Type type, bool recurse )
(static) void RecurseFindItemsByType( Item current, bool recurse, List<T> list, Predicate<T> predicate )
(static) void RecurseFindItemsByType( Item current, Type type, bool recurse, List<Item> list )
(static) void RecurseFindItemsByType( Item current, Type[] types, bool recurse, List<Item> 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<Mobile> 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 CheckItemUse( Mobile from, Item item )
virtual bool CheckLift( Mobile from, Item item, ref LRReason reject )
int ConsumeTotal( Type[] types, int[] amounts )
bool ConsumeTotal( Type type, int amount )
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 )
bool ConsumeTotal( Type type, int amount, bool recurse, OnItemConsumed callback )
int ConsumeTotal( Type[] types, int[] amounts, 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 )
T FindItemByType()
Item FindItemByType( Type[] types )
Item FindItemByType( Type type )
T FindItemByType( bool recurse )
T FindItemByType( Predicate<T> predicate )
Item FindItemByType( Type[] types, bool recurse )
Item FindItemByType( Type type, bool recurse )
T FindItemByType( bool recurse, Predicate<T> predicate )
List<T> FindItemsByType()
Item[] FindItemsByType( Type type )
Item[] FindItemsByType( Type[] types )
List<T> FindItemsByType( bool recurse )
List<T> FindItemsByType( Predicate<T> predicate )
Item[] FindItemsByType( Type[] types, bool recurse )
List<T> FindItemsByType( bool recurse, Predicate<T> predicate )
Item[] FindItemsByType( Type type, bool recurse )
int GetAmount( Type type )
int GetAmount( Type[] types )
int GetAmount( Type type, bool recurse )
int GetAmount( Type[] types, bool recurse )
int GetBestGroupAmount( Type type, bool recurse, CheckItemGroup grouper )
int GetBestGroupAmount( Type[][] types, 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 )
void ProcessOpeners( Mobile opener )
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()