public static void updateState(RpcState state) { BRSLog("Updating state to '" + state.StateName() + "'"); rpcState = state; presence.state = "State: " + state.StateName(); DiscordRpc.UpdatePresence(presence); }
public static void updateDRPC() { BRSLog("Updating everything"); SceneName = SceneManager.GetActiveScene().name; presence.details = string.Format("Project: {0} Scene: {1}", GameName, SceneName); presence.state = "State: " + rpcState.StateName(); presence.startTimestamp = timestamp; presence.largeImageKey = "sdx"; presence.largeImageText = "Forget The Limits"; presence.smallImageText = "SDX by PhoenixAceVFX"; presence.smallImageKey = "ace"; DiscordRpc.UpdatePresence(presence); }
public static void UpdateDRPC() { chill_zoneLog("Updating everything"); SceneName = SceneManager.GetActiveScene().name; presence.details = string.Format("Project: {0} Scene: {1}", GameName, SceneName); presence.state = "State: " + rpcState.StateName(); presence.startTimestamp = timestamp; presence.largeImageKey = "tba"; presence.largeImageText = "Developing with The Black Arms DevKit"; presence.smallImageKey = "phoenix"; presence.smallImageText = "SDK VER. 7.9.6 (udon)"; DiscordRpc.UpdatePresence(presence); }