summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/NetClientConfig.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-03-23 17:27:43 +0100
committerAki <please@ignore.pl>2024-03-23 17:27:43 +0100
commitb46eb9c1843cb4babc550003e243bd07a6a96cdc (patch)
tree8f9a3c01a594a7c1a389811124258f4beaf89587 /StarsEx/NetClientConfig.h
parenta5f3eadd4239bfa5df64badabb2b9897f686aded (diff)
downloadstarshatter-b46eb9c1843cb4babc550003e243bd07a6a96cdc.zip
starshatter-b46eb9c1843cb4babc550003e243bd07a6a96cdc.tar.gz
starshatter-b46eb9c1843cb4babc550003e243bd07a6a96cdc.tar.bz2
You may now edit saved multiplayer servers in-game
Diffstat (limited to 'StarsEx/NetClientConfig.h')
-rw-r--r--StarsEx/NetClientConfig.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/StarsEx/NetClientConfig.h b/StarsEx/NetClientConfig.h
index bce0cf5..ff547be 100644
--- a/StarsEx/NetClientConfig.h
+++ b/StarsEx/NetClientConfig.h
@@ -30,12 +30,9 @@ public:
NetClientConfig();
~NetClientConfig();
- void AddServer(const char* name,
- const char* addr,
- WORD port,
- const char* password,
- bool save=false);
- void DelServer(int index);
+ void AddServer(const char* name, const char* addr, WORD port, const char* password, bool save=false);
+ void UpdateServer(int index, const char* name, const char* addr, WORD port, const char* password);
+ void DelServer(int index);
List<NetServerInfo>& GetServerList() { return servers; }
NetServerInfo* GetServerInfo(int n);