summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pso/TPlyGuildCardTag.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pso/TPlyGuildCardTag.cpp b/src/pso/TPlyGuildCardTag.cpp
index d1341c5..2626adc 100644
--- a/src/pso/TPlyGuildCardTag.cpp
+++ b/src/pso/TPlyGuildCardTag.cpp
@@ -2,6 +2,15 @@
#include "pso/protocol.h"
#include <global_types.h>
+TPlyGuildCardTag::TPlyGuildCardTag() {}
+
+TPlyGuildCardTag::TPlyGuildCardTag(u16 tag2, u32 guildcard_number) {
+ m_tag.tag0 = 0;
+ m_tag.tag1 = 0;
+ m_tag.tag2 = tag2;
+ m_guildcard_number = guildcard_number;
+}
+
void TPlyGuildCardTag::bswap() {
bswap_32(&m_guildcard_number);
bswap_16(&m_tag.tag2);