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

GetRandomHavenLocation() 공개 정적인 메소드

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

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

			return Point2D.Zero;
		}