mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-10 17:37:27 +08:00
[F] Fix felica lookup v2
This commit is contained in:
@@ -113,8 +113,8 @@ class AimeDB(
|
|||||||
* Felica Lookup v2: Look up the card in the card repository, return the External ID
|
* Felica Lookup v2: Look up the card in the card repository, return the External ID
|
||||||
*/
|
*/
|
||||||
fun doFelicaLookupV2(msg: ByteBuf): ByteBuf {
|
fun doFelicaLookupV2(msg: ByteBuf): ByteBuf {
|
||||||
val idm = msg.slice(0x20, 0x28 - 0x20).getLong(0)
|
val idm = msg.slice(0x30, 0x38 - 0x30).getLong(0)
|
||||||
val pmm = msg.slice(0x28, 0x30 - 0x28).getLong(0)
|
val pmm = msg.slice(0x38, 0x40 - 0x38).getLong(0)
|
||||||
logger.info("> Felica Lookup v2 (idm $idm, pmm $pmm)")
|
logger.info("> Felica Lookup v2 (idm $idm, pmm $pmm)")
|
||||||
|
|
||||||
// Get the decimal represent of the hex value, same from minime
|
// Get the decimal represent of the hex value, same from minime
|
||||||
|
|||||||
Reference in New Issue
Block a user