v1.0.13.1 (first post-1.0 patch)

This commit is contained in:
Regalis11
2023-05-10 15:07:17 +03:00
parent 96fb49ba14
commit ee1db852b1
272 changed files with 5738 additions and 2413 deletions
@@ -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
{