Documentation for the Unreal C++ Library
Loading...
Searching...
No Matches
FPVROSubsystem Class Reference

#include <PVROSubsystem.h>

Inheritance diagram for FPVROSubsystem:
[legend]

Public Member Functions

virtual ~FPVROSubsystem ()
 
bool ConnectWebsocket ()
 
virtual bool Exec (class UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) override
 
bool FindSessions (int InOrgId=-1, int InModuleId=-1, FString InUserName="", FString InModuleVersion="")
 
virtual IOnlineAchievementsPtr GetAchievementsInterface () const override
 
virtual FString GetAppId () const override
 
virtual IOnlineChatPtr GetChatInterface () const override
 
virtual IOnlineEntitlementsPtr GetEntitlementsInterface () const override
 
virtual IOnlineEventsPtr GetEventsInterface () const override
 
virtual IOnlineExternalUIPtr GetExternalUIInterface () const override
 
virtual IOnlineFriendsPtr GetFriendsInterface () const override
 
virtual IOnlineGroupsPtr GetGroupsInterface () const override
 
virtual IOnlineIdentityPtr GetIdentityInterface () const override
 
virtual IOnlineLeaderboardsPtr GetLeaderboardsInterface () const override
 
virtual IOnlineMessagePtr GetMessageInterface () const override
 
virtual FText GetOnlineServiceName () const override
 
virtual IOnlinePartyPtr GetPartyInterface () const override
 
virtual IOnlinePresencePtr GetPresenceInterface () const override
 
virtual IOnlinePurchasePtr GetPurchaseInterface () const override
 
virtual IOnlineSessionPtr GetSessionInterface () const override
 
virtual IOnlineSharedCloudPtr GetSharedCloudInterface () const override
 
virtual IOnlineSharingPtr GetSharingInterface () const override
 
virtual IOnlineStatsPtr GetStatsInterface () const override
 
virtual IOnlineStoreV2Ptr GetStoreV2Interface () const override
 
virtual IOnlineTimePtr GetTimeInterface () const override
 
virtual IOnlineTitleFilePtr GetTitleFileInterface () const override
 
virtual IOnlineTournamentPtr GetTournamentInterface () const override
 
virtual IOnlineTurnBasedPtr GetTurnBasedInterface () const override
 
virtual IOnlineUserCloudPtr GetUserCloudInterface () const override
 
virtual IOnlineUserPtr GetUserInterface () const override
 
virtual IOnlineVoicePtr GetVoiceInterface () const override
 
virtual bool Init () override
 
void QueueAsyncTask (class FOnlineAsyncTask *AsyncTask)
 
void SetModuleInfo (int InModuleId, FString InModuleVersion)
 
void SetUserInfo (FString InUserName, int InUserOrgId)
 
virtual bool Shutdown () override
 
virtual bool Tick (float DeltaTime) override
 

Protected Member Functions

 FPVROSubsystem ()=delete
 
 FPVROSubsystem (FName InInstanceName)
 

Protected Attributes

int ModuleId
 
FString ModuleVersion
 
FString MultiplayerURL
 
FString UserName
 
int UserOrgId
 
MultiplayerWebSocket WebSocket
 

Private Member Functions

bool ParseConfig (FString ConfigContent, TMap< FString, FString > &ConfigValues)
 
bool SaveConfig ()
 
bool TryLoadConfig ()
 

Private Attributes

bool bVoiceInterfaceInitialized
 
FPVROIdentityPtr IdentityInterface
 
FPVROnlineSessionPtr SessionInterface
 
class FRunnableThread * TaskThread
 
class FPVROAsyncTaskManagerTaskThreadManager
 
FOnlineVoiceImplPtr VoiceInterface
 

Static Private Attributes

static FThreadSafeCounter TaskCounter
 

Detailed Description

Definition at line 24 of file PVROSubsystem.h.

Constructor & Destructor Documentation

◆ ~FPVROSubsystem()

virtual FPVROSubsystem::~FPVROSubsystem ( )
inlinevirtual

Definition at line 28 of file PVROSubsystem.h.

◆ FPVROSubsystem() [1/2]

FPVROSubsystem::FPVROSubsystem ( )
protecteddelete

Only the factory makes instances

◆ FPVROSubsystem() [2/2]

FPVROSubsystem::FPVROSubsystem ( FName InInstanceName)
inlineexplicitprotected

Definition at line 75 of file PVROSubsystem.h.

Member Function Documentation

◆ ConnectWebsocket()

bool FPVROSubsystem::ConnectWebsocket ( )

Definition at line 360 of file PVROSubsystem.cpp.

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

◆ Exec()

bool FPVROSubsystem::Exec ( class UWorld * InWorld,
const TCHAR * Cmd,
FOutputDevice & Ar )
overridevirtual

Definition at line 420 of file PVROSubsystem.cpp.

