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-24 03:04:52 +02:00
|
|
|
|
2023-04-23 19:26:44 +02:00
|
|
|
class IDZHandleUpdateTeamPoints(IDZHandlerBase):
|
2023-04-24 03:04:52 +02:00
|
|
|
cmd_codes = [0x0081, 0x0081, 0x007B, 0x007B]
|
2023-04-23 19:26:44 +02:00
|
|
|
name = "unlock_profile"
|
|
|
|
|
|
|
|
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
|
|
|
|
2023-04-23 19:26:44 +02:00
|
|
|
def handle(self, data: bytes) -> bytearray:
|
2023-04-24 03:04:52 +02:00
|
|
|
ret = super().handle(data)
|
2023-04-23 19:26:44 +02:00
|
|
|
return ret
|