summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/protobuf-c
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-12-15 19:45:16 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-12-15 19:45:16 +0300
commit88500a00ea529173f7dc5c4e560211e28a9d9701 (patch)
tree381d07aec9115cf3fe99d4593ce64bb9c07f36eb /protocols/Steam/src/protobuf-c
parent4bbe001b15dec9cacd882ee55fe54f85c56a147f (diff)
service message to receive a packet header too
Diffstat (limited to 'protocols/Steam/src/protobuf-c')
-rw-r--r--protocols/Steam/src/protobuf-c/steammessages_base.pb-c.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Steam/src/protobuf-c/steammessages_base.pb-c.h b/protocols/Steam/src/protobuf-c/steammessages_base.pb-c.h
index 4ff94b1524..a561798c6c 100644
--- a/protocols/Steam/src/protobuf-c/steammessages_base.pb-c.h
+++ b/protocols/Steam/src/protobuf-c/steammessages_base.pb-c.h
@@ -177,6 +177,10 @@ struct CMsgProtoBufHeader : public ProtobufCppMessage
ProtobufCppMessage(cmsg_proto_buf_header__descriptor)
{}
+ bool failed() const {
+ return has_eresult && eresult != 1;
+ }
+
protobuf_c_boolean has_steamid;
uint64_t steamid;
protobuf_c_boolean has_client_sessionid;