// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include #include #include #include #include #include #include #include #include #include #include "resource.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "../../libs/zlib/src/zlib.h" extern IconItem g_iconList[]; #define DB_KEY_ID "id" #define DB_KEY_PASSWORD "Password" #define DB_KEY_DISCR "Discriminator" #define DB_KEY_MFA "MfaEnabled" #define DB_KEY_NICK "Nick" #define DB_KEY_AVHASH "AvatarHash" #define DB_KEY_CHANNELID "ChannelID" #define DB_KEY_LASTMSGID "LastMessageID" #define DB_KEY_REQAUTH "ReqAuth" #define DB_KEY_DONT_FETCH "DontFetch" #define DB_KEYVAL_GROUP L"Discord" #include "version.h" #include "proto.h" ///////////////////////////////////////////////////////////////////////////////////////// void BuildStatusList(const CDiscordGuild *pGuild, SESSION_INFO *si); void CopyId(const CMStringW &nick); SnowFlake getId(const JSONNode &pNode); CMStringW PrepareMessageText(const JSONNode &pRoot); int StrToStatus(const CMStringW &str); time_t StringToDate(const CMStringW &str); int SerialNext(void);