summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-03 14:59:27 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-03 14:59:27 -0400
commit9634309c46742c13cbd198b223fe5301dab53632 (patch)
treebff7f3396fb4cc813e581ad9633511af33e91d37 /src/pso
parent0799a0377ad850ef5f140dfa6098302115548712 (diff)
TMenuList, TPlyGuildCardTag: Add constructors
Diffstat (limited to 'src/pso')
-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);