OH YEAH.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "define.h"
|
||||
#include "../SQCSim-common/netprotocol.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
class Connector {
|
||||
public:
|
||||
@@ -10,8 +11,8 @@ public:
|
||||
~Connector();
|
||||
|
||||
int Init();
|
||||
int Connect(sockaddr_in srv_addr, std::string name);
|
||||
UINT64 getId() const;
|
||||
int Connect(char* srv_addr, std::string name);
|
||||
uint64_t getId() const;
|
||||
unsigned int getSeed() const;
|
||||
|
||||
//void SendInput();
|
||||
@@ -23,9 +24,9 @@ private:
|
||||
SOCKET m_sock_udp = 0,
|
||||
m_sock_tcp = 0;
|
||||
std::string m_name = "";
|
||||
UINT64 m_sid = 0,
|
||||
uint64_t m_sid = 0,
|
||||
m_tid = 0;
|
||||
unsigned int m_seed = 12345;
|
||||
unsigned int m_seed = 0;
|
||||
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user