class

MPlatformSocialSubsystem

Module
Networking
Header
#include "Networking/Subsystems/MPlatformSocialSubsystem.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Public functions

ReturnsNameDescription
intRefreshFriendsfirst.
intGetFriendCount
uint64_tGetFriendIdAt
std::stringGetFriendNameAt
std::stringGetFriendPlatformAt"Steam" or "Discord".
intGetFriendPresenceAt0 offline, 1 online elsewhere, 2 playing this game.
std::stringGetFriendStatusAt
uint64_tGetFriendLobbyIdAtThe lobby the friend is in, 0 when none; JoinFriendAt joins it, or the friend's connect string when they host without a visible lobby.
std::stringGetFriendAvatarPathAtThe path an image widget loads the friend's avatar from; it fills in once the platform delivers the pixels (GetChangeSerial moves when it does).
std::stringGetAvatarPath
boolJoinFriendAtStarts joining the friend's lobby on their platform.
voidMarkPlayedWithMarks a player met in this session so the platform lists them as a recent player.
intGetChangeSerialMoves whenever lobby data, the roster, a friend, an avatar or an achievement icon changed.
boolShowProfileOverlay shortcuts on the identity-owning platform.
boolShowStorePageappId 0 is this game; addToCart opens the store with it in the cart.
boolShowWebPage
boolShowAchievementsOverlay
boolShowFriendsOverlay
boolShowPlatformDialogThe platform's own dialog by name ("friends", "players", "settings", ...).
intRefreshAchievementsThe player's achievements with the platform's names, descriptions, hidden flags, unlock times and global rarity.
intGetAchievementInfoCount
std::stringGetAchievementIdAt
std::stringGetAchievementNameAt
std::stringGetAchievementDescriptionAt
boolIsAchievementHiddenAt
boolIsAchievementUnlockedAt
uint64_tGetAchievementUnlockTimeAtUnix seconds, 0 while locked.
floatGetAchievementRarityAtPercent of all players who unlocked it, negative until the platform has answered RequestAchievementRarity.
std::stringGetAchievementIconPathAt
boolRequestAchievementRarity
boolIsAchievementRarityPending
intGetUnlockedAchievementCount
uint64_tGetCloudQuotaTotalCloud saves: the account's allowance.
uint64_tGetCloudQuotaAvailable
boolHasPendingLaunchJoinTrue while a join from the launch line (a friend's Join Game while the game was closed) is waiting for the session layer.

Function details

RefreshFriends

C++
int RefreshFriends()

first. A snapshot: the accessors read what the last refresh saw.

GetFriendCount

C++
int GetFriendCount() const

GetFriendIdAt

C++
uint64_t GetFriendIdAt(int index) const

GetFriendNameAt

C++
std::string GetFriendNameAt(int index) const

GetFriendPlatformAt

C++
std::string GetFriendPlatformAt(int index) const

"Steam" or "Discord".

GetFriendPresenceAt

C++
int GetFriendPresenceAt(int index) const

0 offline, 1 online elsewhere, 2 playing this game.

GetFriendStatusAt

C++
std::string GetFriendStatusAt(int index) const

GetFriendLobbyIdAt

C++
uint64_t GetFriendLobbyIdAt(int index) const

The lobby the friend is in, 0 when none; JoinFriendAt joins it, or the friend's connect string when they host without a visible lobby.

GetFriendAvatarPathAt

C++
std::string GetFriendAvatarPathAt(int index) const

The path an image widget loads the friend's avatar from; it fills in once the platform delivers the pixels (GetChangeSerial moves when it does).

GetAvatarPath

C++
std::string GetAvatarPath(const std::string& platform, uint64_t userId) const

JoinFriendAt

C++
bool JoinFriendAt(int index)

Starts joining the friend's lobby on their platform. The session handoff then runs exactly as for an accepted invite.

MarkPlayedWith

C++
void MarkPlayedWith(const std::string& platform, uint64_t userId)

Marks a player met in this session so the platform lists them as a recent player.

GetChangeSerial

C++
int GetChangeSerial() const

Moves whenever lobby data, the roster, a friend, an avatar or an achievement icon changed. A graph compares it with the value it last saw.

ShowProfile

C++
bool ShowProfile(uint64_t userId)

Overlay shortcuts on the identity-owning platform. False when the overlay is off or the platform has no such page: show the game's own UI then.

ShowStorePage

C++
bool ShowStorePage(int appId, bool addToCart)

appId 0 is this game; addToCart opens the store with it in the cart.

ShowWebPage

C++
bool ShowWebPage(const std::string& url, bool modal)

ShowAchievementsOverlay

C++
bool ShowAchievementsOverlay()

ShowFriendsOverlay

C++
bool ShowFriendsOverlay()

ShowPlatformDialog

C++
bool ShowPlatformDialog(const std::string& dialog)

The platform's own dialog by name ("friends", "players", "settings", ...).

RefreshAchievements

C++
int RefreshAchievements()

The player's achievements with the platform's names, descriptions, hidden flags, unlock times and global rarity. With no platform up the project's own definitions (Config/Achievements.ini) and the local store answer, so the screen works in PIE too.

GetAchievementInfoCount

C++
int GetAchievementInfoCount() const

GetAchievementIdAt

C++
std::string GetAchievementIdAt(int index) const

GetAchievementNameAt

C++
std::string GetAchievementNameAt(int index) const

GetAchievementDescriptionAt

C++
std::string GetAchievementDescriptionAt(int index) const

IsAchievementHiddenAt

C++
bool IsAchievementHiddenAt(int index) const

IsAchievementUnlockedAt

C++
bool IsAchievementUnlockedAt(int index) const

GetAchievementUnlockTimeAt

C++
uint64_t GetAchievementUnlockTimeAt(int index) const

Unix seconds, 0 while locked.

GetAchievementRarityAt

C++
float GetAchievementRarityAt(int index) const

Percent of all players who unlocked it, negative until the platform has answered RequestAchievementRarity.

GetAchievementIconPathAt

C++
std::string GetAchievementIconPathAt(int index) const

RequestAchievementRarity

C++
bool RequestAchievementRarity()

IsAchievementRarityPending

C++
bool IsAchievementRarityPending() const

GetUnlockedAchievementCount

C++
int GetUnlockedAchievementCount() const

GetCloudQuotaTotal

C++
uint64_t GetCloudQuotaTotal() const

Cloud saves: the account's allowance. 0 / 0 when the platform cannot say.

GetCloudQuotaAvailable

C++
uint64_t GetCloudQuotaAvailable() const

HasPendingLaunchJoin

C++
bool HasPendingLaunchJoin() const

True while a join from the launch line (a friend's Join Game while the game was closed) is waiting for the session layer.

Generated from Networking/Subsystems/MPlatformSocialSubsystem.h via networking.json · Dec 5, 2026Version 1.1.0