mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-10 02:27:26 +08:00
[+] SDGS support
This commit is contained in:
@@ -170,6 +170,7 @@ class AllNet(
|
|||||||
return "http://$addr:$port/$base/" + when (gameId) {
|
return "http://$addr:$port/$base/" + when (gameId) {
|
||||||
"SDBT" -> "chu2/$ver/$serial/"
|
"SDBT" -> "chu2/$ver/$serial/"
|
||||||
"SDHD" -> "chu3/$ver/"
|
"SDHD" -> "chu3/$ver/"
|
||||||
|
"SDGS" -> "chu3/$ver/"
|
||||||
"SBZV" -> "diva/"
|
"SBZV" -> "diva/"
|
||||||
"SDDT" -> "ongeki/"
|
"SDDT" -> "ongeki/"
|
||||||
"SDEY" -> "mai/"
|
"SDEY" -> "mai/"
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ class ChusanServletController(
|
|||||||
) {
|
) {
|
||||||
val logger = LoggerFactory.getLogger(ChusanServletController::class.java)
|
val logger = LoggerFactory.getLogger(ChusanServletController::class.java)
|
||||||
|
|
||||||
|
val getUserCtoCPlay = BaseHandler { """{"userId":"${it["userId"]}","orderBy":"0","count":"0","userCtoCPlayList":[]}""" }
|
||||||
val cmUpsertUserPrint = BaseHandler { """{"returnCode":1,"orderId":"0","serialId":"FAKECARDIMAG12345678","apiName":"CMUpsertUserPrintApi"}""" }
|
val cmUpsertUserPrint = BaseHandler { """{"returnCode":1,"orderId":"0","serialId":"FAKECARDIMAG12345678","apiName":"CMUpsertUserPrintApi"}""" }
|
||||||
val cmUpsertUserPrintlog = BaseHandler { """{"returnCode":1,"orderId":"0","serialId":"FAKECARDIMAG12345678","apiName":"CMUpsertUserPrintlogApi"}""" }
|
val cmUpsertUserPrintlog = BaseHandler { """{"returnCode":1,"orderId":"0","serialId":"FAKECARDIMAG12345678","apiName":"CMUpsertUserPrintlogApi"}""" }
|
||||||
|
|
||||||
@@ -84,7 +85,10 @@ class ChusanServletController(
|
|||||||
"GetGameGachaCardByIdApi", "GetUserCardPrintErrorApi", "CMGetUserCharacterApi", "CMGetUserDataApi",
|
"GetGameGachaCardByIdApi", "GetUserCardPrintErrorApi", "CMGetUserCharacterApi", "CMGetUserDataApi",
|
||||||
"GetUserGachaApi", "CMGetUserItemApi", "CMGetUserPreviewApi", "GetUserPrintedCardApi", "PrinterLoginApi",
|
"GetUserGachaApi", "CMGetUserItemApi", "CMGetUserPreviewApi", "GetUserPrintedCardApi", "PrinterLoginApi",
|
||||||
"PrinterLogoutApi", "RollGachaApi", "CMUpsertUserGachaApi", "CMUpsertUserPrintApi", "CMUpsertUserPrintCancelApi",
|
"PrinterLogoutApi", "RollGachaApi", "CMUpsertUserGachaApi", "CMUpsertUserPrintApi", "CMUpsertUserPrintCancelApi",
|
||||||
"CMUpsertUserPrintlogApi", "CMUpsertUserPrintSubtractApi")
|
"CMUpsertUserPrintlogApi", "CMUpsertUserPrintSubtractApi",
|
||||||
|
|
||||||
|
// SDGS Exclusive
|
||||||
|
"GetUserCtoCPlayApi")
|
||||||
|
|
||||||
val noopEndpoint = endpointList.popAll("UpsertClientBookkeepingApi", "UpsertClientDevelopApi", "UpsertClientErrorApi",
|
val noopEndpoint = endpointList.popAll("UpsertClientBookkeepingApi", "UpsertClientDevelopApi", "UpsertClientErrorApi",
|
||||||
"UpsertClientSettingApi", "UpsertClientTestmodeApi", "CreateTokenApi", "RemoveTokenApi", "UpsertClientUploadApi",
|
"UpsertClientSettingApi", "UpsertClientTestmodeApi", "CreateTokenApi", "RemoveTokenApi", "UpsertClientUploadApi",
|
||||||
|
|||||||
Reference in New Issue
Block a user