Rise
The Vieneo Province
Loading...
Searching...
No Matches
RiseDiscord Namespace Reference

Classes

struct  Activity
struct  Fields
class  PresenceSession
struct  Result
class  SocialSdk
struct  WikiReference

Typedefs

using Log = std::function<void(const char*, bool warning)>
using Identity = std::function<void(std::uint64_t)>

Functions

Activity BuildActivity (const Fields &fields)
const char * VehicleWikiUrl (std::string_view imageKey)
const char * LocationWikiUrl (std::string_view imageKey)
std::string GroundParcelState (bool water, int plotU, int plotV, bool available)
std::unique_ptr< SocialSdk > CreateSocialSdk (const Log &log)

Variables

constexpr std::uint64_t ApplicationId = 497844043951374357ULL
constexpr std::uint32_t SteamApplicationId = 795990

Typedef Documentation

◆ Identity

using RiseDiscord::Identity = std::function<void(std::uint64_t)>

Definition at line 12 of file DiscordSocialPresence.h.

◆ Log

using RiseDiscord::Log = std::function<void(const char*, bool warning)>

Definition at line 11 of file DiscordSocialPresence.h.

Function Documentation

◆ BuildActivity()

RiseDiscord::Activity RiseDiscord::BuildActivity ( const Fields & fields)

Definition at line 5 of file DiscordActivityPayload.cpp.

Here is the caller graph for this function:

◆ CreateSocialSdk()

std::unique_ptr< RiseDiscord::SocialSdk > RiseDiscord::CreateSocialSdk ( const Log & log)

Definition at line 119 of file DiscordSocialSdk.cpp.

Here is the caller graph for this function:

◆ GroundParcelState()

std::string RiseDiscord::GroundParcelState ( bool water,
int plotU,
int plotV,
bool available )
inline

Definition at line 66 of file DiscordPresenceReferences.h.

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

◆ LocationWikiUrl()

const char * RiseDiscord::LocationWikiUrl ( std::string_view imageKey)
inline

Definition at line 39 of file DiscordPresenceReferences.h.

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

◆ VehicleWikiUrl()

const char * RiseDiscord::VehicleWikiUrl ( std::string_view imageKey)
inline

Definition at line 15 of file DiscordPresenceReferences.h.

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

Variable Documentation

◆ ApplicationId

std::uint64_t RiseDiscord::ApplicationId = 497844043951374357ULL
constexpr

Definition at line 9 of file DiscordSocialPresence.h.

◆ SteamApplicationId

std::uint32_t RiseDiscord::SteamApplicationId = 795990
constexpr

Definition at line 10 of file DiscordSocialPresence.h.