Build 0.20.4.0

This commit is contained in:
Markus Isberg
2022-11-11 17:57:23 +02:00
parent edaf4b09fe
commit 54712b5dc9
201 changed files with 7618 additions and 2020 deletions
@@ -27,7 +27,8 @@ namespace Barotrauma.Networking
SellSubItems = 0x4000,
ManageMap = 0x8000,
ManageHires = 0x10000,
All = 0x1FFFF
ManageBotTalents = 0x20000,
All = 0x3FFFF
}
class PermissionPreset
@@ -382,12 +382,17 @@ namespace Barotrauma.Networking
private bool autoRestart;
public bool IsPublic;
private int maxPlayers;
public List<SavedClientPermission> ClientPermissions { get; private set; } = new List<SavedClientPermission>();
[Serialize(true, IsPropertySaveable.Yes)]
public bool IsPublic
{
get;
set;
}
private int tickRate = 20;
[Serialize(20, IsPropertySaveable.Yes)]
public int TickRate
@@ -518,13 +523,20 @@ namespace Barotrauma.Networking
}
}
[Serialize(Barotrauma.LosMode.Opaque, IsPropertySaveable.Yes)]
[Serialize(LosMode.Opaque, IsPropertySaveable.Yes)]
public LosMode LosMode
{
get;
set;
}
[Serialize(EnemyHealthBarMode.ShowAll, IsPropertySaveable.Yes)]
public EnemyHealthBarMode ShowEnemyHealthBars
{
get;
set;
}
[Serialize(800, IsPropertySaveable.Yes)]
public int LinesPerLogFile
{