summaryrefslogtreecommitdiff
path: root/protocols/Steam/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r--protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.pb-c.c1942
-rw-r--r--protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.pb-c.h701
-rw-r--r--protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.proto168
3 files changed, 2811 insertions, 0 deletions
diff --git a/protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.pb-c.c b/protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.pb-c.c
new file mode 100644
index 0000000000..e06b9cd276
--- /dev/null
+++ b/protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.pb-c.c
@@ -0,0 +1,1942 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: steammessages_friendmessages.steamclient.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "steammessages_friendmessages.steamclient.pb-c.h"
+size_t cfriend_messages__get_recent_messages__request__get_packed_size
+ (const CFriendMessagesGetRecentMessagesRequest *message)
+{
+ assert(message->descriptor == &cfriend_messages__get_recent_messages__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriend_messages__get_recent_messages__request__pack
+ (const CFriendMessagesGetRecentMessagesRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriend_messages__get_recent_messages__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriend_messages__get_recent_messages__request__pack_to_buffer
+ (const CFriendMessagesGetRecentMessagesRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriend_messages__get_recent_messages__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendMessagesGetRecentMessagesRequest *
+ cfriend_messages__get_recent_messages__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendMessagesGetRecentMessagesRequest *)
+ protobuf_c_message_unpack (&cfriend_messages__get_recent_messages__request__descriptor,
+ allocator, len, data);
+}
+void cfriend_messages__get_recent_messages__request__free_unpacked
+ (CFriendMessagesGetRecentMessagesRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriend_messages__get_recent_messages__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriend_messages__get_recent_messages__response__get_packed_size
+ (const CFriendMessagesGetRecentMessagesResponse *message)
+{
+ assert(message->descriptor == &cfriend_messages__get_recent_messages__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriend_messages__get_recent_messages__response__pack
+ (const CFriendMessagesGetRecentMessagesResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriend_messages__get_recent_messages__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriend_messages__get_recent_messages__response__pack_to_buffer
+ (const CFriendMessagesGetRecentMessagesResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriend_messages__get_recent_messages__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendMessagesGetRecentMessagesResponse *
+ cfriend_messages__get_recent_messages__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendMessagesGetRecentMessagesResponse *)
+ protobuf_c_message_unpack (&cfriend_messages__get_recent_messages__response__descriptor,
+ allocator, len, data);
+}
+void cfriend_messages__get_recent_messages__response__free_unpacked
+ (CFriendMessagesGetRecentMessagesResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriend_messages__get_recent_messages__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriends_messages__get_active_message_sessions__request__get_packed_size
+ (const CFriendsMessagesGetActiveMessageSessionsRequest *message)
+{
+ assert(message->descriptor == &cfriends_messages__get_active_message_sessions__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriends_messages__get_active_message_sessions__request__pack
+ (const CFriendsMessagesGetActiveMessageSessionsRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriends_messages__get_active_message_sessions__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriends_messages__get_active_message_sessions__request__pack_to_buffer
+ (const CFriendsMessagesGetActiveMessageSessionsRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriends_messages__get_active_message_sessions__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendsMessagesGetActiveMessageSessionsRequest *
+ cfriends_messages__get_active_message_sessions__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendsMessagesGetActiveMessageSessionsRequest *)
+ protobuf_c_message_unpack (&cfriends_messages__get_active_message_sessions__request__descriptor,
+ allocator, len, data);
+}
+void cfriends_messages__get_active_message_sessions__request__free_unpacked
+ (CFriendsMessagesGetActiveMessageSessionsRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriends_messages__get_active_message_sessions__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriends_messages__get_active_message_sessions__response__get_packed_size
+ (const CFriendsMessagesGetActiveMessageSessionsResponse *message)
+{
+ assert(message->descriptor == &cfriends_messages__get_active_message_sessions__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriends_messages__get_active_message_sessions__response__pack
+ (const CFriendsMessagesGetActiveMessageSessionsResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriends_messages__get_active_message_sessions__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriends_messages__get_active_message_sessions__response__pack_to_buffer
+ (const CFriendsMessagesGetActiveMessageSessionsResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriends_messages__get_active_message_sessions__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendsMessagesGetActiveMessageSessionsResponse *
+ cfriends_messages__get_active_message_sessions__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendsMessagesGetActiveMessageSessionsResponse *)
+ protobuf_c_message_unpack (&cfriends_messages__get_active_message_sessions__response__descriptor,
+ allocator, len, data);
+}
+void cfriends_messages__get_active_message_sessions__response__free_unpacked
+ (CFriendsMessagesGetActiveMessageSessionsResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriends_messages__get_active_message_sessions__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriend_messages__send_message__request__get_packed_size
+ (const CFriendMessagesSendMessageRequest *message)
+{
+ assert(message->descriptor == &cfriend_messages__send_message__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriend_messages__send_message__request__pack
+ (const CFriendMessagesSendMessageRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriend_messages__send_message__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriend_messages__send_message__request__pack_to_buffer
+ (const CFriendMessagesSendMessageRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriend_messages__send_message__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendMessagesSendMessageRequest *
+ cfriend_messages__send_message__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendMessagesSendMessageRequest *)
+ protobuf_c_message_unpack (&cfriend_messages__send_message__request__descriptor,
+ allocator, len, data);
+}
+void cfriend_messages__send_message__request__free_unpacked
+ (CFriendMessagesSendMessageRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriend_messages__send_message__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriend_messages__send_message__response__get_packed_size
+ (const CFriendMessagesSendMessageResponse *message)
+{
+ assert(message->descriptor == &cfriend_messages__send_message__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriend_messages__send_message__response__pack
+ (const CFriendMessagesSendMessageResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriend_messages__send_message__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriend_messages__send_message__response__pack_to_buffer
+ (const CFriendMessagesSendMessageResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriend_messages__send_message__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendMessagesSendMessageResponse *
+ cfriend_messages__send_message__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendMessagesSendMessageResponse *)
+ protobuf_c_message_unpack (&cfriend_messages__send_message__response__descriptor,
+ allocator, len, data);
+}
+void cfriend_messages__send_message__response__free_unpacked
+ (CFriendMessagesSendMessageResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriend_messages__send_message__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriend_messages__ack_message__notification__get_packed_size
+ (const CFriendMessagesAckMessageNotification *message)
+{
+ assert(message->descriptor == &cfriend_messages__ack_message__notification__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriend_messages__ack_message__notification__pack
+ (const CFriendMessagesAckMessageNotification *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriend_messages__ack_message__notification__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriend_messages__ack_message__notification__pack_to_buffer
+ (const CFriendMessagesAckMessageNotification *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriend_messages__ack_message__notification__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendMessagesAckMessageNotification *
+ cfriend_messages__ack_message__notification__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendMessagesAckMessageNotification *)
+ protobuf_c_message_unpack (&cfriend_messages__ack_message__notification__descriptor,
+ allocator, len, data);
+}
+void cfriend_messages__ack_message__notification__free_unpacked
+ (CFriendMessagesAckMessageNotification *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriend_messages__ack_message__notification__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriend_messages__is_in_friends_uibeta__request__get_packed_size
+ (const CFriendMessagesIsInFriendsUIBetaRequest *message)
+{
+ assert(message->descriptor == &cfriend_messages__is_in_friends_uibeta__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriend_messages__is_in_friends_uibeta__request__pack
+ (const CFriendMessagesIsInFriendsUIBetaRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriend_messages__is_in_friends_uibeta__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriend_messages__is_in_friends_uibeta__request__pack_to_buffer
+ (const CFriendMessagesIsInFriendsUIBetaRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriend_messages__is_in_friends_uibeta__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendMessagesIsInFriendsUIBetaRequest *
+ cfriend_messages__is_in_friends_uibeta__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendMessagesIsInFriendsUIBetaRequest *)
+ protobuf_c_message_unpack (&cfriend_messages__is_in_friends_uibeta__request__descriptor,
+ allocator, len, data);
+}
+void cfriend_messages__is_in_friends_uibeta__request__free_unpacked
+ (CFriendMessagesIsInFriendsUIBetaRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriend_messages__is_in_friends_uibeta__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriend_messages__is_in_friends_uibeta__response__get_packed_size
+ (const CFriendMessagesIsInFriendsUIBetaResponse *message)
+{
+ assert(message->descriptor == &cfriend_messages__is_in_friends_uibeta__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriend_messages__is_in_friends_uibeta__response__pack
+ (const CFriendMessagesIsInFriendsUIBetaResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriend_messages__is_in_friends_uibeta__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriend_messages__is_in_friends_uibeta__response__pack_to_buffer
+ (const CFriendMessagesIsInFriendsUIBetaResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriend_messages__is_in_friends_uibeta__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendMessagesIsInFriendsUIBetaResponse *
+ cfriend_messages__is_in_friends_uibeta__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendMessagesIsInFriendsUIBetaResponse *)
+ protobuf_c_message_unpack (&cfriend_messages__is_in_friends_uibeta__response__descriptor,
+ allocator, len, data);
+}
+void cfriend_messages__is_in_friends_uibeta__response__free_unpacked
+ (CFriendMessagesIsInFriendsUIBetaResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriend_messages__is_in_friends_uibeta__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriend_messages__update_message_reaction__request__get_packed_size
+ (const CFriendMessagesUpdateMessageReactionRequest *message)
+{
+ assert(message->descriptor == &cfriend_messages__update_message_reaction__request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriend_messages__update_message_reaction__request__pack
+ (const CFriendMessagesUpdateMessageReactionRequest *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriend_messages__update_message_reaction__request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriend_messages__update_message_reaction__request__pack_to_buffer
+ (const CFriendMessagesUpdateMessageReactionRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriend_messages__update_message_reaction__request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendMessagesUpdateMessageReactionRequest *
+ cfriend_messages__update_message_reaction__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendMessagesUpdateMessageReactionRequest *)
+ protobuf_c_message_unpack (&cfriend_messages__update_message_reaction__request__descriptor,
+ allocator, len, data);
+}
+void cfriend_messages__update_message_reaction__request__free_unpacked
+ (CFriendMessagesUpdateMessageReactionRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriend_messages__update_message_reaction__request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriend_messages__update_message_reaction__response__get_packed_size
+ (const CFriendMessagesUpdateMessageReactionResponse *message)
+{
+ assert(message->descriptor == &cfriend_messages__update_message_reaction__response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriend_messages__update_message_reaction__response__pack
+ (const CFriendMessagesUpdateMessageReactionResponse *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriend_messages__update_message_reaction__response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriend_messages__update_message_reaction__response__pack_to_buffer
+ (const CFriendMessagesUpdateMessageReactionResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriend_messages__update_message_reaction__response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendMessagesUpdateMessageReactionResponse *
+ cfriend_messages__update_message_reaction__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendMessagesUpdateMessageReactionResponse *)
+ protobuf_c_message_unpack (&cfriend_messages__update_message_reaction__response__descriptor,
+ allocator, len, data);
+}
+void cfriend_messages__update_message_reaction__response__free_unpacked
+ (CFriendMessagesUpdateMessageReactionResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriend_messages__update_message_reaction__response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriend_messages__incoming_message__notification__get_packed_size
+ (const CFriendMessagesIncomingMessageNotification *message)
+{
+ assert(message->descriptor == &cfriend_messages__incoming_message__notification__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriend_messages__incoming_message__notification__pack
+ (const CFriendMessagesIncomingMessageNotification *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriend_messages__incoming_message__notification__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriend_messages__incoming_message__notification__pack_to_buffer
+ (const CFriendMessagesIncomingMessageNotification *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriend_messages__incoming_message__notification__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendMessagesIncomingMessageNotification *
+ cfriend_messages__incoming_message__notification__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendMessagesIncomingMessageNotification *)
+ protobuf_c_message_unpack (&cfriend_messages__incoming_message__notification__descriptor,
+ allocator, len, data);
+}
+void cfriend_messages__incoming_message__notification__free_unpacked
+ (CFriendMessagesIncomingMessageNotification *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriend_messages__incoming_message__notification__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+size_t cfriend_messages__message_reaction__notification__get_packed_size
+ (const CFriendMessagesMessageReactionNotification *message)
+{
+ assert(message->descriptor == &cfriend_messages__message_reaction__notification__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t cfriend_messages__message_reaction__notification__pack
+ (const CFriendMessagesMessageReactionNotification *message,
+ uint8_t *out)
+{
+ assert(message->descriptor == &cfriend_messages__message_reaction__notification__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t cfriend_messages__message_reaction__notification__pack_to_buffer
+ (const CFriendMessagesMessageReactionNotification *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->descriptor == &cfriend_messages__message_reaction__notification__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+CFriendMessagesMessageReactionNotification *
+ cfriend_messages__message_reaction__notification__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (CFriendMessagesMessageReactionNotification *)
+ protobuf_c_message_unpack (&cfriend_messages__message_reaction__notification__descriptor,
+ allocator, len, data);
+}
+void cfriend_messages__message_reaction__notification__free_unpacked
+ (CFriendMessagesMessageReactionNotification *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->descriptor == &cfriend_messages__message_reaction__notification__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+
+static const ProtobufCFieldDescriptor cfriend_messages__get_recent_messages__request__field_descriptors[9] =
+{
+ {
+ "steamid1",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CFriendMessagesGetRecentMessagesRequest, has_steamid1),
+ offsetof(CFriendMessagesGetRecentMessagesRequest, steamid1),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "steamid2",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CFriendMessagesGetRecentMessagesRequest, has_steamid2),
+ offsetof(CFriendMessagesGetRecentMessagesRequest, steamid2),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "count",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesGetRecentMessagesRequest, has_count),
+ offsetof(CFriendMessagesGetRecentMessagesRequest, count),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "most_recent_conversation",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesGetRecentMessagesRequest, has_most_recent_conversation),
+ offsetof(CFriendMessagesGetRecentMessagesRequest, most_recent_conversation),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "rtime32_start_time",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED32,
+ offsetof(CFriendMessagesGetRecentMessagesRequest, has_rtime32_start_time),
+ offsetof(CFriendMessagesGetRecentMessagesRequest, rtime32_start_time),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "bbcode_format",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesGetRecentMessagesRequest, has_bbcode_format),
+ offsetof(CFriendMessagesGetRecentMessagesRequest, bbcode_format),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "start_ordinal",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesGetRecentMessagesRequest, has_start_ordinal),
+ offsetof(CFriendMessagesGetRecentMessagesRequest, start_ordinal),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "time_last",
+ 8,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesGetRecentMessagesRequest, has_time_last),
+ offsetof(CFriendMessagesGetRecentMessagesRequest, time_last),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ordinal_last",
+ 9,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesGetRecentMessagesRequest, has_ordinal_last),
+ offsetof(CFriendMessagesGetRecentMessagesRequest, ordinal_last),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__get_recent_messages__request__field_indices_by_name[] = {
+ 5, /* field[5] = bbcode_format */
+ 2, /* field[2] = count */
+ 3, /* field[3] = most_recent_conversation */
+ 8, /* field[8] = ordinal_last */
+ 4, /* field[4] = rtime32_start_time */
+ 6, /* field[6] = start_ordinal */
+ 0, /* field[0] = steamid1 */
+ 1, /* field[1] = steamid2 */
+ 7, /* field[7] = time_last */
+};
+static const ProtobufCIntRange cfriend_messages__get_recent_messages__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 9 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__get_recent_messages__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_GetRecentMessages_Request",
+ "CFriendMessagesGetRecentMessagesRequest",
+ "CFriendMessagesGetRecentMessagesRequest",
+ "",
+ sizeof(CFriendMessagesGetRecentMessagesRequest),
+ 9,
+ cfriend_messages__get_recent_messages__request__field_descriptors,
+ cfriend_messages__get_recent_messages__request__field_indices_by_name,
+ 1, cfriend_messages__get_recent_messages__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const EMessageReactionType cfriend_messages__get_recent_messages__response__friend_message__message_reaction__reaction_type__default_value = EMESSAGE_REACTION_TYPE__k_EMessageReactionType_Invalid;
+static const ProtobufCFieldDescriptor cfriend_messages__get_recent_messages__response__friend_message__message_reaction__field_descriptors[3] =
+{
+ {
+ "reaction_type",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_ENUM,
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction, has_reaction_type),
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction, reaction_type),
+ &emessage_reaction_type__descriptor,
+ &cfriend_messages__get_recent_messages__response__friend_message__message_reaction__reaction_type__default_value,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "reaction",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction, reaction),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "reactors",
+ 3,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction, n_reactors),
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction, reactors),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__get_recent_messages__response__friend_message__message_reaction__field_indices_by_name[] = {
+ 1, /* field[1] = reaction */
+ 0, /* field[0] = reaction_type */
+ 2, /* field[2] = reactors */
+};
+static const ProtobufCIntRange cfriend_messages__get_recent_messages__response__friend_message__message_reaction__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 3 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__get_recent_messages__response__friend_message__message_reaction__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_GetRecentMessages_Response.FriendMessage.MessageReaction",
+ "MessageReaction",
+ "CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction",
+ "",
+ sizeof(CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction),
+ 3,
+ cfriend_messages__get_recent_messages__response__friend_message__message_reaction__field_descriptors,
+ cfriend_messages__get_recent_messages__response__friend_message__message_reaction__field_indices_by_name,
+ 1, cfriend_messages__get_recent_messages__response__friend_message__message_reaction__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriend_messages__get_recent_messages__response__friend_message__field_descriptors[5] =
+{
+ {
+ "accountid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage, has_accountid),
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage, accountid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "timestamp",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage, has_timestamp),
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage, timestamp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "message",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage, message),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ordinal",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage, has_ordinal),
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage, ordinal),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "reactions",
+ 5,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage, n_reactions),
+ offsetof(CFriendMessagesGetRecentMessagesResponse__FriendMessage, reactions),
+ &cfriend_messages__get_recent_messages__response__friend_message__message_reaction__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__get_recent_messages__response__friend_message__field_indices_by_name[] = {
+ 0, /* field[0] = accountid */
+ 2, /* field[2] = message */
+ 3, /* field[3] = ordinal */
+ 4, /* field[4] = reactions */
+ 1, /* field[1] = timestamp */
+};
+static const ProtobufCIntRange cfriend_messages__get_recent_messages__response__friend_message__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 5 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__get_recent_messages__response__friend_message__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_GetRecentMessages_Response.FriendMessage",
+ "FriendMessage",
+ "CFriendMessagesGetRecentMessagesResponse__FriendMessage",
+ "",
+ sizeof(CFriendMessagesGetRecentMessagesResponse__FriendMessage),
+ 5,
+ cfriend_messages__get_recent_messages__response__friend_message__field_descriptors,
+ cfriend_messages__get_recent_messages__response__friend_message__field_indices_by_name,
+ 1, cfriend_messages__get_recent_messages__response__friend_message__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriend_messages__get_recent_messages__response__field_descriptors[2] =
+{
+ {
+ "messages",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(CFriendMessagesGetRecentMessagesResponse, n_messages),
+ offsetof(CFriendMessagesGetRecentMessagesResponse, messages),
+ &cfriend_messages__get_recent_messages__response__friend_message__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "more_available",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesGetRecentMessagesResponse, has_more_available),
+ offsetof(CFriendMessagesGetRecentMessagesResponse, more_available),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__get_recent_messages__response__field_indices_by_name[] = {
+ 0, /* field[0] = messages */
+ 1, /* field[1] = more_available */
+};
+static const ProtobufCIntRange cfriend_messages__get_recent_messages__response__number_ranges[2 + 1] =
+{
+ { 1, 0 },
+ { 4, 1 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__get_recent_messages__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_GetRecentMessages_Response",
+ "CFriendMessagesGetRecentMessagesResponse",
+ "CFriendMessagesGetRecentMessagesResponse",
+ "",
+ sizeof(CFriendMessagesGetRecentMessagesResponse),
+ 2,
+ cfriend_messages__get_recent_messages__response__field_descriptors,
+ cfriend_messages__get_recent_messages__response__field_indices_by_name,
+ 2, cfriend_messages__get_recent_messages__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriends_messages__get_active_message_sessions__request__field_descriptors[2] =
+{
+ {
+ "lastmessage_since",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendsMessagesGetActiveMessageSessionsRequest, has_lastmessage_since),
+ offsetof(CFriendsMessagesGetActiveMessageSessionsRequest, lastmessage_since),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "only_sessions_with_messages",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendsMessagesGetActiveMessageSessionsRequest, has_only_sessions_with_messages),
+ offsetof(CFriendsMessagesGetActiveMessageSessionsRequest, only_sessions_with_messages),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriends_messages__get_active_message_sessions__request__field_indices_by_name[] = {
+ 0, /* field[0] = lastmessage_since */
+ 1, /* field[1] = only_sessions_with_messages */
+};
+static const ProtobufCIntRange cfriends_messages__get_active_message_sessions__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cfriends_messages__get_active_message_sessions__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendsMessages_GetActiveMessageSessions_Request",
+ "CFriendsMessagesGetActiveMessageSessionsRequest",
+ "CFriendsMessagesGetActiveMessageSessionsRequest",
+ "",
+ sizeof(CFriendsMessagesGetActiveMessageSessionsRequest),
+ 2,
+ cfriends_messages__get_active_message_sessions__request__field_descriptors,
+ cfriends_messages__get_active_message_sessions__request__field_indices_by_name,
+ 1, cfriends_messages__get_active_message_sessions__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriends_messages__get_active_message_sessions__response__friend_message_session__field_descriptors[4] =
+{
+ {
+ "accountid_friend",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession, has_accountid_friend),
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession, accountid_friend),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "last_message",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession, has_last_message),
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession, last_message),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "last_view",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession, has_last_view),
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession, last_view),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "unread_message_count",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession, has_unread_message_count),
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession, unread_message_count),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriends_messages__get_active_message_sessions__response__friend_message_session__field_indices_by_name[] = {
+ 0, /* field[0] = accountid_friend */
+ 1, /* field[1] = last_message */
+ 2, /* field[2] = last_view */
+ 3, /* field[3] = unread_message_count */
+};
+static const ProtobufCIntRange cfriends_messages__get_active_message_sessions__response__friend_message_session__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 4 }
+};
+const ProtobufCMessageDescriptor cfriends_messages__get_active_message_sessions__response__friend_message_session__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendsMessages_GetActiveMessageSessions_Response.FriendMessageSession",
+ "FriendMessageSession",
+ "CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession",
+ "",
+ sizeof(CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession),
+ 4,
+ cfriends_messages__get_active_message_sessions__response__friend_message_session__field_descriptors,
+ cfriends_messages__get_active_message_sessions__response__friend_message_session__field_indices_by_name,
+ 1, cfriends_messages__get_active_message_sessions__response__friend_message_session__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriends_messages__get_active_message_sessions__response__field_descriptors[2] =
+{
+ {
+ "message_sessions",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_MESSAGE,
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse, n_message_sessions),
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse, message_sessions),
+ &cfriends_messages__get_active_message_sessions__response__friend_message_session__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "timestamp",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse, has_timestamp),
+ offsetof(CFriendsMessagesGetActiveMessageSessionsResponse, timestamp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriends_messages__get_active_message_sessions__response__field_indices_by_name[] = {
+ 0, /* field[0] = message_sessions */
+ 1, /* field[1] = timestamp */
+};
+static const ProtobufCIntRange cfriends_messages__get_active_message_sessions__response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cfriends_messages__get_active_message_sessions__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendsMessages_GetActiveMessageSessions_Response",
+ "CFriendsMessagesGetActiveMessageSessionsResponse",
+ "CFriendsMessagesGetActiveMessageSessionsResponse",
+ "",
+ sizeof(CFriendsMessagesGetActiveMessageSessionsResponse),
+ 2,
+ cfriends_messages__get_active_message_sessions__response__field_descriptors,
+ cfriends_messages__get_active_message_sessions__response__field_indices_by_name,
+ 1, cfriends_messages__get_active_message_sessions__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriend_messages__send_message__request__field_descriptors[7] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CFriendMessagesSendMessageRequest, has_steamid),
+ offsetof(CFriendMessagesSendMessageRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "chat_entry_type",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(CFriendMessagesSendMessageRequest, has_chat_entry_type),
+ offsetof(CFriendMessagesSendMessageRequest, chat_entry_type),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "message",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CFriendMessagesSendMessageRequest, message),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "contains_bbcode",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesSendMessageRequest, has_contains_bbcode),
+ offsetof(CFriendMessagesSendMessageRequest, contains_bbcode),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "echo_to_sender",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesSendMessageRequest, has_echo_to_sender),
+ offsetof(CFriendMessagesSendMessageRequest, echo_to_sender),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "low_priority",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesSendMessageRequest, has_low_priority),
+ offsetof(CFriendMessagesSendMessageRequest, low_priority),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "client_message_id",
+ 8,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CFriendMessagesSendMessageRequest, client_message_id),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__send_message__request__field_indices_by_name[] = {
+ 1, /* field[1] = chat_entry_type */
+ 6, /* field[6] = client_message_id */
+ 3, /* field[3] = contains_bbcode */
+ 4, /* field[4] = echo_to_sender */
+ 5, /* field[5] = low_priority */
+ 2, /* field[2] = message */
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cfriend_messages__send_message__request__number_ranges[2 + 1] =
+{
+ { 1, 0 },
+ { 8, 6 },
+ { 0, 7 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__send_message__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_SendMessage_Request",
+ "CFriendMessagesSendMessageRequest",
+ "CFriendMessagesSendMessageRequest",
+ "",
+ sizeof(CFriendMessagesSendMessageRequest),
+ 7,
+ cfriend_messages__send_message__request__field_descriptors,
+ cfriend_messages__send_message__request__field_indices_by_name,
+ 2, cfriend_messages__send_message__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriend_messages__send_message__response__field_descriptors[4] =
+{
+ {
+ "modified_message",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CFriendMessagesSendMessageResponse, modified_message),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "server_timestamp",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesSendMessageResponse, has_server_timestamp),
+ offsetof(CFriendMessagesSendMessageResponse, server_timestamp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ordinal",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesSendMessageResponse, has_ordinal),
+ offsetof(CFriendMessagesSendMessageResponse, ordinal),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "message_without_bb_code",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CFriendMessagesSendMessageResponse, message_without_bb_code),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__send_message__response__field_indices_by_name[] = {
+ 3, /* field[3] = message_without_bb_code */
+ 0, /* field[0] = modified_message */
+ 2, /* field[2] = ordinal */
+ 1, /* field[1] = server_timestamp */
+};
+static const ProtobufCIntRange cfriend_messages__send_message__response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 4 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__send_message__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_SendMessage_Response",
+ "CFriendMessagesSendMessageResponse",
+ "CFriendMessagesSendMessageResponse",
+ "",
+ sizeof(CFriendMessagesSendMessageResponse),
+ 4,
+ cfriend_messages__send_message__response__field_descriptors,
+ cfriend_messages__send_message__response__field_indices_by_name,
+ 1, cfriend_messages__send_message__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriend_messages__ack_message__notification__field_descriptors[2] =
+{
+ {
+ "steamid_partner",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CFriendMessagesAckMessageNotification, has_steamid_partner),
+ offsetof(CFriendMessagesAckMessageNotification, steamid_partner),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "timestamp",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesAckMessageNotification, has_timestamp),
+ offsetof(CFriendMessagesAckMessageNotification, timestamp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__ack_message__notification__field_indices_by_name[] = {
+ 0, /* field[0] = steamid_partner */
+ 1, /* field[1] = timestamp */
+};
+static const ProtobufCIntRange cfriend_messages__ack_message__notification__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__ack_message__notification__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_AckMessage_Notification",
+ "CFriendMessagesAckMessageNotification",
+ "CFriendMessagesAckMessageNotification",
+ "",
+ sizeof(CFriendMessagesAckMessageNotification),
+ 2,
+ cfriend_messages__ack_message__notification__field_descriptors,
+ cfriend_messages__ack_message__notification__field_indices_by_name,
+ 1, cfriend_messages__ack_message__notification__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriend_messages__is_in_friends_uibeta__request__field_descriptors[1] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CFriendMessagesIsInFriendsUIBetaRequest, has_steamid),
+ offsetof(CFriendMessagesIsInFriendsUIBetaRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__is_in_friends_uibeta__request__field_indices_by_name[] = {
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cfriend_messages__is_in_friends_uibeta__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__is_in_friends_uibeta__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_IsInFriendsUIBeta_Request",
+ "CFriendMessagesIsInFriendsUIBetaRequest",
+ "CFriendMessagesIsInFriendsUIBetaRequest",
+ "",
+ sizeof(CFriendMessagesIsInFriendsUIBetaRequest),
+ 1,
+ cfriend_messages__is_in_friends_uibeta__request__field_descriptors,
+ cfriend_messages__is_in_friends_uibeta__request__field_indices_by_name,
+ 1, cfriend_messages__is_in_friends_uibeta__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriend_messages__is_in_friends_uibeta__response__field_descriptors[2] =
+{
+ {
+ "online_in_friendsui",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesIsInFriendsUIBetaResponse, has_online_in_friendsui),
+ offsetof(CFriendMessagesIsInFriendsUIBetaResponse, online_in_friendsui),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "has_used_friendsui",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesIsInFriendsUIBetaResponse, has_has_used_friendsui),
+ offsetof(CFriendMessagesIsInFriendsUIBetaResponse, has_used_friendsui),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__is_in_friends_uibeta__response__field_indices_by_name[] = {
+ 1, /* field[1] = has_used_friendsui */
+ 0, /* field[0] = online_in_friendsui */
+};
+static const ProtobufCIntRange cfriend_messages__is_in_friends_uibeta__response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__is_in_friends_uibeta__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_IsInFriendsUIBeta_Response",
+ "CFriendMessagesIsInFriendsUIBetaResponse",
+ "CFriendMessagesIsInFriendsUIBetaResponse",
+ "",
+ sizeof(CFriendMessagesIsInFriendsUIBetaResponse),
+ 2,
+ cfriend_messages__is_in_friends_uibeta__response__field_descriptors,
+ cfriend_messages__is_in_friends_uibeta__response__field_indices_by_name,
+ 1, cfriend_messages__is_in_friends_uibeta__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const EMessageReactionType cfriend_messages__update_message_reaction__request__reaction_type__default_value = EMESSAGE_REACTION_TYPE__k_EMessageReactionType_Invalid;
+static const ProtobufCFieldDescriptor cfriend_messages__update_message_reaction__request__field_descriptors[6] =
+{
+ {
+ "steamid",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CFriendMessagesUpdateMessageReactionRequest, has_steamid),
+ offsetof(CFriendMessagesUpdateMessageReactionRequest, steamid),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "server_timestamp",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesUpdateMessageReactionRequest, has_server_timestamp),
+ offsetof(CFriendMessagesUpdateMessageReactionRequest, server_timestamp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ordinal",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesUpdateMessageReactionRequest, has_ordinal),
+ offsetof(CFriendMessagesUpdateMessageReactionRequest, ordinal),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "reaction_type",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_ENUM,
+ offsetof(CFriendMessagesUpdateMessageReactionRequest, has_reaction_type),
+ offsetof(CFriendMessagesUpdateMessageReactionRequest, reaction_type),
+ &emessage_reaction_type__descriptor,
+ &cfriend_messages__update_message_reaction__request__reaction_type__default_value,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "reaction",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CFriendMessagesUpdateMessageReactionRequest, reaction),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "is_add",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesUpdateMessageReactionRequest, has_is_add),
+ offsetof(CFriendMessagesUpdateMessageReactionRequest, is_add),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__update_message_reaction__request__field_indices_by_name[] = {
+ 5, /* field[5] = is_add */
+ 2, /* field[2] = ordinal */
+ 4, /* field[4] = reaction */
+ 3, /* field[3] = reaction_type */
+ 1, /* field[1] = server_timestamp */
+ 0, /* field[0] = steamid */
+};
+static const ProtobufCIntRange cfriend_messages__update_message_reaction__request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 6 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__update_message_reaction__request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_UpdateMessageReaction_Request",
+ "CFriendMessagesUpdateMessageReactionRequest",
+ "CFriendMessagesUpdateMessageReactionRequest",
+ "",
+ sizeof(CFriendMessagesUpdateMessageReactionRequest),
+ 6,
+ cfriend_messages__update_message_reaction__request__field_descriptors,
+ cfriend_messages__update_message_reaction__request__field_indices_by_name,
+ 1, cfriend_messages__update_message_reaction__request__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriend_messages__update_message_reaction__response__field_descriptors[1] =
+{
+ {
+ "reactors",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesUpdateMessageReactionResponse, n_reactors),
+ offsetof(CFriendMessagesUpdateMessageReactionResponse, reactors),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__update_message_reaction__response__field_indices_by_name[] = {
+ 0, /* field[0] = reactors */
+};
+static const ProtobufCIntRange cfriend_messages__update_message_reaction__response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__update_message_reaction__response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_UpdateMessageReaction_Response",
+ "CFriendMessagesUpdateMessageReactionResponse",
+ "CFriendMessagesUpdateMessageReactionResponse",
+ "",
+ sizeof(CFriendMessagesUpdateMessageReactionResponse),
+ 1,
+ cfriend_messages__update_message_reaction__response__field_descriptors,
+ cfriend_messages__update_message_reaction__response__field_indices_by_name,
+ 1, cfriend_messages__update_message_reaction__response__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor cfriend_messages__incoming_message__notification__field_descriptors[9] =
+{
+ {
+ "steamid_friend",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CFriendMessagesIncomingMessageNotification, has_steamid_friend),
+ offsetof(CFriendMessagesIncomingMessageNotification, steamid_friend),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "chat_entry_type",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(CFriendMessagesIncomingMessageNotification, has_chat_entry_type),
+ offsetof(CFriendMessagesIncomingMessageNotification, chat_entry_type),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "from_limited_account",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesIncomingMessageNotification, has_from_limited_account),
+ offsetof(CFriendMessagesIncomingMessageNotification, from_limited_account),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "message",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CFriendMessagesIncomingMessageNotification, message),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "rtime32_server_timestamp",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED32,
+ offsetof(CFriendMessagesIncomingMessageNotification, has_rtime32_server_timestamp),
+ offsetof(CFriendMessagesIncomingMessageNotification, rtime32_server_timestamp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ordinal",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesIncomingMessageNotification, has_ordinal),
+ offsetof(CFriendMessagesIncomingMessageNotification, ordinal),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "local_echo",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesIncomingMessageNotification, has_local_echo),
+ offsetof(CFriendMessagesIncomingMessageNotification, local_echo),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "message_no_bbcode",
+ 8,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CFriendMessagesIncomingMessageNotification, message_no_bbcode),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "low_priority",
+ 9,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesIncomingMessageNotification, has_low_priority),
+ offsetof(CFriendMessagesIncomingMessageNotification, low_priority),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__incoming_message__notification__field_indices_by_name[] = {
+ 1, /* field[1] = chat_entry_type */
+ 2, /* field[2] = from_limited_account */
+ 6, /* field[6] = local_echo */
+ 8, /* field[8] = low_priority */
+ 3, /* field[3] = message */
+ 7, /* field[7] = message_no_bbcode */
+ 5, /* field[5] = ordinal */
+ 4, /* field[4] = rtime32_server_timestamp */
+ 0, /* field[0] = steamid_friend */
+};
+static const ProtobufCIntRange cfriend_messages__incoming_message__notification__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 9 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__incoming_message__notification__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_IncomingMessage_Notification",
+ "CFriendMessagesIncomingMessageNotification",
+ "CFriendMessagesIncomingMessageNotification",
+ "",
+ sizeof(CFriendMessagesIncomingMessageNotification),
+ 9,
+ cfriend_messages__incoming_message__notification__field_descriptors,
+ cfriend_messages__incoming_message__notification__field_indices_by_name,
+ 1, cfriend_messages__incoming_message__notification__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const EMessageReactionType cfriend_messages__message_reaction__notification__reaction_type__default_value = EMESSAGE_REACTION_TYPE__k_EMessageReactionType_Invalid;
+static const ProtobufCFieldDescriptor cfriend_messages__message_reaction__notification__field_descriptors[7] =
+{
+ {
+ "steamid_friend",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CFriendMessagesMessageReactionNotification, has_steamid_friend),
+ offsetof(CFriendMessagesMessageReactionNotification, steamid_friend),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "server_timestamp",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesMessageReactionNotification, has_server_timestamp),
+ offsetof(CFriendMessagesMessageReactionNotification, server_timestamp),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ordinal",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(CFriendMessagesMessageReactionNotification, has_ordinal),
+ offsetof(CFriendMessagesMessageReactionNotification, ordinal),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "reactor",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FIXED64,
+ offsetof(CFriendMessagesMessageReactionNotification, has_reactor),
+ offsetof(CFriendMessagesMessageReactionNotification, reactor),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "reaction_type",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_ENUM,
+ offsetof(CFriendMessagesMessageReactionNotification, has_reaction_type),
+ offsetof(CFriendMessagesMessageReactionNotification, reaction_type),
+ &emessage_reaction_type__descriptor,
+ &cfriend_messages__message_reaction__notification__reaction_type__default_value,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "reaction",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(CFriendMessagesMessageReactionNotification, reaction),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "is_add",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ offsetof(CFriendMessagesMessageReactionNotification, has_is_add),
+ offsetof(CFriendMessagesMessageReactionNotification, is_add),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned cfriend_messages__message_reaction__notification__field_indices_by_name[] = {
+ 6, /* field[6] = is_add */
+ 2, /* field[2] = ordinal */
+ 5, /* field[5] = reaction */
+ 4, /* field[4] = reaction_type */
+ 3, /* field[3] = reactor */
+ 1, /* field[1] = server_timestamp */
+ 0, /* field[0] = steamid_friend */
+};
+static const ProtobufCIntRange cfriend_messages__message_reaction__notification__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 7 }
+};
+const ProtobufCMessageDescriptor cfriend_messages__message_reaction__notification__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "CFriendMessages_MessageReaction_Notification",
+ "CFriendMessagesMessageReactionNotification",
+ "CFriendMessagesMessageReactionNotification",
+ "",
+ sizeof(CFriendMessagesMessageReactionNotification),
+ 7,
+ cfriend_messages__message_reaction__notification__field_descriptors,
+ cfriend_messages__message_reaction__notification__field_indices_by_name,
+ 1, cfriend_messages__message_reaction__notification__number_ranges,
+ NULL,NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCEnumValue emessage_reaction_type__enum_values_by_number[3] =
+{
+ { "k_EMessageReactionType_Invalid", "EMESSAGE_REACTION_TYPE__k_EMessageReactionType_Invalid", 0 },
+ { "k_EMessageReactionType_Emoticon", "EMESSAGE_REACTION_TYPE__k_EMessageReactionType_Emoticon", 1 },
+ { "k_EMessageReactionType_Sticker", "EMESSAGE_REACTION_TYPE__k_EMessageReactionType_Sticker", 2 },
+};
+static const ProtobufCIntRange emessage_reaction_type__value_ranges[] = {
+{0, 0},{0, 3}
+};
+static const ProtobufCEnumValueIndex emessage_reaction_type__enum_values_by_name[3] =
+{
+ { "k_EMessageReactionType_Emoticon", 1 },
+ { "k_EMessageReactionType_Invalid", 0 },
+ { "k_EMessageReactionType_Sticker", 2 },
+};
+const ProtobufCEnumDescriptor emessage_reaction_type__descriptor =
+{
+ PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+ "EMessageReactionType",
+ "EMessageReactionType",
+ "EMessageReactionType",
+ "",
+ 3,
+ emessage_reaction_type__enum_values_by_number,
+ 3,
+ emessage_reaction_type__enum_values_by_name,
+ 1,
+ emessage_reaction_type__value_ranges,
+ NULL,NULL,NULL,NULL /* reserved[1234] */
+};
+static const ProtobufCMethodDescriptor friend_messages__method_descriptors[6] =
+{
+ { "GetRecentMessages", &cfriend_messages__get_recent_messages__request__descriptor, &cfriend_messages__get_recent_messages__response__descriptor },
+ { "GetActiveMessageSessions", &cfriends_messages__get_active_message_sessions__request__descriptor, &cfriends_messages__get_active_message_sessions__response__descriptor },
+ { "SendMessage", &cfriend_messages__send_message__request__descriptor, &cfriend_messages__send_message__response__descriptor },
+ { "AckMessage", &cfriend_messages__ack_message__notification__descriptor, &no_response__descriptor },
+ { "IsInFriendsUIBeta", &cfriend_messages__is_in_friends_uibeta__request__descriptor, &cfriend_messages__is_in_friends_uibeta__response__descriptor },
+ { "UpdateMessageReaction", &cfriend_messages__update_message_reaction__request__descriptor, &cfriend_messages__update_message_reaction__response__descriptor },
+};
+const unsigned friend_messages__method_indices_by_name[] = {
+ 3, /* AckMessage */
+ 1, /* GetActiveMessageSessions */
+ 0, /* GetRecentMessages */
+ 4, /* IsInFriendsUIBeta */
+ 2, /* SendMessage */
+ 5 /* UpdateMessageReaction */
+};
+const ProtobufCServiceDescriptor friend_messages__descriptor =
+{
+ PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
+ "FriendMessages",
+ "FriendMessages",
+ "FriendMessages",
+ "",
+ 6,
+ friend_messages__method_descriptors,
+ friend_messages__method_indices_by_name
+};
+void friend_messages__get_recent_messages(ProtobufCService *service,
+ const CFriendMessagesGetRecentMessagesRequest *input,
+ CFriendMessagesGetRecentMessagesResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &friend_messages__descriptor);
+ service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void friend_messages__get_active_message_sessions(ProtobufCService *service,
+ const CFriendsMessagesGetActiveMessageSessionsRequest *input,
+ CFriendsMessagesGetActiveMessageSessionsResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &friend_messages__descriptor);
+ service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void friend_messages__send_message(ProtobufCService *service,
+ const CFriendMessagesSendMessageRequest *input,
+ CFriendMessagesSendMessageResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &friend_messages__descriptor);
+ service->invoke(service, 2, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void friend_messages__ack_message(ProtobufCService *service,
+ const CFriendMessagesAckMessageNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &friend_messages__descriptor);
+ service->invoke(service, 3, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void friend_messages__is_in_friends_uibeta(ProtobufCService *service,
+ const CFriendMessagesIsInFriendsUIBetaRequest *input,
+ CFriendMessagesIsInFriendsUIBetaResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &friend_messages__descriptor);
+ service->invoke(service, 4, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void friend_messages__update_message_reaction(ProtobufCService *service,
+ const CFriendMessagesUpdateMessageReactionRequest *input,
+ CFriendMessagesUpdateMessageReactionResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &friend_messages__descriptor);
+ service->invoke(service, 5, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void friend_messages__init (FriendMessages_Service *service,
+ FriendMessages_ServiceDestroy destroy)
+{
+ protobuf_c_service_generated_init (&service->base,
+ &friend_messages__descriptor,
+ (ProtobufCServiceDestroy) destroy);
+}
+static const ProtobufCMethodDescriptor friend_messages_client__method_descriptors[3] =
+{
+ { "IncomingMessage", &cfriend_messages__incoming_message__notification__descriptor, &no_response__descriptor },
+ { "NotifyAckMessageEcho", &cfriend_messages__ack_message__notification__descriptor, &no_response__descriptor },
+ { "MessageReaction", &cfriend_messages__message_reaction__notification__descriptor, &no_response__descriptor },
+};
+const unsigned friend_messages_client__method_indices_by_name[] = {
+ 0, /* IncomingMessage */
+ 2, /* MessageReaction */
+ 1 /* NotifyAckMessageEcho */
+};
+const ProtobufCServiceDescriptor friend_messages_client__descriptor =
+{
+ PROTOBUF_C__SERVICE_DESCRIPTOR_MAGIC,
+ "FriendMessagesClient",
+ "FriendMessagesClient",
+ "FriendMessagesClient",
+ "",
+ 3,
+ friend_messages_client__method_descriptors,
+ friend_messages_client__method_indices_by_name
+};
+void friend_messages_client__incoming_message(ProtobufCService *service,
+ const CFriendMessagesIncomingMessageNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &friend_messages_client__descriptor);
+ service->invoke(service, 0, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void friend_messages_client__notify_ack_message_echo(ProtobufCService *service,
+ const CFriendMessagesAckMessageNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &friend_messages_client__descriptor);
+ service->invoke(service, 1, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void friend_messages_client__message_reaction(ProtobufCService *service,
+ const CFriendMessagesMessageReactionNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data)
+{
+ assert(service->descriptor == &friend_messages_client__descriptor);
+ service->invoke(service, 2, (const ProtobufCMessage *) input, (ProtobufCClosure) closure, closure_data);
+}
+void friend_messages_client__init (FriendMessagesClient_Service *service,
+ FriendMessagesClient_ServiceDestroy destroy)
+{
+ protobuf_c_service_generated_init (&service->base,
+ &friend_messages_client__descriptor,
+ (ProtobufCServiceDestroy) destroy);
+}
diff --git a/protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.pb-c.h b/protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.pb-c.h
new file mode 100644
index 0000000000..3d4c801e5b
--- /dev/null
+++ b/protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.pb-c.h
@@ -0,0 +1,701 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: steammessages_friendmessages.steamclient.proto */
+
+#ifndef PROTOBUF_C_steammessages_5ffriendmessages_2esteamclient_2eproto__INCLUDED
+#define PROTOBUF_C_steammessages_5ffriendmessages_2esteamclient_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1000000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1004001 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+#include "steammessages_base.pb-c.h"
+#include "steammessages_unified_base.steamclient.pb-c.h"
+
+struct CFriendMessagesGetRecentMessagesRequest;
+struct CFriendMessagesGetRecentMessagesResponse;
+struct CFriendMessagesGetRecentMessagesResponse__FriendMessage;
+struct CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction;
+struct CFriendsMessagesGetActiveMessageSessionsRequest;
+struct CFriendsMessagesGetActiveMessageSessionsResponse;
+struct CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession;
+struct CFriendMessagesSendMessageRequest;
+struct CFriendMessagesSendMessageResponse;
+struct CFriendMessagesAckMessageNotification;
+struct CFriendMessagesIsInFriendsUIBetaRequest;
+struct CFriendMessagesIsInFriendsUIBetaResponse;
+struct CFriendMessagesUpdateMessageReactionRequest;
+struct CFriendMessagesUpdateMessageReactionResponse;
+struct CFriendMessagesIncomingMessageNotification;
+struct CFriendMessagesMessageReactionNotification;
+
+
+/* --- enums --- */
+
+typedef enum _EMessageReactionType {
+ EMESSAGE_REACTION_TYPE__k_EMessageReactionType_Invalid = 0,
+ EMESSAGE_REACTION_TYPE__k_EMessageReactionType_Emoticon = 1,
+ EMESSAGE_REACTION_TYPE__k_EMessageReactionType_Sticker = 2
+ PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(EMESSAGE_REACTION_TYPE)
+} EMessageReactionType;
+
+/* --- descriptors --- */
+
+extern const ProtobufCEnumDescriptor emessage_reaction_type__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__get_recent_messages__request__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__get_recent_messages__response__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__get_recent_messages__response__friend_message__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__get_recent_messages__response__friend_message__message_reaction__descriptor;
+extern const ProtobufCMessageDescriptor cfriends_messages__get_active_message_sessions__request__descriptor;
+extern const ProtobufCMessageDescriptor cfriends_messages__get_active_message_sessions__response__descriptor;
+extern const ProtobufCMessageDescriptor cfriends_messages__get_active_message_sessions__response__friend_message_session__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__send_message__request__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__send_message__response__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__ack_message__notification__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__is_in_friends_uibeta__request__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__is_in_friends_uibeta__response__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__update_message_reaction__request__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__update_message_reaction__response__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__incoming_message__notification__descriptor;
+extern const ProtobufCMessageDescriptor cfriend_messages__message_reaction__notification__descriptor;
+extern const ProtobufCServiceDescriptor friend_messages__descriptor;
+extern const ProtobufCServiceDescriptor friend_messages_client__descriptor;
+
+/* --- messages --- */
+
+extern "C" void message_init_generic(const ProtobufCMessageDescriptor * desc, ProtobufCMessage * message);
+
+struct ProtobufCppMessage : public ProtobufCMessage
+{
+ ProtobufCppMessage(const ProtobufCMessageDescriptor &descr)
+ {
+ message_init_generic(&descr, this);
+ }
+};
+
+struct CFriendMessagesGetRecentMessagesRequest : public ProtobufCppMessage
+{
+ CFriendMessagesGetRecentMessagesRequest() :
+ ProtobufCppMessage(cfriend_messages__get_recent_messages__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid1;
+ uint64_t steamid1;
+ protobuf_c_boolean has_steamid2;
+ uint64_t steamid2;
+ protobuf_c_boolean has_count;
+ uint32_t count;
+ protobuf_c_boolean has_most_recent_conversation;
+ protobuf_c_boolean most_recent_conversation;
+ protobuf_c_boolean has_rtime32_start_time;
+ uint32_t rtime32_start_time;
+ protobuf_c_boolean has_bbcode_format;
+ protobuf_c_boolean bbcode_format;
+ protobuf_c_boolean has_start_ordinal;
+ uint32_t start_ordinal;
+ protobuf_c_boolean has_time_last;
+ uint32_t time_last;
+ protobuf_c_boolean has_ordinal_last;
+ uint32_t ordinal_last;
+};
+
+struct CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction : public ProtobufCppMessage
+{
+ CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction() :
+ ProtobufCppMessage(cfriend_messages__get_recent_messages__response__friend_message__message_reaction__descriptor)
+ {}
+
+ protobuf_c_boolean has_reaction_type;
+ EMessageReactionType reaction_type;
+ char *reaction;
+ size_t n_reactors;
+ uint32_t *reactors;
+};
+
+struct CFriendMessagesGetRecentMessagesResponse__FriendMessage : public ProtobufCppMessage
+{
+ CFriendMessagesGetRecentMessagesResponse__FriendMessage() :
+ ProtobufCppMessage(cfriend_messages__get_recent_messages__response__friend_message__descriptor)
+ {}
+
+ protobuf_c_boolean has_accountid;
+ uint32_t accountid;
+ protobuf_c_boolean has_timestamp;
+ uint32_t timestamp;
+ char *message;
+ protobuf_c_boolean has_ordinal;
+ uint32_t ordinal;
+ size_t n_reactions;
+ CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction **reactions;
+};
+
+struct CFriendMessagesGetRecentMessagesResponse : public ProtobufCppMessage
+{
+ CFriendMessagesGetRecentMessagesResponse() :
+ ProtobufCppMessage(cfriend_messages__get_recent_messages__response__descriptor)
+ {}
+
+ size_t n_messages;
+ CFriendMessagesGetRecentMessagesResponse__FriendMessage **messages;
+ protobuf_c_boolean has_more_available;
+ protobuf_c_boolean more_available;
+};
+
+struct CFriendsMessagesGetActiveMessageSessionsRequest : public ProtobufCppMessage
+{
+ CFriendsMessagesGetActiveMessageSessionsRequest() :
+ ProtobufCppMessage(cfriends_messages__get_active_message_sessions__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_lastmessage_since;
+ uint32_t lastmessage_since;
+ protobuf_c_boolean has_only_sessions_with_messages;
+ protobuf_c_boolean only_sessions_with_messages;
+};
+
+struct CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession : public ProtobufCppMessage
+{
+ CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession() :
+ ProtobufCppMessage(cfriends_messages__get_active_message_sessions__response__friend_message_session__descriptor)
+ {}
+
+ protobuf_c_boolean has_accountid_friend;
+ uint32_t accountid_friend;
+ protobuf_c_boolean has_last_message;
+ uint32_t last_message;
+ protobuf_c_boolean has_last_view;
+ uint32_t last_view;
+ protobuf_c_boolean has_unread_message_count;
+ uint32_t unread_message_count;
+};
+
+struct CFriendsMessagesGetActiveMessageSessionsResponse : public ProtobufCppMessage
+{
+ CFriendsMessagesGetActiveMessageSessionsResponse() :
+ ProtobufCppMessage(cfriends_messages__get_active_message_sessions__response__descriptor)
+ {}
+
+ size_t n_message_sessions;
+ CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession **message_sessions;
+ protobuf_c_boolean has_timestamp;
+ uint32_t timestamp;
+};
+
+struct CFriendMessagesSendMessageRequest : public ProtobufCppMessage
+{
+ CFriendMessagesSendMessageRequest() :
+ ProtobufCppMessage(cfriend_messages__send_message__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ protobuf_c_boolean has_chat_entry_type;
+ int32_t chat_entry_type;
+ char *message;
+ protobuf_c_boolean has_contains_bbcode;
+ protobuf_c_boolean contains_bbcode;
+ protobuf_c_boolean has_echo_to_sender;
+ protobuf_c_boolean echo_to_sender;
+ protobuf_c_boolean has_low_priority;
+ protobuf_c_boolean low_priority;
+ char *client_message_id;
+};
+
+struct CFriendMessagesSendMessageResponse : public ProtobufCppMessage
+{
+ CFriendMessagesSendMessageResponse() :
+ ProtobufCppMessage(cfriend_messages__send_message__response__descriptor)
+ {}
+
+ char *modified_message;
+ protobuf_c_boolean has_server_timestamp;
+ uint32_t server_timestamp;
+ protobuf_c_boolean has_ordinal;
+ uint32_t ordinal;
+ char *message_without_bb_code;
+};
+
+struct CFriendMessagesAckMessageNotification : public ProtobufCppMessage
+{
+ CFriendMessagesAckMessageNotification() :
+ ProtobufCppMessage(cfriend_messages__ack_message__notification__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid_partner;
+ uint64_t steamid_partner;
+ protobuf_c_boolean has_timestamp;
+ uint32_t timestamp;
+};
+
+struct CFriendMessagesIsInFriendsUIBetaRequest : public ProtobufCppMessage
+{
+ CFriendMessagesIsInFriendsUIBetaRequest() :
+ ProtobufCppMessage(cfriend_messages__is_in_friends_uibeta__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+};
+
+struct CFriendMessagesIsInFriendsUIBetaResponse : public ProtobufCppMessage
+{
+ CFriendMessagesIsInFriendsUIBetaResponse() :
+ ProtobufCppMessage(cfriend_messages__is_in_friends_uibeta__response__descriptor)
+ {}
+
+ protobuf_c_boolean has_online_in_friendsui;
+ protobuf_c_boolean online_in_friendsui;
+ protobuf_c_boolean has_has_used_friendsui;
+ protobuf_c_boolean has_used_friendsui;
+};
+
+struct CFriendMessagesUpdateMessageReactionRequest : public ProtobufCppMessage
+{
+ CFriendMessagesUpdateMessageReactionRequest() :
+ ProtobufCppMessage(cfriend_messages__update_message_reaction__request__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid;
+ uint64_t steamid;
+ protobuf_c_boolean has_server_timestamp;
+ uint32_t server_timestamp;
+ protobuf_c_boolean has_ordinal;
+ uint32_t ordinal;
+ protobuf_c_boolean has_reaction_type;
+ EMessageReactionType reaction_type;
+ char *reaction;
+ protobuf_c_boolean has_is_add;
+ protobuf_c_boolean is_add;
+};
+
+struct CFriendMessagesUpdateMessageReactionResponse : public ProtobufCppMessage
+{
+ CFriendMessagesUpdateMessageReactionResponse() :
+ ProtobufCppMessage(cfriend_messages__update_message_reaction__response__descriptor)
+ {}
+
+ size_t n_reactors;
+ uint32_t *reactors;
+};
+
+struct CFriendMessagesIncomingMessageNotification : public ProtobufCppMessage
+{
+ CFriendMessagesIncomingMessageNotification() :
+ ProtobufCppMessage(cfriend_messages__incoming_message__notification__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid_friend;
+ uint64_t steamid_friend;
+ protobuf_c_boolean has_chat_entry_type;
+ int32_t chat_entry_type;
+ protobuf_c_boolean has_from_limited_account;
+ protobuf_c_boolean from_limited_account;
+ char *message;
+ protobuf_c_boolean has_rtime32_server_timestamp;
+ uint32_t rtime32_server_timestamp;
+ protobuf_c_boolean has_ordinal;
+ uint32_t ordinal;
+ protobuf_c_boolean has_local_echo;
+ protobuf_c_boolean local_echo;
+ char *message_no_bbcode;
+ protobuf_c_boolean has_low_priority;
+ protobuf_c_boolean low_priority;
+};
+
+struct CFriendMessagesMessageReactionNotification : public ProtobufCppMessage
+{
+ CFriendMessagesMessageReactionNotification() :
+ ProtobufCppMessage(cfriend_messages__message_reaction__notification__descriptor)
+ {}
+
+ protobuf_c_boolean has_steamid_friend;
+ uint64_t steamid_friend;
+ protobuf_c_boolean has_server_timestamp;
+ uint32_t server_timestamp;
+ protobuf_c_boolean has_ordinal;
+ uint32_t ordinal;
+ protobuf_c_boolean has_reactor;
+ uint64_t reactor;
+ protobuf_c_boolean has_reaction_type;
+ EMessageReactionType reaction_type;
+ char *reaction;
+ protobuf_c_boolean has_is_add;
+ protobuf_c_boolean is_add;
+};
+
+size_t cfriend_messages__get_recent_messages__request__get_packed_size
+ (const CFriendMessagesGetRecentMessagesRequest *message);
+size_t cfriend_messages__get_recent_messages__request__pack
+ (const CFriendMessagesGetRecentMessagesRequest *message,
+ uint8_t *out);
+size_t cfriend_messages__get_recent_messages__request__pack_to_buffer
+ (const CFriendMessagesGetRecentMessagesRequest *message,
+ ProtobufCBuffer *buffer);
+CFriendMessagesGetRecentMessagesRequest *
+ cfriend_messages__get_recent_messages__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriend_messages__get_recent_messages__request__free_unpacked
+ (CFriendMessagesGetRecentMessagesRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cfriend_messages__get_recent_messages__response__get_packed_size
+ (const CFriendMessagesGetRecentMessagesResponse *message);
+size_t cfriend_messages__get_recent_messages__response__pack
+ (const CFriendMessagesGetRecentMessagesResponse *message,
+ uint8_t *out);
+size_t cfriend_messages__get_recent_messages__response__pack_to_buffer
+ (const CFriendMessagesGetRecentMessagesResponse *message,
+ ProtobufCBuffer *buffer);
+CFriendMessagesGetRecentMessagesResponse *
+ cfriend_messages__get_recent_messages__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriend_messages__get_recent_messages__response__free_unpacked
+ (CFriendMessagesGetRecentMessagesResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cfriends_messages__get_active_message_sessions__request__get_packed_size
+ (const CFriendsMessagesGetActiveMessageSessionsRequest *message);
+size_t cfriends_messages__get_active_message_sessions__request__pack
+ (const CFriendsMessagesGetActiveMessageSessionsRequest *message,
+ uint8_t *out);
+size_t cfriends_messages__get_active_message_sessions__request__pack_to_buffer
+ (const CFriendsMessagesGetActiveMessageSessionsRequest *message,
+ ProtobufCBuffer *buffer);
+CFriendsMessagesGetActiveMessageSessionsRequest *
+ cfriends_messages__get_active_message_sessions__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriends_messages__get_active_message_sessions__request__free_unpacked
+ (CFriendsMessagesGetActiveMessageSessionsRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cfriends_messages__get_active_message_sessions__response__get_packed_size
+ (const CFriendsMessagesGetActiveMessageSessionsResponse *message);
+size_t cfriends_messages__get_active_message_sessions__response__pack
+ (const CFriendsMessagesGetActiveMessageSessionsResponse *message,
+ uint8_t *out);
+size_t cfriends_messages__get_active_message_sessions__response__pack_to_buffer
+ (const CFriendsMessagesGetActiveMessageSessionsResponse *message,
+ ProtobufCBuffer *buffer);
+CFriendsMessagesGetActiveMessageSessionsResponse *
+ cfriends_messages__get_active_message_sessions__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriends_messages__get_active_message_sessions__response__free_unpacked
+ (CFriendsMessagesGetActiveMessageSessionsResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cfriend_messages__send_message__request__get_packed_size
+ (const CFriendMessagesSendMessageRequest *message);
+size_t cfriend_messages__send_message__request__pack
+ (const CFriendMessagesSendMessageRequest *message,
+ uint8_t *out);
+size_t cfriend_messages__send_message__request__pack_to_buffer
+ (const CFriendMessagesSendMessageRequest *message,
+ ProtobufCBuffer *buffer);
+CFriendMessagesSendMessageRequest *
+ cfriend_messages__send_message__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriend_messages__send_message__request__free_unpacked
+ (CFriendMessagesSendMessageRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cfriend_messages__send_message__response__get_packed_size
+ (const CFriendMessagesSendMessageResponse *message);
+size_t cfriend_messages__send_message__response__pack
+ (const CFriendMessagesSendMessageResponse *message,
+ uint8_t *out);
+size_t cfriend_messages__send_message__response__pack_to_buffer
+ (const CFriendMessagesSendMessageResponse *message,
+ ProtobufCBuffer *buffer);
+CFriendMessagesSendMessageResponse *
+ cfriend_messages__send_message__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriend_messages__send_message__response__free_unpacked
+ (CFriendMessagesSendMessageResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cfriend_messages__ack_message__notification__get_packed_size
+ (const CFriendMessagesAckMessageNotification *message);
+size_t cfriend_messages__ack_message__notification__pack
+ (const CFriendMessagesAckMessageNotification *message,
+ uint8_t *out);
+size_t cfriend_messages__ack_message__notification__pack_to_buffer
+ (const CFriendMessagesAckMessageNotification *message,
+ ProtobufCBuffer *buffer);
+CFriendMessagesAckMessageNotification *
+ cfriend_messages__ack_message__notification__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriend_messages__ack_message__notification__free_unpacked
+ (CFriendMessagesAckMessageNotification *message,
+ ProtobufCAllocator *allocator);
+size_t cfriend_messages__is_in_friends_uibeta__request__get_packed_size
+ (const CFriendMessagesIsInFriendsUIBetaRequest *message);
+size_t cfriend_messages__is_in_friends_uibeta__request__pack
+ (const CFriendMessagesIsInFriendsUIBetaRequest *message,
+ uint8_t *out);
+size_t cfriend_messages__is_in_friends_uibeta__request__pack_to_buffer
+ (const CFriendMessagesIsInFriendsUIBetaRequest *message,
+ ProtobufCBuffer *buffer);
+CFriendMessagesIsInFriendsUIBetaRequest *
+ cfriend_messages__is_in_friends_uibeta__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriend_messages__is_in_friends_uibeta__request__free_unpacked
+ (CFriendMessagesIsInFriendsUIBetaRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cfriend_messages__is_in_friends_uibeta__response__get_packed_size
+ (const CFriendMessagesIsInFriendsUIBetaResponse *message);
+size_t cfriend_messages__is_in_friends_uibeta__response__pack
+ (const CFriendMessagesIsInFriendsUIBetaResponse *message,
+ uint8_t *out);
+size_t cfriend_messages__is_in_friends_uibeta__response__pack_to_buffer
+ (const CFriendMessagesIsInFriendsUIBetaResponse *message,
+ ProtobufCBuffer *buffer);
+CFriendMessagesIsInFriendsUIBetaResponse *
+ cfriend_messages__is_in_friends_uibeta__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriend_messages__is_in_friends_uibeta__response__free_unpacked
+ (CFriendMessagesIsInFriendsUIBetaResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cfriend_messages__update_message_reaction__request__get_packed_size
+ (const CFriendMessagesUpdateMessageReactionRequest *message);
+size_t cfriend_messages__update_message_reaction__request__pack
+ (const CFriendMessagesUpdateMessageReactionRequest *message,
+ uint8_t *out);
+size_t cfriend_messages__update_message_reaction__request__pack_to_buffer
+ (const CFriendMessagesUpdateMessageReactionRequest *message,
+ ProtobufCBuffer *buffer);
+CFriendMessagesUpdateMessageReactionRequest *
+ cfriend_messages__update_message_reaction__request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriend_messages__update_message_reaction__request__free_unpacked
+ (CFriendMessagesUpdateMessageReactionRequest *message,
+ ProtobufCAllocator *allocator);
+size_t cfriend_messages__update_message_reaction__response__get_packed_size
+ (const CFriendMessagesUpdateMessageReactionResponse *message);
+size_t cfriend_messages__update_message_reaction__response__pack
+ (const CFriendMessagesUpdateMessageReactionResponse *message,
+ uint8_t *out);
+size_t cfriend_messages__update_message_reaction__response__pack_to_buffer
+ (const CFriendMessagesUpdateMessageReactionResponse *message,
+ ProtobufCBuffer *buffer);
+CFriendMessagesUpdateMessageReactionResponse *
+ cfriend_messages__update_message_reaction__response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriend_messages__update_message_reaction__response__free_unpacked
+ (CFriendMessagesUpdateMessageReactionResponse *message,
+ ProtobufCAllocator *allocator);
+size_t cfriend_messages__incoming_message__notification__get_packed_size
+ (const CFriendMessagesIncomingMessageNotification *message);
+size_t cfriend_messages__incoming_message__notification__pack
+ (const CFriendMessagesIncomingMessageNotification *message,
+ uint8_t *out);
+size_t cfriend_messages__incoming_message__notification__pack_to_buffer
+ (const CFriendMessagesIncomingMessageNotification *message,
+ ProtobufCBuffer *buffer);
+CFriendMessagesIncomingMessageNotification *
+ cfriend_messages__incoming_message__notification__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriend_messages__incoming_message__notification__free_unpacked
+ (CFriendMessagesIncomingMessageNotification *message,
+ ProtobufCAllocator *allocator);
+size_t cfriend_messages__message_reaction__notification__get_packed_size
+ (const CFriendMessagesMessageReactionNotification *message);
+size_t cfriend_messages__message_reaction__notification__pack
+ (const CFriendMessagesMessageReactionNotification *message,
+ uint8_t *out);
+size_t cfriend_messages__message_reaction__notification__pack_to_buffer
+ (const CFriendMessagesMessageReactionNotification *message,
+ ProtobufCBuffer *buffer);
+CFriendMessagesMessageReactionNotification *
+ cfriend_messages__message_reaction__notification__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void cfriend_messages__message_reaction__notification__free_unpacked
+ (CFriendMessagesMessageReactionNotification *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*CFriendMessagesGetRecentMessagesRequest_Closure)
+ (const CFriendMessagesGetRecentMessagesRequest *message,
+ void *closure_data);
+typedef void (*CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction_Closure)
+ (const CFriendMessagesGetRecentMessagesResponse__FriendMessage__MessageReaction *message,
+ void *closure_data);
+typedef void (*CFriendMessagesGetRecentMessagesResponse__FriendMessage_Closure)
+ (const CFriendMessagesGetRecentMessagesResponse__FriendMessage *message,
+ void *closure_data);
+typedef void (*CFriendMessagesGetRecentMessagesResponse_Closure)
+ (const CFriendMessagesGetRecentMessagesResponse *message,
+ void *closure_data);
+typedef void (*CFriendsMessagesGetActiveMessageSessionsRequest_Closure)
+ (const CFriendsMessagesGetActiveMessageSessionsRequest *message,
+ void *closure_data);
+typedef void (*CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession_Closure)
+ (const CFriendsMessagesGetActiveMessageSessionsResponse__FriendMessageSession *message,
+ void *closure_data);
+typedef void (*CFriendsMessagesGetActiveMessageSessionsResponse_Closure)
+ (const CFriendsMessagesGetActiveMessageSessionsResponse *message,
+ void *closure_data);
+typedef void (*CFriendMessagesSendMessageRequest_Closure)
+ (const CFriendMessagesSendMessageRequest *message,
+ void *closure_data);
+typedef void (*CFriendMessagesSendMessageResponse_Closure)
+ (const CFriendMessagesSendMessageResponse *message,
+ void *closure_data);
+typedef void (*CFriendMessagesAckMessageNotification_Closure)
+ (const CFriendMessagesAckMessageNotification *message,
+ void *closure_data);
+typedef void (*CFriendMessagesIsInFriendsUIBetaRequest_Closure)
+ (const CFriendMessagesIsInFriendsUIBetaRequest *message,
+ void *closure_data);
+typedef void (*CFriendMessagesIsInFriendsUIBetaResponse_Closure)
+ (const CFriendMessagesIsInFriendsUIBetaResponse *message,
+ void *closure_data);
+typedef void (*CFriendMessagesUpdateMessageReactionRequest_Closure)
+ (const CFriendMessagesUpdateMessageReactionRequest *message,
+ void *closure_data);
+typedef void (*CFriendMessagesUpdateMessageReactionResponse_Closure)
+ (const CFriendMessagesUpdateMessageReactionResponse *message,
+ void *closure_data);
+typedef void (*CFriendMessagesIncomingMessageNotification_Closure)
+ (const CFriendMessagesIncomingMessageNotification *message,
+ void *closure_data);
+typedef void (*CFriendMessagesMessageReactionNotification_Closure)
+ (const CFriendMessagesMessageReactionNotification *message,
+ void *closure_data);
+
+/* --- services --- */
+
+typedef struct FriendMessages_Service FriendMessages_Service;
+struct FriendMessages_Service
+{
+ ProtobufCService base;
+ void (*get_recent_messages)(FriendMessages_Service *service,
+ const CFriendMessagesGetRecentMessagesRequest *input,
+ CFriendMessagesGetRecentMessagesResponse_Closure closure,
+ void *closure_data);
+ void (*get_active_message_sessions)(FriendMessages_Service *service,
+ const CFriendsMessagesGetActiveMessageSessionsRequest *input,
+ CFriendsMessagesGetActiveMessageSessionsResponse_Closure closure,
+ void *closure_data);
+ void (*send_message)(FriendMessages_Service *service,
+ const CFriendMessagesSendMessageRequest *input,
+ CFriendMessagesSendMessageResponse_Closure closure,
+ void *closure_data);
+ void (*ack_message)(FriendMessages_Service *service,
+ const CFriendMessagesAckMessageNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data);
+ void (*is_in_friends_uibeta)(FriendMessages_Service *service,
+ const CFriendMessagesIsInFriendsUIBetaRequest *input,
+ CFriendMessagesIsInFriendsUIBetaResponse_Closure closure,
+ void *closure_data);
+ void (*update_message_reaction)(FriendMessages_Service *service,
+ const CFriendMessagesUpdateMessageReactionRequest *input,
+ CFriendMessagesUpdateMessageReactionResponse_Closure closure,
+ void *closure_data);
+};
+typedef void (*FriendMessages_ServiceDestroy)(FriendMessages_Service *);
+void friend_messages__init (FriendMessages_Service *service,
+ FriendMessages_ServiceDestroy destroy);
+#define FRIEND_MESSAGES__BASE_INIT \
+ { &friend_messages__descriptor, protobuf_c_service_invoke_internal, NULL }
+#define FRIEND_MESSAGES__INIT(function_prefix__) \
+ { FRIEND_MESSAGES__BASE_INIT,\
+ function_prefix__ ## get_recent_messages,\
+ function_prefix__ ## get_active_message_sessions,\
+ function_prefix__ ## send_message,\
+ function_prefix__ ## ack_message,\
+ function_prefix__ ## is_in_friends_uibeta,\
+ function_prefix__ ## update_message_reaction }
+void friend_messages__get_recent_messages(ProtobufCService *service,
+ const CFriendMessagesGetRecentMessagesRequest *input,
+ CFriendMessagesGetRecentMessagesResponse_Closure closure,
+ void *closure_data);
+void friend_messages__get_active_message_sessions(ProtobufCService *service,
+ const CFriendsMessagesGetActiveMessageSessionsRequest *input,
+ CFriendsMessagesGetActiveMessageSessionsResponse_Closure closure,
+ void *closure_data);
+void friend_messages__send_message(ProtobufCService *service,
+ const CFriendMessagesSendMessageRequest *input,
+ CFriendMessagesSendMessageResponse_Closure closure,
+ void *closure_data);
+void friend_messages__ack_message(ProtobufCService *service,
+ const CFriendMessagesAckMessageNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data);
+void friend_messages__is_in_friends_uibeta(ProtobufCService *service,
+ const CFriendMessagesIsInFriendsUIBetaRequest *input,
+ CFriendMessagesIsInFriendsUIBetaResponse_Closure closure,
+ void *closure_data);
+void friend_messages__update_message_reaction(ProtobufCService *service,
+ const CFriendMessagesUpdateMessageReactionRequest *input,
+ CFriendMessagesUpdateMessageReactionResponse_Closure closure,
+ void *closure_data);
+typedef struct FriendMessagesClient_Service FriendMessagesClient_Service;
+struct FriendMessagesClient_Service
+{
+ ProtobufCService base;
+ void (*incoming_message)(FriendMessagesClient_Service *service,
+ const CFriendMessagesIncomingMessageNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data);
+ void (*notify_ack_message_echo)(FriendMessagesClient_Service *service,
+ const CFriendMessagesAckMessageNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data);
+ void (*message_reaction)(FriendMessagesClient_Service *service,
+ const CFriendMessagesMessageReactionNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data);
+};
+typedef void (*FriendMessagesClient_ServiceDestroy)(FriendMessagesClient_Service *);
+void friend_messages_client__init (FriendMessagesClient_Service *service,
+ FriendMessagesClient_ServiceDestroy destroy);
+#define FRIEND_MESSAGES_CLIENT__BASE_INIT \
+ { &friend_messages_client__descriptor, protobuf_c_service_invoke_internal, NULL }
+#define FRIEND_MESSAGES_CLIENT__INIT(function_prefix__) \
+ { FRIEND_MESSAGES_CLIENT__BASE_INIT,\
+ function_prefix__ ## incoming_message,\
+ function_prefix__ ## notify_ack_message_echo,\
+ function_prefix__ ## message_reaction }
+void friend_messages_client__incoming_message(ProtobufCService *service,
+ const CFriendMessagesIncomingMessageNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data);
+void friend_messages_client__notify_ack_message_echo(ProtobufCService *service,
+ const CFriendMessagesAckMessageNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data);
+void friend_messages_client__message_reaction(ProtobufCService *service,
+ const CFriendMessagesMessageReactionNotification *input,
+ NoResponse_Closure closure,
+ void *closure_data);
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_steammessages_5ffriendmessages_2esteamclient_2eproto__INCLUDED */
diff --git a/protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.proto b/protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.proto
new file mode 100644
index 0000000000..93114bdd54
--- /dev/null
+++ b/protocols/Steam/src/protobuf-c/steammessages_friendmessages.steamclient.proto
@@ -0,0 +1,168 @@
+import "steammessages_base.proto";
+import "steammessages_unified_base.steamclient.proto";
+
+option cc_generic_services = true;
+
+enum EMessageReactionType {
+ k_EMessageReactionType_Invalid = 0;
+ k_EMessageReactionType_Emoticon = 1;
+ k_EMessageReactionType_Sticker = 2;
+}
+
+message CFriendMessages_GetRecentMessages_Request {
+ optional fixed64 steamid1 = 1;
+ optional fixed64 steamid2 = 2;
+ optional uint32 count = 3 [(description) = "If non-zero, cap the number of recent messages to return."];
+ optional bool most_recent_conversation = 4 [(description) = "Grab the block of chat from the most recent conversation (a ~5 minute period)"];
+ optional fixed32 rtime32_start_time = 5 [(description) = "If non-zero, return only messages with timestamps greater or equal to this. If zero, we only return messages from a recent time cutoff."];
+ optional bool bbcode_format = 6 [(description) = "Return the results with bbcode formatting."];
+ optional uint32 start_ordinal = 7 [(description) = "Combined with start time, only messages after this ordinal are returned (dedupes messages in same second)"];
+ optional uint32 time_last = 8 [(description) = "if present/non-zero, return only messages before this."];
+ optional uint32 ordinal_last = 9;
+}
+
+message CFriendMessages_GetRecentMessages_Response {
+ message FriendMessage {
+ message MessageReaction {
+ optional .EMessageReactionType reaction_type = 1 [default = k_EMessageReactionType_Invalid];
+ optional string reaction = 2;
+ repeated uint32 reactors = 3;
+ }
+
+ optional uint32 accountid = 1;
+ optional uint32 timestamp = 2;
+ optional string message = 3;
+ optional uint32 ordinal = 4;
+ repeated .CFriendMessages_GetRecentMessages_Response.FriendMessage.MessageReaction reactions = 5;
+ }
+
+ repeated .CFriendMessages_GetRecentMessages_Response.FriendMessage messages = 1 [(description) = "Array of messages, returned newest to oldest."];
+ optional bool more_available = 4;
+}
+
+message CFriendsMessages_GetActiveMessageSessions_Request {
+ optional uint32 lastmessage_since = 1 [(description) = "return only session information where a chat message has been sent since this time (for polling)"];
+ optional bool only_sessions_with_messages = 2 [(description) = "If non-zero, return only message sessions that have messages since our message cutoff. If zero, we return all active sessions."];
+}
+
+message CFriendsMessages_GetActiveMessageSessions_Response {
+ message FriendMessageSession {
+ optional uint32 accountid_friend = 1;
+ optional uint32 last_message = 2;
+ optional uint32 last_view = 3;
+ optional uint32 unread_message_count = 4;
+ }
+
+ repeated .CFriendsMessages_GetActiveMessageSessions_Response.FriendMessageSession message_sessions = 1;
+ optional uint32 timestamp = 2 [(description) = "This should be passed in the next request as lastmessage_since to poll for updates"];
+}
+
+message CFriendMessages_SendMessage_Request {
+ optional fixed64 steamid = 1;
+ optional int32 chat_entry_type = 2;
+ optional string message = 3;
+ optional bool contains_bbcode = 4;
+ optional bool echo_to_sender = 5;
+ optional bool low_priority = 6;
+ optional string client_message_id = 8;
+}
+
+message CFriendMessages_SendMessage_Response {
+ optional string modified_message = 1;
+ optional uint32 server_timestamp = 2;
+ optional uint32 ordinal = 3;
+ optional string message_without_bb_code = 4;
+}
+
+message CFriendMessages_AckMessage_Notification {
+ optional fixed64 steamid_partner = 1;
+ optional uint32 timestamp = 2;
+}
+
+message CFriendMessages_IsInFriendsUIBeta_Request {
+ optional fixed64 steamid = 1;
+}
+
+message CFriendMessages_IsInFriendsUIBeta_Response {
+ optional bool online_in_friendsui = 1;
+ optional bool has_used_friendsui = 2;
+}
+
+message CFriendMessages_UpdateMessageReaction_Request {
+ optional fixed64 steamid = 1;
+ optional uint32 server_timestamp = 2;
+ optional uint32 ordinal = 3;
+ optional .EMessageReactionType reaction_type = 4 [default = k_EMessageReactionType_Invalid];
+ optional string reaction = 5;
+ optional bool is_add = 6;
+}
+
+message CFriendMessages_UpdateMessageReaction_Response {
+ repeated uint32 reactors = 1;
+}
+
+message CFriendMessages_IncomingMessage_Notification {
+ optional fixed64 steamid_friend = 1;
+ optional int32 chat_entry_type = 2;
+ optional bool from_limited_account = 3;
+ optional string message = 4;
+ optional fixed32 rtime32_server_timestamp = 5;
+ optional uint32 ordinal = 6;
+ optional bool local_echo = 7;
+ optional string message_no_bbcode = 8;
+ optional bool low_priority = 9;
+}
+
+message CFriendMessages_MessageReaction_Notification {
+ optional fixed64 steamid_friend = 1;
+ optional uint32 server_timestamp = 2;
+ optional uint32 ordinal = 3;
+ optional fixed64 reactor = 4;
+ optional .EMessageReactionType reaction_type = 5 [default = k_EMessageReactionType_Invalid];
+ optional string reaction = 6;
+ optional bool is_add = 7;
+}
+
+service FriendMessages {
+ option (service_description) = "A service for relaying and logging friend messages (user-to-user chats and offline messaging)";
+
+ rpc GetRecentMessages (.CFriendMessages_GetRecentMessages_Request) returns (.CFriendMessages_GetRecentMessages_Response) {
+ option (method_description) = "Get a log of recent chat messages between two users";
+ }
+
+ rpc GetActiveMessageSessions (.CFriendsMessages_GetActiveMessageSessions_Request) returns (.CFriendsMessages_GetActiveMessageSessions_Response) {
+ option (method_description) = "Get information about recent offline messages and chats";
+ }
+
+ rpc SendMessage (.CFriendMessages_SendMessage_Request) returns (.CFriendMessages_SendMessage_Response) {
+ option (method_description) = "Send a chat message to a friend";
+ }
+
+ rpc AckMessage (.CFriendMessages_AckMessage_Notification) returns (.NoResponse) {
+ option (method_description) = "Acknowledge that we have seen the most recent message from a friend";
+ }
+
+ rpc IsInFriendsUIBeta (.CFriendMessages_IsInFriendsUIBeta_Request) returns (.CFriendMessages_IsInFriendsUIBeta_Response) {
+ option (method_description) = "See if a friend is in the friendsui beta.";
+ }
+
+ rpc UpdateMessageReaction (.CFriendMessages_UpdateMessageReaction_Request) returns (.CFriendMessages_UpdateMessageReaction_Response) {
+ option (method_description) = "Adds/removes a reaction to/from a friend message";
+ }
+}
+
+service FriendMessagesClient {
+ option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
+
+ rpc IncomingMessage (.CFriendMessages_IncomingMessage_Notification) returns (.NoResponse) {
+ option (method_description) = "New chat message from a friend.";
+ }
+
+ rpc NotifyAckMessageEcho (.CFriendMessages_AckMessage_Notification) returns (.NoResponse) {
+ option (method_description) = "A session acked an unread message, echo to other sessions.";
+ }
+
+ rpc MessageReaction (.CFriendMessages_MessageReaction_Notification) returns (.NoResponse) {
+ option (method_description) = "New message reaction from a friend.";
+ }
+}