you can now load submarines dynamically and load them into the lobby screen and added entity spawner
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user