Server.Mobiles.BaseCreature.OnSpeech C# (CSharp) 메소드

OnSpeech() 공개 메소드

public OnSpeech ( SpeechEventArgs e ) : void
e SpeechEventArgs
리턴 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