Go to the source code of this file.
|
template<size_t Len> |
size_t | StringCopy (char(&dest)[Len], const char *src) |
|
size_t | JsonWriteHandshakeObj (char *dest, size_t maxLen, int version, const char *applicationId) |
|
size_t | JsonWriteRichPresenceObj (char *dest, size_t maxLen, int nonce, int pid, const DiscordRichPresence *presence) |
|
size_t | JsonWriteSubscribeCommand (char *dest, size_t maxLen, int nonce, const char *evtName) |
|
size_t | JsonWriteUnsubscribeCommand (char *dest, size_t maxLen, int nonce, const char *evtName) |
|
size_t | JsonWriteJoinReply (char *dest, size_t maxLen, const char *userId, int reply, int nonce) |
|
JsonValue * | GetObjMember (JsonValue *obj, const char *name) |
|
int | GetIntMember (JsonValue *obj, const char *name, int notFoundDefault=0) |
|
const char * | GetStrMember (JsonValue *obj, const char *name, const char *notFoundDefault=nullptr) |
|
◆ JsonDocumentBase
◆ JsonValue
◆ JsonWriterBase
◆ MallocAllocator
◆ PoolAllocator
◆ StackAllocator
◆ UTF8
using UTF8 = rapidjson::UTF8<char> |
◆ GetIntMember()
int GetIntMember |
( |
JsonValue * |
obj, |
|
|
const char * |
name, |
|
|
int |
notFoundDefault = 0 |
|
) |
| |
|
inline |
◆ GetObjMember()
◆ GetStrMember()
◆ JsonWriteHandshakeObj()
size_t JsonWriteHandshakeObj |
( |
char * |
dest, |
|
|
size_t |
maxLen, |
|
|
int |
version, |
|
|
const char * |
applicationId |
|
) |
| |
◆ JsonWriteJoinReply()
size_t JsonWriteJoinReply |
( |
char * |
dest, |
|
|
size_t |
maxLen, |
|
|
const char * |
userId, |
|
|
int |
reply, |
|
|
int |
nonce |
|
) |
| |
◆ JsonWriteRichPresenceObj()
size_t JsonWriteRichPresenceObj |
( |
char * |
dest, |
|
|
size_t |
maxLen, |
|
|
int |
nonce, |
|
|
int |
pid, |
|
|
const DiscordRichPresence * |
presence |
|
) |
| |
◆ JsonWriteSubscribeCommand()
size_t JsonWriteSubscribeCommand |
( |
char * |
dest, |
|
|
size_t |
maxLen, |
|
|
int |
nonce, |
|
|
const char * |
evtName |
|
) |
| |
◆ JsonWriteUnsubscribeCommand()
size_t JsonWriteUnsubscribeCommand |
( |
char * |
dest, |
|
|
size_t |
maxLen, |
|
|
int |
nonce, |
|
|
const char * |
evtName |
|
) |
| |
◆ StringCopy()
template<size_t Len>
size_t StringCopy |
( |
char(&) |
dest[Len], |
|
|
const char * |
src |
|
) |
| |
|
inline |
◆ WriterNestingLevels
constexpr size_t WriterNestingLevels = 2048 / (2 * sizeof(size_t)) |