Details

Last Updated
2 years ago
First Uploaded
2 years ago
Downloads
2.1K
Likes
0
Size
7.3MB
Dependency string
gristCollector-TCDRP-1.0.0
Dependants

Categories

Trombone Champ Discord Rich Presence (TCDRP)

The TCDRP is a simple wrapper that allows other mods to access the Discord Rich Presence API through a simple API.

API Documentation

On your mod's initialization (Awake function):

TCDRP.API.InitRPC(clientId);

Setting an activity

TCDRP.API.SetActivity(Plugin.clientId, state:"Choosing a save");

Note: You can set variables as mentioned in Discord documentation.

If you need more help, read through the API implementation in TCDRP/API.cs or read through the TestTCMod implementation.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.