Commit Graph

12 Commits

Author SHA1 Message Date
CPunch 7d83732e44 genstructs.py: refactor; use match/case statement
- lol, i had no idea python *FINALLY* added a switch/case equivalent.
sadly though, it looks like the generated python bytecode is
nearly identical in performance.
there's no lookup table magic for match/case, and is almost
identical to if/else if/else. it amounts to syntax sugar 😭
2023-11-22 16:02:00 -06:00
CPunch 3559682d18 genstructs.py: generate PacketIDToString()
this will be nice to have for debugging
2023-09-18 20:46:37 -05:00
CPunch 1fff485f93 refactoring; moved client to protocol package 2023-03-07 17:04:57 -06:00
CPunch 4c7696dc92 genstructs.py now also scrapes constant definitions 2023-03-07 16:28:34 -06:00
CPunch 07dae43072 no more manual shuffling of structs!! script works off of raw ilspycmd output 2023-03-07 15:53:12 -06:00
CPunch 20af006566 misc. refactoring 2023-03-07 15:31:34 -06:00
CPunch 3f4ce93f9f genstructs.py: include go source header 2023-03-07 15:08:48 -06:00
CPunch 468e426a82 structs: make sure *all* fields are exported 2023-03-07 14:23:53 -06:00
CPunch bdd7b5ba86 genstructs.py: minor refactoring, clean up emitted tags 2023-03-07 13:30:43 -06:00
CPunch 8f3f31d354 server: implement REP_LOGIN key exchange 2023-03-07 01:20:36 -06:00
CPunch 57e681742e protocol: add structures dumped from beta-20100104 2023-03-06 23:37:01 -06:00
CPunch 97a04c8ea8 tools: made a script to transpile the c# decompiled structs 2023-03-06 23:31:05 -06:00