SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
RichPresenceNS::RichPresence Class Reference

Public Member Functions

void update (bool force)
 

Static Public Member Functions

static RichPresenceget ()
 
static void destroy ()
 

Private Member Functions

bool tryConnect (std::string path)
 
bool doConnect ()
 
void terminate ()
 
void sendData (int32_t op, std::string json)
 
void handshake ()
 
void readData ()
 
void ensureCache ()
 

Static Private Member Functions

static void finishConnection (RichPresence *self)
 

Private Attributes

bool m_connected
 
std::atomic_bool m_ready
 
time_t m_last
 
int m_socket
 
std::shared_ptr< AssetRequestm_assets_request
 
std::thread * m_thread
 
std::map< std::string, bool > m_asset_cache
 
std::string m_assets
 

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