Server.Misc.ProfanityProtection.EventSink_Speech C# (CSharp) Méthode

EventSink_Speech() private static méthode

private static EventSink_Speech ( SpeechEventArgs e ) : void
e SpeechEventArgs
Résultat void
		private static void EventSink_Speech( SpeechEventArgs e )
		{
			Mobile from = e.Mobile;

			if ( from.AccessLevel > AccessLevel.Player )
				return;

			if ( !NameVerification.Validate( e.Speech, 0, int.MaxValue, true, true, false, int.MaxValue, m_Exceptions, m_Disallowed, m_StartDisallowed ) )
				e.Blocked = !OnProfanityDetected( from );
		}