RetroArch
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
DiscordController Class Reference
Inheritance diagram for DiscordController:
[legend]
Collaboration diagram for DiscordController:
[legend]

Public Member Functions

void OnClick ()
 
void RequestRespondYes ()
 
void RequestRespondNo ()
 
void ReadyCallback (ref DiscordRpc.DiscordUser connectedUser)
 
void DisconnectedCallback (int errorCode, string message)
 
void ErrorCallback (int errorCode, string message)
 
void JoinCallback (string secret)
 
void SpectateCallback (string secret)
 
void RequestCallback (ref DiscordRpc.DiscordUser request)
 

Public Attributes

DiscordRpc.RichPresence presence = new DiscordRpc.RichPresence()
 
string applicationId
 
string optionalSteamId
 
int callbackCalls
 
int clickCounter
 
DiscordRpc.DiscordUser joinRequest
 
UnityEngine.Events.UnityEvent onConnect
 
UnityEngine.Events.UnityEvent onDisconnect
 
UnityEngine.Events.UnityEvent hasResponded
 
DiscordJoinEvent onJoin
 
DiscordJoinEvent onSpectate
 
DiscordJoinRequestEvent onJoinRequest
 

Private Member Functions

void Start ()
 
void Update ()
 
void OnEnable ()
 
void OnDisable ()
 
void OnDestroy ()
 

Private Attributes

DiscordRpc.EventHandlers handlers
 

Member Function Documentation

◆ DisconnectedCallback()

void DiscordController.DisconnectedCallback ( int  errorCode,
string  message 
)
inline
Here is the caller graph for this function:

◆ ErrorCallback()

void DiscordController.ErrorCallback ( int  errorCode,
string  message 
)
inline
Here is the caller graph for this function:

◆ JoinCallback()

void DiscordController.JoinCallback ( string  secret)
inline
Here is the caller graph for this function:

◆ OnClick()

void DiscordController.OnClick ( )
inline
Here is the call graph for this function:

◆ OnDestroy()

void DiscordController.OnDestroy ( )
inlineprivate

◆ OnDisable()

void DiscordController.OnDisable ( )
inlineprivate
Here is the call graph for this function:

◆ OnEnable()

void DiscordController.OnEnable ( )
inlineprivate
Here is the call graph for this function:

◆ ReadyCallback()

void DiscordController.ReadyCallback ( ref DiscordRpc.DiscordUser  connectedUser)
inline
Here is the caller graph for this function:

◆ RequestCallback()

void DiscordController.RequestCallback ( ref DiscordRpc.DiscordUser  request)
inline
Here is the caller graph for this function:

◆ RequestRespondNo()

void DiscordController.RequestRespondNo ( )
inline
Here is the call graph for this function:

◆ RequestRespondYes()

void DiscordController.RequestRespondYes ( )
inline
Here is the call graph for this function:

◆ SpectateCallback()

void DiscordController.SpectateCallback ( string  secret)
inline
Here is the caller graph for this function:

◆ Start()

void DiscordController.Start ( )
inlineprivate

◆ Update()

void DiscordController.Update ( )
inlineprivate
Here is the call graph for this function:

Member Data Documentation

◆ applicationId

string DiscordController.applicationId

◆ callbackCalls

int DiscordController.callbackCalls

◆ clickCounter

int DiscordController.clickCounter

◆ handlers

DiscordRpc.EventHandlers DiscordController.handlers
private

◆ hasResponded

UnityEngine.Events.UnityEvent DiscordController.hasResponded

◆ joinRequest

DiscordRpc.DiscordUser DiscordController.joinRequest

◆ onConnect

UnityEngine.Events.UnityEvent DiscordController.onConnect

◆ onDisconnect

UnityEngine.Events.UnityEvent DiscordController.onDisconnect

◆ onJoin

DiscordJoinEvent DiscordController.onJoin

◆ onJoinRequest

DiscordJoinRequestEvent DiscordController.onJoinRequest

◆ onSpectate

DiscordJoinEvent DiscordController.onSpectate

◆ optionalSteamId

string DiscordController.optionalSteamId

◆ presence

DiscordRpc.RichPresence DiscordController.presence = new DiscordRpc.RichPresence()

The documentation for this class was generated from the following file: