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

#include <PVROMultiplayerIdentity.h>

Inheritance diagram for FPVROIdentity:
[legend]

Public Member Functions

 FPVROIdentity (FPVROSubsystem *InSubsystem)
 
virtual ~FPVROIdentity ()
 
virtual bool AutoLogin (int32 LocalUserNum) override
 
virtual FUniqueNetIdPtr CreateUniquePlayerId (const FString &Str) override
 
virtual FUniqueNetIdPtr CreateUniquePlayerId (uint8 *Bytes, int32 Size) override
 
virtual TArray< TSharedPtr< FUserOnlineAccount > > GetAllUserAccounts () const override
 
virtual FString GetAuthToken (int32 LocalUserNum) const override
 
virtual FString GetAuthType () const override
 
virtual ELoginStatus::Type GetLoginStatus (const FUniqueNetId &UserId) const override
 
virtual ELoginStatus::Type GetLoginStatus (int32 LocalUserNum) const override
 
virtual FPlatformUserId GetPlatformUserIdFromUniqueNetId (const FUniqueNetId &UniqueNetId) const override
 
virtual FString GetPlayerNickname (const FUniqueNetId &UserId) const override
 
virtual FString GetPlayerNickname (int32 LocalUserNum) const override
 
virtual FUniqueNetIdPtr GetUniquePlayerId (int32 LocalUserNum) const override
 
virtual TSharedPtr< FUserOnlineAccountGetUserAccount (const FUniqueNetId &UserId) const override
 
virtual void GetUserPrivilege (const FUniqueNetId &UserId, EUserPrivileges::Type Privilege, const FOnGetUserPrivilegeCompleteDelegate &Delegate) override
 
virtual bool Login (int32 LocalUserNum, const FOnlineAccountCredentials &AccountCredentials) override
 
virtual bool Logout (int32 LocalUserNum) override
 
virtual void RevokeAuthToken (const FUniqueNetId &UserId, const FOnRevokeAuthTokenCompleteDelegate &Delegate) override
 
virtual void SetPlayerNickname (const FUniqueNetId &UserId, const FString PlayerNickname)
 
virtual void SetPlayerNickname (int32 LocalUserNum, const FString PlayerNickname)
 

Private Member Functions

 FPVROIdentity ()=delete
 

Private Attributes

FPVROSubsystemSubsystem
 
TMap< FUniqueNetIdPixoVR, TSharedRef< FPVROUserAccount > > UserAccounts
 
TMap< int32, FUniqueNetIdPtrUserIds
 

Detailed Description

Definition at line 60 of file PVROMultiplayerIdentity.h.

Constructor & Destructor Documentation

◆ FPVROIdentity() [1/2]

FPVROIdentity::FPVROIdentity ( FPVROSubsystem * InSubsystem)

Constructor

Parameters
InSubsystemonline subsystem being used

Definition at line 347 of file PVROMultiplayerIdentity.cpp.

Here is the call graph for this function:

◆ ~FPVROIdentity()

FPVROIdentity::~FPVROIdentity ( )
virtual

Destructor

Definition at line 354 of file PVROMultiplayerIdentity.cpp.

◆ FPVROIdentity() [2/2]

FPVROIdentity::FPVROIdentity ( )
privatedelete

Should use the initialization constructor instead

Member Function Documentation

◆ AutoLogin()

bool FPVROIdentity::AutoLogin ( int32 LocalUserNum)
overridevirtual

Definition at line 170 of file PVROMultiplayerIdentity.cpp.

Here is the call graph for this function:

◆ CreateUniquePlayerId() [1/2]

FUniqueNetIdPtr FPVROIdentity::CreateUniquePlayerId ( const FString & Str)
overridevirtual

Definition at line 263 of file PVROMultiplayerIdentity.cpp.

◆ CreateUniquePlayerId() [2/2]

FUniqueNetIdPtr FPVROIdentity::CreateUniquePlayerId ( uint8 * Bytes,
int32 Size )
overridevirtual

Definition at line 248 of file PVROMultiplayerIdentity.cpp.

◆ GetAllUserAccounts()

TArray< TSharedPtr< FUserOnlineAccount > > FPVROIdentity::GetAllUserAccounts ( ) const
overridevirtual

Definition at line 226 of file PVROMultiplayerIdentity.cpp.

◆ GetAuthToken()

FString FPVROIdentity::GetAuthToken ( int32 LocalUserNum) const
overridevirtual

