From 88500a00ea529173f7dc5c4e560211e28a9d9701 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Dec 2024 19:45:16 +0300 Subject: service message to receive a packet header too --- protocols/Steam/src/protobuf-c/steammessages_base.pb-c.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'protocols/Steam/src/protobuf-c') 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; -- cgit v1.2.3