Server.Mobiles.EscortDestinationInfo.Contains C# (CSharp) Méthode

Contains() public méthode

public Contains ( Point3D p ) : bool
p Point3D
Résultat bool
		public bool Contains(Point3D p)
		{
			return m_Region.Contains(p);
		}

Usage Example

Exemple #1
0
        public virtual bool CheckAtDestination()
        {
            EDI dest = GetDestination();

            if (dest == null)
            {
                return(false);
            }

            if (dest.Contains(Location))
            {
                Say("Ah! Thank the heavens! I am safe and sound! Here is thy pay as promised!");

                Timer.DelayCall(TimeSpan.FromSeconds(5), delegate
                {
                    if (this != null)
                    {
                        Delete();
                    }
                });

                return(true);
            }

            return(false);
        }
All Usage Examples Of Server.Mobiles.EscortDestinationInfo::Contains