2023-04-23 10:38:28 +02:00
|
|
|
import struct
|
|
|
|
|
|
|
|
from .base import IDZHandlerBase
|
|
|
|
from core.config import CoreConfig
|
|
|
|
from ..config import IDZConfig
|
|
|
|
|
2023-04-24 03:04:52 +02:00
|
|
|
|
2023-04-23 10:38:28 +02:00
|
|
|
class IDZHandlerUpdateProvisionalStoreRank(IDZHandlerBase):
|
|
|
|
cmd_codes = [0x0082, 0x0082, 0x007C, 0x007C]
|
|
|
|
rsp_codes = [0x0083, 0x0083, 0x007D, 0x007D]
|
|
|
|
name = "update_provisional_store_ranking"
|
|
|
|
|
|
|
|
def __init__(self, core_cfg: CoreConfig, game_cfg: IDZConfig, version: int) -> None:
|
|
|
|
super().__init__(core_cfg, game_cfg, version)
|
2023-04-24 03:04:52 +02:00
|
|
|
self.size = 0x02B0
|
|
|
|
|
2023-04-23 10:38:28 +02:00
|
|
|
def handle(self, data: bytes) -> bytearray:
|
2023-04-24 03:04:52 +02:00
|
|
|
return super().handle(data)
|
|
|
|
|
2023-04-23 10:38:28 +02:00
|
|
|
def handle_common(cls, aime_id: int, ret: bytearray) -> bytearray:
|
|
|
|
pass
|