mirror of
https://github.com/azahar-emu/discord-rpc.git
synced 2026-04-14 06:21:29 +02:00
add Discord_ClearPresence() (#104)
send-presence example updated - start a line with 'c' to toggle whether presence information is sent or not. Added ClearPresence to .cs bindings Added ClearPresence to UE4 blueprint class.
This commit is contained in:
@@ -102,6 +102,7 @@ size_t JsonWriteRichPresenceObj(char* dest,
|
||||
WriteKey(writer, "pid");
|
||||
writer.Int(pid);
|
||||
|
||||
if (presence != nullptr)
|
||||
{
|
||||
WriteObject activity(writer, "activity");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user