◆ FindSessions()

bool FPVROSubsystem::FindSessions ( int InOrgId = -1,
int InModuleId = -1,
FString InUserName = "",
FString InModuleVersion = "" )

Definition at line 446 of file PVROSubsystem.cpp.

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

◆ GetAchievementsInterface()

IOnlineAchievementsPtr FPVROSubsystem::GetAchievementsInterface ( ) const
overridevirtual

Definition at line 102 of file PVROSubsystem.cpp.

◆ GetAppId()

FString FPVROSubsystem::GetAppId ( ) const
overridevirtual

Definition at line 415 of file PVROSubsystem.cpp.

◆ GetChatInterface()

IOnlineChatPtr FPVROSubsystem::GetChatInterface ( ) const
overridevirtual

Definition at line 127 of file PVROSubsystem.cpp.

◆ GetEntitlementsInterface()

IOnlineEntitlementsPtr FPVROSubsystem::GetEntitlementsInterface ( ) const
overridevirtual

Definition at line 52 of file PVROSubsystem.cpp.

◆ GetEventsInterface()

IOnlineEventsPtr FPVROSubsystem::GetEventsInterface ( ) const
overridevirtual

Definition at line 97 of file PVROSubsystem.cpp.

◆ GetExternalUIInterface()

IOnlineExternalUIPtr FPVROSubsystem::GetExternalUIInterface ( ) const
overridevirtual

Definition at line 77 of file PVROSubsystem.cpp.

◆ GetFriendsInterface()

IOnlineFriendsPtr FPVROSubsystem::GetFriendsInterface ( ) const
overridevirtual

Definition at line 27 of file PVROSubsystem.cpp.

◆ GetGroupsInterface()

IOnlineGroupsPtr FPVROSubsystem::GetGroupsInterface ( ) const
overridevirtual

Definition at line 37 of file PVROSubsystem.cpp.

◆ GetIdentityInterface()

IOnlineIdentityPtr FPVROSubsystem::GetIdentityInterface ( ) const
overridevirtual

Definition at line 87 of file PVROSubsystem.cpp.

Here is the caller graph for this function:

◆ GetLeaderboardsInterface()

IOnlineLeaderboardsPtr FPVROSubsystem::GetLeaderboardsInterface ( ) const
overridevirtual

Definition at line 57 of file PVROSubsystem.cpp.

◆ GetMessageInterface()

IOnlineMessagePtr FPVROSubsystem::GetMessageInterface ( ) const
overridevirtual

Definition at line 117 of file PVROSubsystem.cpp.

◆ GetOnlineServiceName()

FText FPVROSubsystem::GetOnlineServiceName ( ) const
overridevirtual

Definition at line 428 of file PVROSubsystem.cpp.

◆ GetPartyInterface()

IOnlinePartyPtr FPVROSubsystem::GetPartyInterface ( ) const
overridevirtual

Definition at line 32 of file PVROSubsystem.cpp.

◆ GetPresenceInterface()

IOnlinePresencePtr FPVROSubsystem::GetPresenceInterface ( ) const
overridevirtual

Definition at line 122 of file PVROSubsystem.cpp.

◆ GetPurchaseInterface()

virtual IOnlinePurchasePtr FPVROSubsystem::GetPurchaseInterface ( ) const
inlineoverridevirtual

Definition at line 49 of file PVROSubsystem.h.

◆ GetSessionInterface()

IOnlineSessionPtr FPVROSubsystem::GetSessionInterface ( ) const
overridevirtual

Definition at line 22 of file PVROSubsystem.cpp.

◆ GetSharedCloudInterface()

IOnlineSharedCloudPtr FPVROSubsystem::GetSharedCloudInterface ( ) const
overridevirtual

Definition at line 42 of file PVROSubsystem.cpp.

◆ GetSharingInterface()

IOnlineSharingPtr FPVROSubsystem::GetSharingInterface ( ) const
overridevirtual

Definition at line 107 of file PVROSubsystem.cpp.

◆ GetStatsInterface()

IOnlineStatsPtr FPVROSubsystem::GetStatsInterface ( ) const
overridevirtual

Definition at line 142 of file PVROSubsystem.cpp.

◆ GetStoreV2Interface()

virtual IOnlineStoreV2Ptr FPVROSubsystem::GetStoreV2Interface ( ) const
inlineoverridevirtual

Definition at line 48 of file PVROSubsystem.h.

◆ GetTimeInterface()

IOnlineTimePtr FPVROSubsystem::GetTimeInterface ( ) const
overridevirtual

Definition at line 82 of file PVROSubsystem.cpp.

◆ GetTitleFileInterface()

IOnlineTitleFilePtr FPVROSubsystem::GetTitleFileInterface ( ) const
overridevirtual

Definition at line 92 of file PVROSubsystem.cpp.

