RetroArch
|
Classes | |
struct | DiscordUser |
struct | EventHandlers |
class | RichPresence |
struct | RichPresenceStruct |
Public Types | |
enum | Reply { Reply.No = 0, Reply.Yes = 1, Reply.Ignore = 2 } |
Public Member Functions | |
delegate void | ReadyCallback (ref DiscordUser connectedUser) |
delegate void | DisconnectedCallback (int errorCode, string message) |
delegate void | ErrorCallback (int errorCode, string message) |
delegate void | JoinCallback (string secret) |
delegate void | SpectateCallback (string secret) |
delegate void | RequestCallback (ref DiscordUser request) |
static void | Initialize (string applicationId, ref EventHandlers handlers, bool autoRegister, string optionalSteamId) |
static void | Shutdown () |
static void | RunCallbacks () |
static void | ClearPresence () |
static void | Respond (string userId, Reply reply) |
static void | UpdateHandlers (ref EventHandlers handlers) |
DiscordRpc (TargetInfo Target) | |
Static Public Member Functions | |
static void | UpdatePresence (RichPresence presence) |
Private Member Functions | |
static void | UpdatePresenceNative (ref RichPresenceStruct presence) |
|
strong |
|
inline |
static void DiscordRpc.ClearPresence | ( | ) |
static void DiscordRpc.Initialize | ( | string | applicationId, |
ref EventHandlers | handlers, | ||
bool | autoRegister, | ||
string | optionalSteamId | ||
) |
delegate void DiscordRpc.ReadyCallback | ( | ref DiscordUser | connectedUser | ) |
delegate void DiscordRpc.RequestCallback | ( | ref DiscordUser | request | ) |
static void DiscordRpc.RunCallbacks | ( | ) |
static void DiscordRpc.Shutdown | ( | ) |
static void DiscordRpc.UpdateHandlers | ( | ref EventHandlers | handlers | ) |
|
inlinestatic |
|
private |