Server.Regions.SpawnEntry.SpawnEntry C# (CSharp) Méthode

SpawnEntry() public méthode

public SpawnEntry ( int id, BaseRegion region, Point3D home, int range, Direction direction, Server.Regions.SpawnDefinition definition, int max, System.TimeSpan minSpawnTime, System.TimeSpan maxSpawnTime ) : System
id int
region BaseRegion
home Point3D
range int
direction Direction
definition Server.Regions.SpawnDefinition
max int
minSpawnTime System.TimeSpan
maxSpawnTime System.TimeSpan
Résultat System
		public SpawnEntry( int id, BaseRegion region, Point3D home, int range, Direction direction, SpawnDefinition definition, int max, TimeSpan minSpawnTime, TimeSpan maxSpawnTime )
		{
			m_ID = id;
			m_Region = region;
			m_Home = home;
			m_Range = range;
			m_Direction = direction;
			m_Definition = definition;
			m_SpawnedObjects = new List<ISpawnable>();
			m_Max = max;
			m_MinSpawnTime = minSpawnTime;
			m_MaxSpawnTime = maxSpawnTime;
			m_Running = false;

			if ( m_Table.Contains( id ) )
				Console.WriteLine( "Warning: double SpawnEntry ID '{0}'", id );
			else
				m_Table[id] = this;
		}