From 41e746a70ebf0a86f274a707a151e93bab6fea0c Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Sat, 4 Jan 2025 17:54:40 -0500 Subject: [PATCH] [-] Remove user-box-all-items api --- .../java/icu/samnyan/aqua/net/games/chu3/Chusan.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/main/java/icu/samnyan/aqua/net/games/chu3/Chusan.kt b/src/main/java/icu/samnyan/aqua/net/games/chu3/Chusan.kt index 6c17864e..13102502 100644 --- a/src/main/java/icu/samnyan/aqua/net/games/chu3/Chusan.kt +++ b/src/main/java/icu/samnyan/aqua/net/games/chu3/Chusan.kt @@ -62,15 +62,4 @@ class Chusan( val u = userDataRepo.findByCard(it.ghostCard) ?: (404 - "Game data not found") mapOf("user" to u, "items" to rp.userItem.findAllByUser(u)) } - - @API("user-box-all-items") - fun userBoxAllItems() = allItems - val allItems by lazy { mapOf( - "nameplate" to rp.gameNamePlate.findAll(), - "frame" to rp.gameFrame.findAll(), - "trophy" to rp.gameTrophy.findAll(), - "mapicon" to rp.gameMapIcon.findAll(), - "sysvoice" to rp.gameSystemVoice.findAll(), - "avatar" to rp.gameAvatarAcc.findAll(), - ) } }