2021-08-25 18:58:53 +01:00
|
|
|
|
using System.Linq;
|
|
|
|
|
|
2021-11-23 13:01:42 +00:00
|
|
|
|
namespace Common;
|
|
|
|
|
|
|
|
|
|
public static class BulletHelpers
|
2021-08-25 18:58:53 +01:00
|
|
|
|
{
|
2021-11-23 13:01:42 +00:00
|
|
|
|
private static readonly string[] blackList = {
|
2022-02-04 00:53:57 +00:00
|
|
|
|
|
2021-08-25 20:07:59 +01:00
|
|
|
|
};
|
2021-08-25 18:58:53 +01:00
|
|
|
|
|
2021-11-23 13:01:42 +00:00
|
|
|
|
public static bool BulletIsOnBlackList(string bullet)
|
|
|
|
|
{
|
|
|
|
|
return blackList.Any(x => x.Contains(bullet));
|
2021-08-25 18:58:53 +01:00
|
|
|
|
}
|
2021-11-23 13:01:42 +00:00
|
|
|
|
}
|