Readded spam filter

This commit is contained in:
Regalis
2017-06-01 19:37:08 +03:00
parent 6cc4f7c575
commit 5455af24d7
3 changed files with 65 additions and 14 deletions

View File

@@ -39,6 +39,10 @@ namespace Barotrauma.Networking
public List<ChatMessage> chatMsgQueue = new List<ChatMessage>();
public UInt16 lastChatMsgQueueID;
//latest chat messages sent by this client
public List<string> lastSentChatMessages = new List<string>();
public float ChatSpamSpeed;
public float ChatSpamTimer;
public int ChatSpamCount;