mirror of
https://github.com/MewoLab/AquaDX.git
synced 2025-10-26 04:22:38 +00:00
[+] Know game version from user-name-plate query
This commit is contained in:
parent
2ef4b7241d
commit
81743b22e9
@ -85,6 +85,8 @@ class Maimai2(
|
||||
suspend fun userNamePlate(@RP username: Str) = us.cardByName(username) { card ->
|
||||
val userData = repos.userData.findByCardExtId(card.extId).orElse(null) ?: (404 - "User not found")
|
||||
mapOf(
|
||||
"lastGameId" to userData.lastGameId,
|
||||
"lastRomVersion" to userData.lastRomVersion,
|
||||
"iconId" to userData.iconId,
|
||||
"plateId" to userData.plateId,
|
||||
"titleId" to userData.titleId,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user