Converted all the EQStreams into EQStreamInterfaces, dear god help us.

This commit is contained in:
KimLS
2016-09-24 22:43:29 -07:00
parent 4cb7d9a352
commit 751e61d6e5
24 changed files with 77 additions and 59 deletions
+3 -3
View File
@@ -59,7 +59,7 @@ public:
/**
* Constructor, sets our connection to c and version to v
*/
Client(std::shared_ptr<EQStream> c, LSClientVersion v);
Client(std::shared_ptr<EQStreamInterface> c, LSClientVersion v);
/**
* Destructor.
@@ -129,11 +129,11 @@ public:
/**
* Gets the connection for this client.
*/
std::shared_ptr<EQStream> GetConnection() { return connection; }
std::shared_ptr<EQStreamInterface> GetConnection() { return connection; }
EQEmu::Random random;
private:
std::shared_ptr<EQStream> connection;
std::shared_ptr<EQStreamInterface> connection;
LSClientVersion version;
LSClientStatus status;