summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Discord/src/stdafx.h')
-rw-r--r--protocols/Discord/src/stdafx.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/protocols/Discord/src/stdafx.h b/protocols/Discord/src/stdafx.h
index 568f5db2ed..4d9ba98487 100644
--- a/protocols/Discord/src/stdafx.h
+++ b/protocols/Discord/src/stdafx.h
@@ -63,6 +63,19 @@ extern IconItem g_iconList[];
#include "version.h"
#include "proto.h"
+struct SINT64_PARAM : public PARAM
+{
+ int64_t iValue;
+ __forceinline SINT64_PARAM(const char *_name, int64_t _value) :
+ PARAM(_name), iValue(_value)
+ {
+ }
+};
+
+JSONNode& operator<<(JSONNode &json, const SINT64_PARAM &param);
+
+/////////////////////////////////////////////////////////////////////////////////////////
+
void BuildStatusList(const CDiscordGuild *pGuild, SESSION_INFO *si);
SnowFlake getId(const JSONNode &pNode);