mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-15 20:27:29 +08:00
reformat with black in preperation for merge to master
This commit is contained in:
@@ -5,16 +5,17 @@ from core.config import CoreConfig
|
||||
from ..config import IDZConfig
|
||||
from ..const import IDZConstants
|
||||
|
||||
|
||||
class IDZHandlerUnlockProfile(IDZHandlerBase):
|
||||
cmd_codes = [0x006f, 0x006f, 0x006b, 0x006b]
|
||||
rsp_codes = [0x0070, 0x0070, 0x006c, 0x006c]
|
||||
cmd_codes = [0x006F, 0x006F, 0x006B, 0x006B]
|
||||
rsp_codes = [0x0070, 0x0070, 0x006C, 0x006C]
|
||||
name = "unlock_profile"
|
||||
|
||||
def __init__(self, core_cfg: CoreConfig, game_cfg: IDZConfig, version: int) -> None:
|
||||
super().__init__(core_cfg, game_cfg, version)
|
||||
self.size = 0x0010
|
||||
|
||||
|
||||
def handle(self, data: bytes) -> bytearray:
|
||||
ret = super().handle(data)
|
||||
ret = super().handle(data)
|
||||
struct.pack_into("<H", ret, 0x4, 1)
|
||||
return ret
|
||||
|
||||
Reference in New Issue
Block a user