Mercurial > minori
comparison src/core/anime_db.cc @ 197:c4ca035c565d
*: misc. patches
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 08 Dec 2023 11:19:54 -0500 |
parents | 9613d72b097e |
children | bc1ae1810855 |
comparison
equal
deleted
inserted
replaced
196:f0ff06a45c42 | 197:c4ca035c565d |
---|---|
250 | 250 |
251 anime.SetUserStatus(Translate::ToListStatus(JSON::GetString<std::string>(json, "/status"_json_pointer, ""))); | 251 anime.SetUserStatus(Translate::ToListStatus(JSON::GetString<std::string>(json, "/status"_json_pointer, ""))); |
252 anime.SetUserProgress(JSON::GetNumber(json, "/progress"_json_pointer, 0)); | 252 anime.SetUserProgress(JSON::GetNumber(json, "/progress"_json_pointer, 0)); |
253 anime.SetUserScore(JSON::GetNumber(json, "/score"_json_pointer, 0)); | 253 anime.SetUserScore(JSON::GetNumber(json, "/score"_json_pointer, 0)); |
254 anime.SetUserDateStarted(Date(JSON::GetValue(json, "/started"_json_pointer))); | 254 anime.SetUserDateStarted(Date(JSON::GetValue(json, "/started"_json_pointer))); |
255 anime.SetUserDateStarted(Date(JSON::GetValue(json, "/completed"_json_pointer))); | 255 anime.SetUserDateCompleted(Date(JSON::GetValue(json, "/completed"_json_pointer))); |
256 anime.SetUserIsPrivate(JSON::GetBoolean(json, "/private"_json_pointer, false)); | 256 anime.SetUserIsPrivate(JSON::GetBoolean(json, "/private"_json_pointer, false)); |
257 anime.SetUserRewatchedTimes(JSON::GetNumber(json, "/rewatched_times"_json_pointer, 0)); | 257 anime.SetUserRewatchedTimes(JSON::GetNumber(json, "/rewatched_times"_json_pointer, 0)); |
258 anime.SetUserIsRewatching(JSON::GetBoolean(json, "/rewatching"_json_pointer, false)); | 258 anime.SetUserIsRewatching(JSON::GetBoolean(json, "/rewatching"_json_pointer, false)); |
259 anime.SetUserTimeUpdated(JSON::GetNumber(json, "/updated"_json_pointer, 0)); | 259 anime.SetUserTimeUpdated(JSON::GetNumber(json, "/updated"_json_pointer, 0)); |
260 anime.SetUserNotes(JSON::GetString<std::string>(json, "/notes"_json_pointer, "")); | 260 anime.SetUserNotes(JSON::GetString<std::string>(json, "/notes"_json_pointer, "")); |