1
0
mirror of synced 2024-11-24 22:30:10 +01:00
artemis/titles/idz/handlers/update_user_log.py

19 lines
520 B
Python
Raw Normal View History

2023-04-23 19:26:44 +02:00
import struct
from .base import IDZHandlerBase
from core.config import CoreConfig
from ..config import IDZConfig
from ..const import IDZConstants
2023-04-23 19:26:44 +02:00
class IDZHandleUpdateUserLog(IDZHandlerBase):
cmd_codes = [0x00BD, 0x00BD, 0x00AB, 0x00B3]
2023-04-23 19:26:44 +02:00
name = "update_user_log"
def __init__(self, core_cfg: CoreConfig, game_cfg: IDZConfig, version: int) -> None:
super().__init__(core_cfg, game_cfg, version)
2023-04-23 19:26:44 +02:00
def handle(self, data: bytes) -> bytearray:
ret = super().handle(data)
2023-04-23 19:26:44 +02:00
return ret