gristCollector-TCDRP icon

TCDRP

Trombone Champ Discord Rich Presence

Last updated a year ago
Total downloads 1451
Total rating 0 
Categories Mods Tools
Dependency string gristCollector-TCDRP-1.0.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack_TromboneChamp-5.4.21 icon
BepInEx-BepInExPack_TromboneChamp

BepInEx pack for Trombone Champ. Preconfigured and ready to use.

Preferred version: 5.4.21

README

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.