RetroArch
Classes | Typedefs | Enumerations | Functions
discord.h File Reference
#include <stdlib.h>
#include <stdarg.h>
#include <stdint.h>
#include <string.h>
#include <math.h>
#include <boolean.h>
#include <string/stdstring.h>
#include <lists/string_list.h>
#include <retro_timers.h>
#include "../deps/discord-rpc/include/discord_rpc.h"
#include "verbosity.h"
Include dependency graph for discord.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  discord_userdata
 

Typedefs

typedef struct discord_userdata discord_userdata_t
 

Enumerations

enum  discord_presence {
  DISCORD_PRESENCE_NONE = 0, DISCORD_PRESENCE_MENU, DISCORD_PRESENCE_GAME, DISCORD_PRESENCE_GAME_PAUSED,
  DISCORD_PRESENCE_CHEEVO_UNLOCKED, DISCORD_PRESENCE_NETPLAY_HOSTING, DISCORD_PRESENCE_NETPLAY_HOSTING_STOPPED, DISCORD_PRESENCE_NETPLAY_CLIENT
}
 

Functions

void discord_init (void)
 
void discord_shutdown (void)
 
void discord_update (enum discord_presence presence)
 
void discord_run_callbacks ()
 

Typedef Documentation

◆ discord_userdata_t

Enumeration Type Documentation

◆ discord_presence

Enumerator
DISCORD_PRESENCE_NONE 
DISCORD_PRESENCE_MENU 
DISCORD_PRESENCE_GAME 
DISCORD_PRESENCE_GAME_PAUSED 
DISCORD_PRESENCE_CHEEVO_UNLOCKED 
DISCORD_PRESENCE_NETPLAY_HOSTING 
DISCORD_PRESENCE_NETPLAY_HOSTING_STOPPED 
DISCORD_PRESENCE_NETPLAY_CLIENT 

Function Documentation

◆ discord_init()

void discord_init ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ discord_run_callbacks()

void discord_run_callbacks ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ discord_shutdown()

void discord_shutdown ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ discord_update()

void discord_update ( enum discord_presence  presence)
Here is the call graph for this function:
Here is the caller graph for this function: