From 233f92cfeab355feebc4c0d6fc3e42c44bd54769 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Thu, 11 May 2023 15:37:34 -0300 Subject: TProtocol: Add, and match `send_chara_data_v2()` Sorry for the long wait, was busy doing other things. --- include/pso/TPlyGuildCardTag.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/pso/TPlyGuildCardTag.h') diff --git a/include/pso/TPlyGuildCardTag.h b/include/pso/TPlyGuildCardTag.h index 7bcdb71..f17b566 100644 --- a/include/pso/TPlyGuildCardTag.h +++ b/include/pso/TPlyGuildCardTag.h @@ -6,6 +6,17 @@ #include struct gc_tag { + gc_tag() { init(); }; + ~gc_tag() {}; + void init() { + tag0 = 0; + tag1 = 0; + tag2 = 0; + }; + void bswap() { + bswap_16(&tag2); + }; + u8 tag0; u8 tag1; u16 tag2; -- cgit v1.2.3-13-gbd6f