1 #ifndef NL_LAUNCHER_CONNECTION_H
2 #define NL_LAUNCHER_CONNECTION_H
7 #include <nel/net/tcp_sock.h>
11 typedef std::vector
<CShard
> TShardList
;
13 class CNelLauncherConnection
17 bool send(const std::string
&url
);
18 bool receive(std::string
&res
);
19 std::string
checkLogin(const std::string
&login
, const std::string
&password
, const std::string
&clientApp
);
20 std::string
selectShard(uint32 shardId
, std::string
&cookie
, std::string
&addr
);
22 TShardList
getShards() { return m_Shards
; }
26 std::string m_Password
;
27 std::string m_ClientApp
;
31 NLNET::CTcpSock m_Sock
;
34 #endif // NL_LAUNCHER_CONNECTION_H