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

OnSpeech() public méthode

public OnSpeech ( SpeechEventArgs e ) : void
e SpeechEventArgs
Résultat void
        public override void OnSpeech( SpeechEventArgs e )
        {
            InhumanSpeech speechType = this.SpeechType;

            if ( speechType != null && speechType.OnSpeech( this, e.Mobile, e.Speech ) )
                e.Handled = true;
            else if ( !e.Handled && m_AI != null && e.Mobile.InRange( this, m_iRangePerception ) )
                m_AI.OnSpeech( e );
        }
BaseCreature