◆ GetTournamentInterface()

IOnlineTournamentPtr FPVROSubsystem::GetTournamentInterface ( ) const
overridevirtual

Definition at line 137 of file PVROSubsystem.cpp.

◆ GetTurnBasedInterface()

IOnlineTurnBasedPtr FPVROSubsystem::GetTurnBasedInterface ( ) const
overridevirtual

Definition at line 132 of file PVROSubsystem.cpp.

◆ GetUserCloudInterface()

IOnlineUserCloudPtr FPVROSubsystem::GetUserCloudInterface ( ) const
overridevirtual

Definition at line 47 of file PVROSubsystem.cpp.

◆ GetUserInterface()

IOnlineUserPtr FPVROSubsystem::GetUserInterface ( ) const
overridevirtual

Definition at line 112 of file PVROSubsystem.cpp.

◆ GetVoiceInterface()

IOnlineVoicePtr FPVROSubsystem::GetVoiceInterface ( ) const
overridevirtual

Definition at line 62 of file PVROSubsystem.cpp.

Here is the caller graph for this function:

◆ Init()

bool FPVROSubsystem::Init ( )
overridevirtual

Definition at line 277 of file PVROSubsystem.cpp.

Here is the call graph for this function:

◆ ParseConfig()

bool FPVROSubsystem::ParseConfig ( FString ConfigContent,
TMap< FString, FString > & ConfigValues )
private

Definition at line 238 of file PVROSubsystem.cpp.

Here is the caller graph for this function:

◆ QueueAsyncTask()

void FPVROSubsystem::QueueAsyncTask ( class FOnlineAsyncTask * AsyncTask)

Definition at line 147 of file PVROSubsystem.cpp.

◆ SaveConfig()

bool FPVROSubsystem::SaveConfig ( )
private

Definition at line 261 of file PVROSubsystem.cpp.

Here is the caller graph for this function:

◆ SetModuleInfo()

void FPVROSubsystem::SetModuleInfo ( int InModuleId,
FString InModuleVersion )

Definition at line 440 of file PVROSubsystem.cpp.

Here is the caller graph for this function:

◆ SetUserInfo()

void FPVROSubsystem::SetUserInfo ( FString InUserName,
int InUserOrgId )

Definition at line 433 of file PVROSubsystem.cpp.

Here is the caller graph for this function:

◆ Shutdown()

bool FPVROSubsystem::Shutdown ( )
overridevirtual

Definition at line 370 of file PVROSubsystem.cpp.

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

◆ Tick()

bool FPVROSubsystem::Tick ( float DeltaTime)
overridevirtual

Definition at line 153 of file PVROSubsystem.cpp.

◆ TryLoadConfig()

bool FPVROSubsystem::TryLoadConfig ( )
private

Definition at line 186 of file PVROSubsystem.cpp.

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

Member Data Documentation

◆ bVoiceInterfaceInitialized

bool FPVROSubsystem::bVoiceInterfaceInitialized
mutableprivate

Definition at line 113 of file PVROSubsystem.h.

◆ IdentityInterface

FPVROIdentityPtr FPVROSubsystem::IdentityInterface
private

Definition at line 109 of file PVROSubsystem.h.

◆ ModuleId

int FPVROSubsystem::ModuleId
protected

Definition at line 99 of file PVROSubsystem.h.

◆ ModuleVersion

FString FPVROSubsystem::ModuleVersion
protected

Definition at line 101 of file PVROSubsystem.h.

◆ MultiplayerURL

FString FPVROSubsystem::MultiplayerURL
protected

Definition at line 91 of file PVROSubsystem.h.

◆ SessionInterface

FPVROnlineSessionPtr FPVROSubsystem::SessionInterface
private

Definition at line 107 of file PVROSubsystem.h.

◆ TaskCounter

FThreadSafeCounter FPVROSubsystem::TaskCounter
staticprivate

Definition at line 119 of file PVROSubsystem.h.

◆ TaskThread

class FRunnableThread* FPVROSubsystem::TaskThread
private

Definition at line 117 of file PVROSubsystem.h.

◆ TaskThreadManager

class FPVROAsyncTaskManager* FPVROSubsystem::TaskThreadManager
private

Definition at line 115 of file PVROSubsystem.h.

◆ UserName

FString FPVROSubsystem::UserName
protected

Definition at line 94 of file PVROSubsystem.h.

◆ UserOrgId

int FPVROSubsystem::UserOrgId
protected

Definition at line 96 of file PVROSubsystem.h.

◆ VoiceInterface

FOnlineVoiceImplPtr FPVROSubsystem::VoiceInterface
mutableprivate

Definition at line 111 of file PVROSubsystem.h.

◆ WebSocket

MultiplayerWebSocket FPVROSubsystem::WebSocket
protected

Definition at line 103 of file PVROSubsystem.h.


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