summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-05-03 14:39:43 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-05-03 14:39:43 +0300
commitd5fea0729fa274cf6697d376d8aaa45fd1d20523 (patch)
tree1c13b55612e2d79b3cfd42020ca282eca65ee574 /protocols/Steam/src/steam_proto.h
parent3450ef0b5b99eaad7694eeddd7556485effeafff (diff)
fixes #4905 completely
Diffstat (limited to 'protocols/Steam/src/steam_proto.h')
-rw-r--r--protocols/Steam/src/steam_proto.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_proto.h b/protocols/Steam/src/steam_proto.h
index 15af1e7059..a158011cd2 100644
--- a/protocols/Steam/src/steam_proto.h
+++ b/protocols/Steam/src/steam_proto.h
@@ -14,6 +14,7 @@
#define DBKEY_CLIENT_ID "ClientID"
#define DBKEY_STEAM_ID "SteamID"
+#define DBKEY_CHAT_ID "ChatId"
#define DBKEY_ACCOUNT_NAME "Username"
// Steam services
@@ -38,8 +39,8 @@
#define AckChatMessage "ChatRoom.AckChatMessage#1"
#define DeleteChatMessage "ChatRoom.DeleteChatMessages#1"
-
#define NotifyIncomingChatMessage "ChatRoomClient.NotifyIncomingChatMessage#1"
+#define NotifyAckChatMessageEcho "ChatRoomClient.NotifyAckChatMessageEcho#1"
#define NotifyModifiedChatMessage "ChatRoomClient.NotifyChatMessageModified#1"
#define NotifyChatGroupUserStateChanged "ChatRoomClient.NotifyChatGroupUserStateChanged#1"
@@ -241,11 +242,16 @@ class CSteamProto : public PROTO<CSteamProto>
void SendGetChatsRequest();
void OnGetMyChats(const CChatRoomGetMyChatRoomGroupsResponse &pResponse, const CMsgProtoBufHeader &hdr);
+ void OnGotClanInfo(const CMsgClientClanState &reply, const CMsgProtoBufHeader &hdr);
+
void SendGetChatHistory(MCONTACT hContact, uint32_t iLastMsgId);
void OnGetChatHistory(const CChatRoomGetMessageHistoryResponse &reply, const CMsgProtoBufHeader &hdr);
+ void OnChatChanged(const ChatRoomClientNotifyChatGroupUserStateChangedNotification &reply, const CMsgProtoBufHeader &hdr);
+ void ProcessGroupChat(const CChatRoomGetChatRoomGroupSummaryResponse *pGroup);
+ void LeaveGroupChat(int64_t chatGroupId);
+
void OnGetChatMessage(const CChatRoomIncomingChatMessageNotification &reply, const CMsgProtoBufHeader &hdr);
- void OnLeftChat(const CChatRoomLeaveChatRoomGroupResponse &reply, const CMsgProtoBufHeader &hdr);
INT_PTR __cdecl SvcLeaveChat(WPARAM, LPARAM);
@@ -303,7 +309,6 @@ class CSteamProto : public PROTO<CSteamProto>
void OnGotHistoryMessages(const CMsgClientChatGetFriendMessageHistoryResponse &reply, const CMsgProtoBufHeader &hdr);
// menus
- static int hChooserMenu;
static HGENMENU contactMenuItems[CMI_MAX];
INT_PTR __cdecl AuthRequestCommand(WPARAM, LPARAM);