Server.Mobiles.BaseCreature.HandlesOnSpeech C# (CSharp) Méthode

HandlesOnSpeech() public méthode

public HandlesOnSpeech ( Mobile from ) : bool
from Mobile
Résultat bool
        public override bool HandlesOnSpeech( Mobile from )
        {
            InhumanSpeech speechType = this.SpeechType;

            if ( speechType != null && (speechType.Flags & IHSFlags.OnSpeech) != 0 && from.InRange( this, 3 ) )
                return true;

            return ( m_AI != null && m_AI.HandlesOnSpeech( from ) && from.InRange( this, m_iRangePerception ) );
        }
BaseCreature