(d9829ac) v0.9.4.0

This commit is contained in:
Regalis
2019-10-24 18:05:42 +02:00
parent 9aa12bcac2
commit b39922a074
319 changed files with 12516 additions and 6815 deletions
@@ -140,8 +140,6 @@ namespace Barotrauma.Networking
public Dictionary<string, long> messageCount = new Dictionary<string, long>();
#endif
protected string name;
protected ServerSettings serverSettings;
protected TimeSpan updateInterval;
@@ -155,6 +153,12 @@ namespace Barotrauma.Networking
public bool ShowNetStats;
#if DEBUG
public float SimulatedRandomLatency, SimulatedMinimumLatency;
public float SimulatedLoss;
public float SimulatedDuplicatesChance;
#endif
public int TickRate
{
get { return serverSettings.TickRate; }
@@ -171,16 +175,6 @@ namespace Barotrauma.Networking
private set;
} = new KarmaManager();
public string Name
{
get { return name; }
set
{
if (string.IsNullOrEmpty(value)) { return; }
name = value.Replace(":", "").Replace(";", "");
}
}
public bool GameStarted
{
get { return gameStarted; }