diff options
Diffstat (limited to 'StarsEx/NetClientConfig.h')
-rw-r--r-- | StarsEx/NetClientConfig.h | 9 |
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); |