mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 06:14:08 +08:00
feat: add JSON support for serverPort and hostPort
This commit is contained in:
@@ -81,7 +81,8 @@ struct Viewport {
|
||||
};
|
||||
|
||||
struct NetworkConfig {
|
||||
int port = 12345;
|
||||
int serverPort = 12345;
|
||||
int hostPort = 12345;
|
||||
int maxPlayers = 2;
|
||||
std::string serverIP = "127.0.0.1";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user