Пример #1
0
		public void OnGivenSilverTo( Mobile mob )
		{
			if ( m_SilverGiven == null )
				m_SilverGiven = new SilverGivenCollection();

			m_SilverGiven.Add( new SilverGivenEntry( mob ) );
		}
Пример #2
0
        public void OnGivenSilverTo(Mobile mob)
        {
            if (m_SilverGiven == null)
            {
                m_SilverGiven = new SilverGivenCollection();
            }

            m_SilverGiven.Add(new SilverGivenEntry(mob));
        }
Пример #3
0
 /// <summary>
 /// Default constructor for enumerator.
 /// </summary>
 /// <param name="collection">Instance of the collection to enumerate.</param>
 internal SilverGivenCollectionEnumerator( SilverGivenCollection collection )
 {
     _index = -1;
     _collection = collection;
 }
 /// <summary>
 /// Default constructor for enumerator.
 /// </summary>
 /// <param name="collection">Instance of the collection to enumerate.</param>
 internal SilverGivenCollectionEnumerator(SilverGivenCollection collection)
 {
     _index      = -1;
     _collection = collection;
 }