you can now load submarines dynamically and load them into the lobby screen and added entity spawner

This commit is contained in:
Evil Factory
2021-10-01 12:41:58 -03:00
parent 1da9b5870c
commit 6345166742
7 changed files with 41 additions and 6 deletions
@@ -28,6 +28,7 @@ namespace Barotrauma
public ServerSettings ServerSettings => GameMain.Server.ServerSettings;
public void ClientWriteLobby(Client client) => GameMain.Server.ClientWriteLobby(client);
public static void SendMessage(string msg, ChatMessageType? messageType = null, Client sender = null, Character character = null)
{
@@ -1826,7 +1826,7 @@ namespace Barotrauma.Networking
}
}
private void ClientWriteLobby(Client c)
public void ClientWriteLobby(Client c)
{
bool isInitialUpdate = false;
@@ -217,6 +217,11 @@ namespace Barotrauma
return subs;
}
public void AddSub(SubmarineInfo sub)
{
subs.Add(sub);
}
public string LevelSeed
{
get