Server.UOAMVendorGenerator.PlaceNPC C# (CSharp) Méthode

PlaceNPC() public static méthode

public static PlaceNPC ( string sx, string sy, string sm ) : void
sx string
sy string
sm string
Résultat void
		public static void PlaceNPC( string sx, string sy, string sm, params string[] types )
		{
			if ( types.Length == 0 )
				return;

			int x = Utility.ToInt32( sx );
			int y = Utility.ToInt32( sy );
			int map = Utility.ToInt32( sm );

			switch ( map )
			{
				case 0://Felucca
					MakeSpawner( types, x, y, Map.Felucca );
					break;
				case 1://Felucca
					MakeSpawner( types, x, y, Map.Felucca );
					break;
				default:
					Console.WriteLine( "UOAM Vendor Parser: Warning, unknown map {0}", map );
					break;
			}
		}