Commit graph

8 commits

Author SHA1 Message Date
ChillerDragon c19f0dfdab fix!: rename PacketHeader -> PacketHeader7 2024-06-16 10:40:45 +08:00
ChillerDragon d997c0b990 chore: run ruff format . --fix 2024-02-26 12:59:19 +08:00
ChillerDragon 77aaa1ada7 Fix 0.6 packet header flags parsing 2023-05-21 10:09:34 +02:00
ChillerDragon b9a719ece9 Add pack() method to PacketHeader class
Also removed unused PacketHeader size field
2023-04-09 16:22:35 +02:00
ChillerDragon 0988cff4c9 Refactor to prepare proper msg unpacking
Rename `name` -> `message_name`
Replaced `GameMessage` and `SysMessage` with duck typed `NetMessage`
Split up packet.py in multiple files
2023-03-25 14:22:45 +01:00
ChillerDragon c8f8ca6a21 Break api packet.parse -> packet.parse7
Rename the main `twnet_parser.packet.parse()` method.
Into more explicit `parse6()` and `parse7()`
2023-03-18 10:04:11 +01:00
ChillerDragon 18f5c146b4 Overengineer release script 2023-03-16 16:51:57 +01:00
ChillerDragon 0abf651b87 Add tests 2023-03-16 14:04:48 +01:00