aboutsummaryrefslogtreecommitdiff
path: root/server/src/client/client.h
diff options
context:
space:
mode:
authorauth12 <[email protected]>2020-07-27 09:46:17 -0700
committerauth12 <[email protected]>2020-07-27 09:46:17 -0700
commita2e89fde1acc5b189c55e0b8b38146194e455cd0 (patch)
tree1f130027975733e0704a583aebb1a1832a22ec11 /server/src/client/client.h
parentCompile fix. (diff)
downloadloader-a2e89fde1acc5b189c55e0b8b38146194e455cd0.tar.xz
loader-a2e89fde1acc5b189c55e0b8b38146194e455cd0.zip
Removed spdlog, using fmt wrapper instead.
More process class changes, support for 32/64bit processes. Injection process improvements. Other small changes.
Diffstat (limited to 'server/src/client/client.h')
-rw-r--r--server/src/client/client.h5
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);
}