forked from Hay1tsme/artemis
sao: hotfix
This commit is contained in:
parent
b0ebcaf0cf
commit
c425ca1ea8
@ -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("!HIIIs16", data)
|
collection = struct.unpack_from("!HIII16s", 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