Server.Items.TreasureMap.GetRandomLocation C# (CSharp) 메소드

GetRandomLocation() 공개 정적인 메소드

public static GetRandomLocation ( ) : Server.Point2D
리턴 Server.Point2D
		public static Point2D GetRandomLocation()
		{
			if ( m_Locations == null )
				LoadLocations();

			if ( m_Locations.Length > 0 )
				return m_Locations[Utility.Random( m_Locations.Length )];

			return Point2D.Zero;
		}