Rise
The Vieneo Province
Loading...
Searching...
No Matches
RiseDiscord::PresenceSession Class Reference

#include <DiscordSocialPresence.h>

Collaboration diagram for RiseDiscord::PresenceSession:
[legend]

Classes

struct  State

Public Member Functions

 PresenceSession (std::unique_ptr< SocialSdk >, Log, Identity)
 ~PresenceSession ()
 PresenceSession (const PresenceSession &)=delete
PresenceSession & operator= (const PresenceSession &)=delete
void SetActivity (Activity)
void FrameMove (std::uint64_t monotonicMilliseconds)
void Stop ()

Private Attributes

std::shared_ptr< State > state
std::unique_ptr< SocialSdk > sdk

Detailed Description

Definition at line 36 of file DiscordSocialPresence.h.

Constructor & Destructor Documentation

◆ PresenceSession() [1/2]

RiseDiscord::PresenceSession::PresenceSession ( std::unique_ptr< SocialSdk > backend,
Log log,
Identity identity )

Definition at line 22 of file DiscordSocialPresence.cpp.

Here is the caller graph for this function:

◆ ~PresenceSession()

RiseDiscord::PresenceSession::~PresenceSession ( )

Definition at line 29 of file DiscordSocialPresence.cpp.

Here is the call graph for this function:

◆ PresenceSession() [2/2]

RiseDiscord::PresenceSession::PresenceSession ( const PresenceSession & )
delete
Here is the call graph for this function:

Member Function Documentation

◆ FrameMove()

void RiseDiscord::PresenceSession::FrameMove ( std::uint64_t monotonicMilliseconds)

Definition at line 38 of file DiscordSocialPresence.cpp.

Here is the caller graph for this function:

◆ operator=()

PresenceSession & RiseDiscord::PresenceSession::operator= ( const PresenceSession & )
delete
Here is the call graph for this function:

◆ SetActivity()

void RiseDiscord::PresenceSession::SetActivity ( Activity activity)

Definition at line 31 of file DiscordSocialPresence.cpp.

Here is the caller graph for this function:

◆ Stop()

void RiseDiscord::PresenceSession::Stop ( )

Definition at line 105 of file DiscordSocialPresence.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ sdk

std::unique_ptr<SocialSdk> RiseDiscord::PresenceSession::sdk
private

Definition at line 40 of file DiscordSocialPresence.h.

◆ state

std::shared_ptr<State> RiseDiscord::PresenceSession::state
private

Definition at line 39 of file DiscordSocialPresence.h.


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