Server.Mobiles.PlayerMobile.DeltaEnemies C# (CSharp) 메소드

DeltaEnemies() 개인적인 메소드

private DeltaEnemies ( Type oldType, Type newType ) : void
oldType Type
newType Type
리턴 void
		private void DeltaEnemies( Type oldType, Type newType )
		{
			foreach ( Mobile m in this.GetMobilesInRange( 18 ) )
			{
				Type t = m.GetType();

				if ( t == oldType || t == newType ) {
					NetState ns = this.NetState;

					if ( ns != null ) {
						if ( ns.StygianAbyss ) {
							ns.Send( new MobileMoving( m, Notoriety.Compute( this, m ) ) );
						} else {
							ns.Send( new MobileMovingOld( m, Notoriety.Compute( this, m ) ) );
						}
					}
				}
			}
		}