mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-04 22:57:32 +08:00
sao: fix header
This commit is contained in:
@@ -7,7 +7,7 @@ from csv import *
|
||||
|
||||
class SaoRequestHeader:
|
||||
def __init__(self, data: bytes) -> None:
|
||||
collection = struct.unpack_from("!HIII16s", data)
|
||||
collection = struct.unpack_from("!H6xIII16s", data)
|
||||
self.cmd: int = collection[0]
|
||||
self.vendor_id: int = collection[1]
|
||||
self.game_id: int = collection[2]
|
||||
|
||||
Reference in New Issue
Block a user