Server.Mobiles.Spawner.GetProperties C# (CSharp) Méthode

GetProperties() public méthode

public GetProperties ( ObjectPropertyList list ) : void
list Server.ObjectPropertyList
Résultat void
		public override void GetProperties( ObjectPropertyList list )
		{
			base.GetProperties( list );

			if ( m_Running )
			{
				list.Add( 1060742 ); // active

				list.Add( 1060656, m_Count.ToString() ); // amount to make: ~1_val~
				list.Add( 1061169, m_HomeRange.ToString() ); // range ~1_val~
				list.Add( 1060658, "walking range\t{0}", m_WalkingRange ); // ~1_val~: ~2_val~

				list.Add( 1060659, "group\t{0}", m_Group ); // ~1_val~: ~2_val~
				list.Add( 1060660, "team\t{0}", m_Team ); // ~1_val~: ~2_val~
				list.Add( 1060661, "speed\t{0} to {1}", m_MinDelay, m_MaxDelay ); // ~1_val~: ~2_val~

				if ( m_SpawnNames.Count != 0 )
					list.Add( SpawnedStats() );
			}
			else
			{
				list.Add( 1060743 ); // inactive
			}
		}