RatAttack: added new VA Event ((RatAttack.invalidRatsignal))

Fires when a signal doesn’t match the current RegEx. By default warns with TTS and writes the signal to `%appdata%\RatAttack\ratsignal.error.log`.
This commit is contained in:
alterNERDtive 2020-10-23 00:05:26 +02:00
parent e14512f076
commit 6633af6060
2 changed files with 1 additions and 0 deletions

View file

@ -111,6 +111,7 @@ namespace RatAttack
catch (ArgumentException e)
{
Log.Error(e.Message);
Commands.TriggerEvent("RatAttack.invalidRatsignal", parameters: new dynamic[] { new string[] { ratsignal.Signal } });
}
catch (Exception e)
{

Binary file not shown.