summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-06-15 11:41:41 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-06-15 11:41:41 +0300
commit110b291bce427209d629cdb9688a8e785a66ef47 (patch)
tree92c467ec8cc69e327d07f4173b7e12c5ad6b90c7 /protocols/Steam/src/steam_proto.h
parentacb3762f58cfb58711edceef1a31b4c9ad37df9f (diff)
Steam: service packet sending
Diffstat (limited to 'protocols/Steam/src/steam_proto.h')
-rw-r--r--protocols/Steam/src/steam_proto.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_proto.h b/protocols/Steam/src/steam_proto.h
index 3bf5b5915c..1d933c25d6 100644
--- a/protocols/Steam/src/steam_proto.h
+++ b/protocols/Steam/src/steam_proto.h
@@ -14,6 +14,7 @@
enum EMsg
{
+ ServiceMethodCallFromClientNonAuthed = 9804,
ClientHello = 9805,
};
@@ -73,7 +74,9 @@ class CSteamProto : public PROTO<CSteamProto>
void __cdecl ServerThread(void *);
bool ServerThreadStub(const char *szHost);
- void WSSend(int msgType, const ProtobufCppMessage &msg);
+ void WSSend(EMsg msgType, const ProtobufCppMessage &msg);
+ void WSSendHeader(EMsg msgType, const CMsgProtoBufHeader &hdr, const ProtobufCppMessage &msg);
+ void WSSendService(const char *pszServiceName, const ProtobufCppMessage &msg);
// requests
bool SendRequest(HttpRequest *request);