summaryrefslogtreecommitdiff
path: root/include/pso/TProtocol.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-05-17 15:07:28 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2023-05-17 15:07:28 -0300
commit1f357bb6afb918d4cf333f5aab87d4751fbfa6af (patch)
treec87c0c9bd14d56c781b9892baf360fcd0169648e /include/pso/TProtocol.h
parent233f92cfeab355feebc4c0d6fc3e42c44bd54769 (diff)
TProtocol: Add (and match) the `SndPsoData` related command senders,
along with a few other senders Man, those `SndPsoData` functions took way longer then they should've to figure out, mostly due to typecasting, and general weirdness.
Diffstat (limited to 'include/pso/TProtocol.h')
-rw-r--r--include/pso/TProtocol.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/pso/TProtocol.h b/include/pso/TProtocol.h
index 98976b7..ca80ffe 100644
--- a/include/pso/TProtocol.h
+++ b/include/pso/TProtocol.h
@@ -266,6 +266,20 @@ public:
void send_text_list();
// 0x61
void send_chara_data_v2(TPlyCharData &char_data, TPlyChallenge &challenge, TPlyChoiceSearchConfig &choice_search_config, TBlockedSenders &blocked_senders, TPlyText<512> &auto_reply, char *info_board);
+ // 0x98
+ void send_update_chara_data_v2(TPlyCharData &char_data, TPlyChallenge &challenge, TPlyChoiceSearchConfig &choice_search_config, TBlockedSenders &blocked_senders, TPlyText<512> &auto_reply, char *info_board);
+ // 0x60
+ void send_pso_data(game_command &packet, u32 size);
+ // 0x62
+ void send_pso_data2(u32 flags, game_command &packet, u32 size);
+ // 0x6D
+ void send_pso_data_long2(char flags, long_game_command &packet, size_t size);
+ // 0x84
+ void send_room_change(int idx);
+ // 0x40
+ void send_find_user(TPlyGuildCardTag &tag, u32 gc_num);
+ // 0xC1
+ void send_create_game(char *name, char *password, u8 difficulty, u8 battle_mode, u8 challenge_mode, u8 episode);
};
#endif