diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-05-11 15:37:34 -0300 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-05-11 15:37:34 -0300 |
commit | 233f92cfeab355feebc4c0d6fc3e42c44bd54769 (patch) | |
tree | f0da675eea8d5d3805a7c68f6bf667a147316b80 /include/pso/TPlyGuildCardTag.h | |
parent | 0b0f3da43d281b75cc04a9333332f2abc1eff0c7 (diff) |
TProtocol: Add, and match `send_chara_data_v2()`
Sorry for the long wait, was busy doing other things.
Diffstat (limited to 'include/pso/TPlyGuildCardTag.h')
-rw-r--r-- | include/pso/TPlyGuildCardTag.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 <global_types.h> 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; |