2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
#include "Common\Leaderboards\SonyLeaderboardManager.h"
|
2026-03-01 12:16:08 +08:00
|
|
|
#include "Common\Leaderboards\LeaderboardManager.h"
|
2026-03-03 03:04:10 +08:00
|
|
|
|
2026-03-01 12:16:08 +08:00
|
|
|
#include "Conf.h"
|
|
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
#include <np.h>
|
2026-03-01 12:16:08 +08:00
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
class PSVitaLeaderboardManager : public SonyLeaderboardManager
|
|
|
|
|
{
|
2026-03-01 12:16:08 +08:00
|
|
|
public:
|
|
|
|
|
PSVitaLeaderboardManager();
|
|
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
protected:
|
2026-03-01 12:16:08 +08:00
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual HRESULT initialiseScoreUtility();
|
2026-03-01 12:16:08 +08:00
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual bool scoreUtilityAlreadyInitialised(HRESULT hr);
|
2026-03-01 12:16:08 +08:00
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual HRESULT createTitleContext(const SceNpId &npId);
|
2026-03-01 12:16:08 +08:00
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual HRESULT destroyTitleContext(int titleContext);
|
2026-03-01 12:16:08 +08:00
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual HRESULT createTransactionContext(int titleContext);
|
2026-03-01 12:16:08 +08:00
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual HRESULT abortTransactionContext(int transactionContext);
|
2026-03-01 12:16:08 +08:00
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual HRESULT destroyTransactionContext(int transactionContext);
|
2026-03-01 12:16:08 +08:00
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual HRESULT getFriendsList(sce::Toolkit::NP::Utilities::Future<sce::Toolkit::NP::FriendsList> &friendsList);
|
2026-03-01 12:16:08 +08:00
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual char * getComment(SceNpScoreComment *comment);
|
2026-03-01 12:16:08 +08:00
|
|
|
};
|