v1.0.13.1 (first post-1.0 patch)
This commit is contained in:
@@ -42,6 +42,11 @@ namespace Barotrauma.Networking
|
||||
|
||||
partial class ServerSettings : ISerializableEntity
|
||||
{
|
||||
public const int PacketLimitMin = 1200,
|
||||
PacketLimitWarning = 2400,
|
||||
PacketLimitDefault = 3000,
|
||||
PacketLimitMax = 10000;
|
||||
|
||||
public const string SettingsFile = "serversettings.xml";
|
||||
|
||||
[Flags]
|
||||
@@ -688,6 +693,20 @@ namespace Barotrauma.Networking
|
||||
private set;
|
||||
}
|
||||
|
||||
[Serialize(true, IsPropertySaveable.Yes)]
|
||||
public bool EnableDoSProtection
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
[Serialize(PacketLimitDefault, IsPropertySaveable.Yes)]
|
||||
public int MaxPacketAmount
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
[Serialize("", IsPropertySaveable.Yes)]
|
||||
public string SelectedSubmarine
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user