idz: Add requests, fix load_config_b

This commit is contained in:
Kevin Trocolli committed 2023-04-23 13:26:44 -04:00
1 parent d8c3ed5c01
commit 26c4bcb466
7 files changed
+102 -1

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import struct
from .base import IDZHandlerBase
from core.config import CoreConfig
from ..config import IDZConfig
from ..const import IDZConstants
class IDZHandleUpdateTeamPoints(IDZHandlerBase):
cmd_codes = [0x0081, 0x0081, 0x007b, 0x007b]
name = "unlock_profile"
def __init__(self, core_cfg: CoreConfig, game_cfg: IDZConfig, version: int) -> None:
super().__init__(core_cfg, game_cfg, version)
def handle(self, data: bytes) -> bytearray:
ret = super().handle(data)
return ret