forked from Hay1tsme/artemis
sao: fix header
This commit is contained in:
parent
c425ca1ea8
commit
95234a421c
@ -7,7 +7,7 @@ from csv import *
|
|||||||
|
|
||||||
class SaoRequestHeader:
|
class SaoRequestHeader:
|
||||||
def __init__(self, data: bytes) -> None:
|
def __init__(self, data: bytes) -> None:
|
||||||
collection = struct.unpack_from("!HIII16s", data)
|
collection = struct.unpack_from("!H6xIII16s", data)
|
||||||
self.cmd: int = collection[0]
|
self.cmd: int = collection[0]
|
||||||
self.vendor_id: int = collection[1]
|
self.vendor_id: int = collection[1]
|
||||||
self.game_id: int = collection[2]
|
self.game_id: int = collection[2]
|
||||||
|
Loading…
Reference in New Issue
Block a user