Reimplemented chat range & radio messages. Each client now has their own chatMsgQueue, so all chat messages don't have to be sent to all clients.

This commit is contained in:
Regalis
2017-01-07 19:22:48 +02:00
parent 44cbd0d9bf
commit 402c745fc3
6 changed files with 182 additions and 77 deletions

View File

@@ -41,7 +41,7 @@ namespace Barotrauma.Networking
public UInt32 lastRecvEntitySpawnID = 0;
public List<string> ChatMessages = new List<string>();
public List<ChatMessage> chatMsgQueue = new List<ChatMessage>();
public float ChatSpamSpeed;
public float ChatSpamTimer;
public int ChatSpamCount;