Using Levenshtein distance to measure the similarity of chat messages, (float)0.0 -> 0.0f

This commit is contained in:
Regalis
2016-08-28 16:53:24 +03:00
parent e2885a912d
commit fe8cce1723
3 changed files with 71 additions and 14 deletions

View File

@@ -30,6 +30,11 @@ namespace Barotrauma.Networking
public string version;
public bool inGame;
public List<string> ChatMessages = new List<string>();
public float ChatSpamSpeed;
public float ChatSpamTimer;
public int ChatSpamCount;
private List<Client> kickVoters;
public bool ReadyToStart;