summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-06-14 21:46:07 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-06-14 21:46:07 +0300
commit5fff0e1f6f3d92208804b1e4dfeb6c57a7a17844 (patch)
tree58005a005c72ca51a48f89e767effa00bfb9d641 /protocols/Steam/src/steam_proto.h
parentadad56d5f50eaaab8b3e9caa1cfc026ccb424d21 (diff)
Steam: ClientHello packet sending
Diffstat (limited to 'protocols/Steam/src/steam_proto.h')
-rw-r--r--protocols/Steam/src/steam_proto.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_proto.h b/protocols/Steam/src/steam_proto.h
index d2992cfb8a..3bf5b5915c 100644
--- a/protocols/Steam/src/steam_proto.h
+++ b/protocols/Steam/src/steam_proto.h
@@ -3,13 +3,20 @@
#define STEAM_SEARCH_BYID 1001
#define STEAM_SEARCH_BYNAME 1002
-#define STEAM_TYPING_TIME 10
+
+#define STEAM_PROTOCOL_VERSION 65580
+#define STEAM_PROTOCOL_MASK 0x80000000
// Global settings for all accounts: hosts' list
#define STEAM_MODULE "Steam"
#define DBKEY_HOSTS_COUNT "HostsCount"
#define DBKEY_HOSTS_DATE "HostsDate"
+enum EMsg
+{
+ ClientHello = 9805,
+};
+
struct SendAuthParam
{
MCONTACT hContact;
@@ -66,6 +73,8 @@ class CSteamProto : public PROTO<CSteamProto>
void __cdecl ServerThread(void *);
bool ServerThreadStub(const char *szHost);
+ void WSSend(int msgType, const ProtobufCppMessage &msg);
+
// requests
bool SendRequest(HttpRequest *request);
bool SendRequest(HttpRequest *request, HttpCallback callback, void *param = nullptr);