From d7336127af97ed86778796fb3a9cd203ce8b9306 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 12 Mar 2023 14:34:47 -0300 Subject: TProtocol: Add, and match more command handlers, along with some other functions needed to get them working --- include/pso/TProtocol.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/pso/TProtocol.h') diff --git a/include/pso/TProtocol.h b/include/pso/TProtocol.h index bcc7386..bc0f27f 100644 --- a/include/pso/TProtocol.h +++ b/include/pso/TProtocol.h @@ -19,6 +19,8 @@ #include EXTERN_OBJECT_NAME(TProtocol); +extern u32 new_ip_addr; +extern u16 new_port; extern TPlyMeetUserExtension meet_user_settings; extern u32 game_variations[16][2]; extern void copy_packet(struct packet *pkt); @@ -154,6 +156,7 @@ public: void some_stub(); int handle_command(struct packet *pkt); void parse_packet(); + void seq_jump(u8 *some_struct, TPlyMeetUserExtension &extension); // Command handlers. // 0x01 @@ -196,6 +199,15 @@ public: void recv_upload(packet &pkt); // 0x11 void recv_message(packet &pkt); + // 0x19 + void recv_port(packet &pkt); + // 0x1B + void recv_battle_data(packet &pkt); + // 0x1C + void recv_system_file(packet &pkt); + + // Send command handlers. + int send_login3(); }; #endif -- cgit v1.2.3-13-gbd6f