Merge https://github.com/Regalis11/Barotrauma into develop
This commit is contained in:
@@ -44,8 +44,8 @@ namespace Barotrauma.Networking
|
||||
partial class ServerSettings : ISerializableEntity
|
||||
{
|
||||
public const int PacketLimitMin = 1200,
|
||||
PacketLimitWarning = 2400,
|
||||
PacketLimitDefault = 3000,
|
||||
PacketLimitWarning = 3500,
|
||||
PacketLimitDefault = 4000,
|
||||
PacketLimitMax = 10000;
|
||||
|
||||
public const string SettingsFile = "serversettings.xml";
|
||||
@@ -396,8 +396,10 @@ namespace Barotrauma.Networking
|
||||
set;
|
||||
}
|
||||
|
||||
private int tickRate = 20;
|
||||
[Serialize(20, IsPropertySaveable.Yes)]
|
||||
public const int DefaultTickRate = 20;
|
||||
|
||||
private int tickRate = DefaultTickRate;
|
||||
[Serialize(DefaultTickRate, IsPropertySaveable.Yes)]
|
||||
public int TickRate
|
||||
{
|
||||
get { return tickRate; }
|
||||
@@ -526,7 +528,7 @@ namespace Barotrauma.Networking
|
||||
}
|
||||
}
|
||||
|
||||
[Serialize(LosMode.Opaque, IsPropertySaveable.Yes)]
|
||||
[Serialize(LosMode.Transparent, IsPropertySaveable.Yes)]
|
||||
public LosMode LosMode
|
||||
{
|
||||
get;
|
||||
|
||||
Reference in New Issue
Block a user