Server.Mobiles.GenericBuyInfo.DisplayCache.Store C# (CSharp) Méthode

Store() public méthode

public Store ( Type key, IEntity obj, bool cache ) : void
key System.Type
obj IEntity
cache bool
Résultat void
			public void Store( Type key, IEntity obj, bool cache )
			{
				if ( cache )
					m_Table[key] = obj;

				if ( obj is Item )
					AddItem( (Item)obj );
				else if ( obj is Mobile )
					m_Mobiles.Add( (Mobile)obj );
			}