Definition at line 328 of file PVROMultiplayerIdentity.cpp.

Here is the call graph for this function:

◆ GetAuthType()

FString FPVROIdentity::GetAuthType ( ) const
overridevirtual

Definition at line 381 of file PVROMultiplayerIdentity.cpp.

◆ GetLoginStatus() [1/2]

ELoginStatus::Type FPVROIdentity::GetLoginStatus ( const FUniqueNetId & UserId) const
overridevirtual

Definition at line 282 of file PVROMultiplayerIdentity.cpp.

Here is the call graph for this function:

◆ GetLoginStatus() [2/2]

ELoginStatus::Type FPVROIdentity::GetLoginStatus ( int32 LocalUserNum) const
overridevirtual

Definition at line 272 of file PVROMultiplayerIdentity.cpp.

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

◆ GetPlatformUserIdFromUniqueNetId()

FPlatformUserId FPVROIdentity::GetPlatformUserIdFromUniqueNetId ( const FUniqueNetId & UniqueNetId) const
overridevirtual

Definition at line 363 of file PVROMultiplayerIdentity.cpp.

Here is the call graph for this function:

◆ GetPlayerNickname() [1/2]

FString FPVROIdentity::GetPlayerNickname ( const FUniqueNetId & UserId) const
overridevirtual

Definition at line 304 of file PVROMultiplayerIdentity.cpp.

◆ GetPlayerNickname() [2/2]

FString FPVROIdentity::GetPlayerNickname ( int32 LocalUserNum) const
overridevirtual

Definition at line 293 of file PVROMultiplayerIdentity.cpp.

Here is the call graph for this function:

◆ GetUniquePlayerId()

FUniqueNetIdPtr FPVROIdentity::GetUniquePlayerId ( int32 LocalUserNum) const
overridevirtual

Definition at line 238 of file PVROMultiplayerIdentity.cpp.

Here is the caller graph for this function:

◆ GetUserAccount()

TSharedPtr< FUserOnlineAccount > FPVROIdentity::GetUserAccount ( const FUniqueNetId & UserId) const
overridevirtual

Definition at line 208 of file PVROMultiplayerIdentity.cpp.

Here is the caller graph for this function:

◆ GetUserPrivilege()

void FPVROIdentity::GetUserPrivilege ( const FUniqueNetId & UserId,
EUserPrivileges::Type Privilege,
const FOnGetUserPrivilegeCompleteDelegate & Delegate )
overridevirtual

Definition at line 358 of file PVROMultiplayerIdentity.cpp.

◆ Login()

bool FPVROIdentity::Login ( int32 LocalUserNum,
const FOnlineAccountCredentials & AccountCredentials )
overridevirtual

Definition at line 86 of file PVROMultiplayerIdentity.cpp.

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

◆ Logout()

bool FPVROIdentity::Logout ( int32 LocalUserNum)
overridevirtual

Definition at line 144 of file PVROMultiplayerIdentity.cpp.

Here is the call graph for this function:

◆ RevokeAuthToken()

void FPVROIdentity::RevokeAuthToken ( const FUniqueNetId & UserId,
const FOnRevokeAuthTokenCompleteDelegate & Delegate )
overridevirtual

Definition at line 342 of file PVROMultiplayerIdentity.cpp.

◆ SetPlayerNickname() [1/2]

void FPVROIdentity::SetPlayerNickname ( const FUniqueNetId & UserId,
const FString PlayerNickname )
virtual

Definition at line 318 of file PVROMultiplayerIdentity.cpp.

◆ SetPlayerNickname() [2/2]

void FPVROIdentity::SetPlayerNickname ( int32 LocalUserNum,
const FString PlayerNickname )
virtual

Definition at line 309 of file PVROMultiplayerIdentity.cpp.

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

Member Data Documentation

◆ Subsystem

FPVROSubsystem* FPVROIdentity::Subsystem
private

Cached pointer to owning subsystem

Definition at line 109 of file PVROMultiplayerIdentity.h.

◆ UserAccounts

TMap<FUniqueNetIdPixoVR, TSharedRef<FPVROUserAccount> > FPVROIdentity::UserAccounts
private

Ids mapped to locally registered users

Definition at line 115 of file PVROMultiplayerIdentity.h.

◆ UserIds

TMap<int32, FUniqueNetIdPtr> FPVROIdentity::UserIds
private

Ids mapped to locally registered users

Definition at line 112 of file PVROMultiplayerIdentity.h.


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