diff options
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; |