diff options
Diffstat (limited to 'server/src/client/client.h')
| -rw-r--r-- | server/src/client/client.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/src/client/client.h b/server/src/client/client.h index 54df957..ef61b75 100644 --- a/server/src/client/client.h +++ b/server/src/client/client.h @@ -25,7 +25,8 @@ class client { std::string m_session_id; public: - std::string hwid; + uint32_t hwid; + std::string hwid_data; std::string username; int state; @@ -63,7 +64,7 @@ class client { int stream(std::vector<char>& data, float* dur = nullptr); int read_stream(std::vector<char>& out); - int stream(std::string& str) { + int stream(const std::string_view str) { std::vector<char> vec(str.begin(), str.end()); return stream(vec); } |