mirror of https://github.com/hykilpikonna/AquaDX
[F] AimeDB Felica Lookup v2 rename package parameter (#94)
* [F] AimeDB Felica Lookup v2 rename package parameter * [F] AimeDB Felica Lookup v2 rename package parameterpull/95/head
parent
2482881117
commit
8434842c65
|
@ -114,8 +114,8 @@ class AimeDB(
|
|||
*/
|
||||
fun doFelicaLookupV2(msg: ByteBuf): ByteBuf {
|
||||
val idm = msg.slice(0x30, 0x38 - 0x30).getLong(0)
|
||||
val pmm = msg.slice(0x38, 0x40 - 0x38).getLong(0)
|
||||
logger.info("> Felica Lookup v2 (idm $idm, pmm $pmm)")
|
||||
val dfc = msg.slice(0x38, 0x40 - 0x38).getLong(0)
|
||||
logger.info("> Felica Lookup v2 (idm $idm, dfc $dfc)")
|
||||
|
||||
// Get the decimal represent of the hex value, same from minime
|
||||
val accessCode = idm.toString().replace("-", "").padStart(20, '0')
|
||||
|
|
Loading…
Reference in New Issue