add ps4 support
This commit is contained in:
@@ -20,6 +20,7 @@ class PlayerUID
|
||||
SceUserServiceUserId m_userID;
|
||||
|
||||
public:
|
||||
ULONGLONG XUID;
|
||||
|
||||
class Hash
|
||||
{
|
||||
@@ -30,6 +31,8 @@ public:
|
||||
PlayerUID();
|
||||
PlayerUID(SceUserServiceUserId userID, SceNpOnlineId& onlineID, bool bSignedInPSN, int quadrant);
|
||||
PlayerUID(std::wstring fromString);
|
||||
PlayerUID(ULONGLONG xuid) { XUID = xuid; }
|
||||
operator ULONGLONG() const { return XUID; }
|
||||
|
||||
bool operator==(const PlayerUID& rhs) const;
|
||||
bool operator!=(const PlayerUID& rhs);
|
||||
@@ -64,7 +67,7 @@ namespace std
|
||||
|
||||
|
||||
|
||||
|
||||
#ifndef DISABLE_PSN
|
||||
class GameSessionUID
|
||||
{
|
||||
char m_onlineID[SCE_NP_ONLINEID_MAX_LENGTH];
|
||||
@@ -83,3 +86,4 @@ public:
|
||||
int getQuadrant() const { return m_quadrant; }
|
||||
bool isSignedIntoPSN() const { return m_bSignedIntoPSN; }
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user