mirror of https://github.com/PCSX2/pcsx2.git
Achievements: Save submitted time from API in leaderboards
This commit is contained in:
parent
2ae3c6bf29
commit
74ffdca614
|
@ -1301,6 +1301,7 @@ void Achievements::GetLbInfoCallback(s32 status_code, const std::string& content
|
|||
lbe.user = entry.username;
|
||||
lbe.rank = entry.rank;
|
||||
lbe.formatted_score = score;
|
||||
lbe.submitted = entry.submitted;
|
||||
lbe.is_self = lbe.user == s_username;
|
||||
|
||||
s_lboard_entries->push_back(std::move(lbe));
|
||||
|
|
|
@ -65,6 +65,7 @@ namespace Achievements
|
|||
{
|
||||
std::string user;
|
||||
std::string formatted_score;
|
||||
time_t submitted;
|
||||
u32 rank;
|
||||
bool is_self;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue