TTElib
Twitchy Thumbs Entertainment library
Classes | Functions | Variables
TTE::Leaderboards Namespace Reference

Classes

class  DownloadScoreCurrentUserInterface
 
class  DownloadScoreCurrentUserWithFriendsWindowInterface
 
class  DownloadScoreCurrentUserWithGlobalWindowInterface
 
class  DownloadScoresFriendsInterface
 
class  DownloadScoresGlobalInterface
 
class  DownloadScoresInterface
 
class  UploadScoreInterface
 

Functions

bool DownloadScoresGlobal (const char *leaderboardNameId, unsigned int rangeStart, unsigned int rangeEnd, DownloadScoresGlobalInterface *interf, bool bDoLoginIfNeeded=true)
 
bool DownloadScoresFriends (const char *leaderboardNameId, unsigned int rangeStart, unsigned int rangeEnd, DownloadScoresFriendsInterface *interf, bool bDoLoginIfNeeded=true)
 
bool DownloadScoreCurrentUser (const char *leaderboardNameId, DownloadScoreCurrentUserInterface *interf, bool bDoLoginIfNeeded=true)
 
bool DownloadScoreCurrentUserWithGlobalWindow (const char *leaderboardNameId, unsigned int numBeforeCurrentUser, unsigned int numAfterCurrentUser, DownloadScoreCurrentUserWithGlobalWindowInterface *interf, bool bDoLoginIfNeeded=true)
 
bool DownloadScoreCurrentUserWithFriendsWindow (const char *leaderboardNameId, unsigned int numBeforeCurrentUser, unsigned int numAfterCurrentUser, DownloadScoreCurrentUserWithFriendsWindowInterface *interf, bool bDoLoginIfNeeded=true)
 
bool UploadScore (const char *leaderboardNameId, int score, const void *details=NULL, size_t detailsSize=0, UploadScoreInterface *interf=NULL, bool bDoLoginIfNeeded=true)
 

Variables

const size_t DETAILS_MAX_SIZE = SCE_NP_SCORE_GAMEINFO_MAXSIZE - 1
 

Function Documentation

bool TTE::Leaderboards::DownloadScoreCurrentUser ( const char *  leaderboardNameId,
DownloadScoreCurrentUserInterface *  interf,
bool  bDoLoginIfNeeded = true 
)
bool TTE::Leaderboards::DownloadScoreCurrentUserWithFriendsWindow ( const char *  leaderboardNameId,
unsigned int  numBeforeCurrentUser,
unsigned int  numAfterCurrentUser,
DownloadScoreCurrentUserWithFriendsWindowInterface *  interf,
bool  bDoLoginIfNeeded = true 
)
bool TTE::Leaderboards::DownloadScoreCurrentUserWithGlobalWindow ( const char *  leaderboardNameId,
unsigned int  numBeforeCurrentUser,
unsigned int  numAfterCurrentUser,
DownloadScoreCurrentUserWithGlobalWindowInterface *  interf,
bool  bDoLoginIfNeeded = true 
)
bool TTE::Leaderboards::DownloadScoresFriends ( const char *  leaderboardNameId,
unsigned int  rangeStart,
unsigned int  rangeEnd,
DownloadScoresFriendsInterface *  interf,
bool  bDoLoginIfNeeded = true 
)
bool TTE::Leaderboards::DownloadScoresGlobal ( const char *  leaderboardNameId,
unsigned int  rangeStart,
unsigned int  rangeEnd,
DownloadScoresGlobalInterface *  interf,
bool  bDoLoginIfNeeded = true 
)
bool TTE::Leaderboards::UploadScore ( const char *  leaderboardNameId,
int  score,
const void *  details = NULL,
size_t  detailsSize = 0,
UploadScoreInterface *  interf = NULL,
bool  bDoLoginIfNeeded = true 
)

Variable Documentation

const size_t TTE::Leaderboards::DETAILS_MAX_SIZE = SCE_NP_SCORE_GAMEINFO_MAXSIZE - 1