How does discord read game activities on windows?

Can we achieve this by using WINUI3? And are there any open source projects out there that could achieve the same functionality?
4 Replies
Pobiega
Pobiega9mo ago
the game talks to discord, not the other way around this is how there are plugins for visual studio etc that add it
TheRanger
TheRanger9mo ago
i think DiscordRPC can achieve that, right?
Pobiega
Pobiega9mo ago
yes https://discord.com/developers/docs/rich-presence/best-practices but discord RPC is deprecated, they recommend the sdk now I have used https://github.com/Lachee/discord-rpc-csharp in the past to do custom rich presence but it seems stale
MasterAirscrach
MasterAirscrach9mo ago
the official discord sdk is probably the way to go https://discord.com/developers/docs/game-sdk/getting-started its worked fine for my game and is fairly easy to setup.
Want results from more Discord servers?
Add your server