[F] Fix toString calling lazy implicitly

pull/131/head
Azalea 2025-03-17 14:04:44 -04:00
parent 7320f0ca7f
commit 8d3613201e
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,9 @@
package icu.samnyan.aqua.net.transfer
import ext.*
import ext.bodyString
import ext.header
import ext.post
import ext.request
import icu.samnyan.aqua.sega.aimedb.AimeDbClient
import icu.samnyan.aqua.sega.util.AllNetBillingDecoder
@ -13,7 +16,7 @@ class AllNetClient(val dns: String, val keychip: String, val game: String, val v
if (!keychipPattern.matches(keychip)) throw Exception("Invalid keychip")
}
override fun toString() = toJson()
override fun toString() = "AllNetClient($dns, $keychip, $game, $version, $card)"
val keychipShort by lazy {
// A123-45678901337 -> A1234567890