|
@ -16,6 +16,7 @@ namespace Multiplayer |
|
|
[SerializeField] |
|
|
[SerializeField] |
|
|
private int Port = 4444; |
|
|
private int Port = 4444; |
|
|
|
|
|
|
|
|
|
|
|
public long Seed; |
|
|
|
|
|
|
|
|
public Dictionary<int, Player> AllPlayers; |
|
|
public Dictionary<int, Player> AllPlayers; |
|
|
|
|
|
|
|
@ -49,6 +50,8 @@ namespace Multiplayer |
|
|
loginManager = new LoginManager(this); |
|
|
loginManager = new LoginManager(this); |
|
|
playerManager = new PlayerServerManager(this); |
|
|
playerManager = new PlayerServerManager(this); |
|
|
|
|
|
|
|
|
|
|
|
Seed = System.DateTime.Now.Ticks; |
|
|
|
|
|
|
|
|
Server.Listen(Port); |
|
|
Server.Listen(Port); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|