diff options
Diffstat (limited to 'protocols/Steam/src/protobuf-c')
-rw-r--r-- | protocols/Steam/src/protobuf-c/steammessages_base.pb-c.h | 4 |
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; |