summaryrefslogtreecommitdiff
path: root/include/pso/TPlyGuildCardTag.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-08 16:48:05 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-09 17:57:54 -0400
commitb80218a8c1fafb174e3f05c0b51c61005531bf05 (patch)
tree7c6ce21667497eee1006920ed7547ee032af0377 /include/pso/TPlyGuildCardTag.h
parentc194e33e98492bbd0384f2a6b9a533bcfb57701d (diff)
TProtocol: Start work on `handle_command()`, and the command handlers
Hopefully, we can make some good progress. Also, oof, I didn't realize that what I thought were `operator=()`, or a manual `assign()` function, was actually a copy ctor.
Diffstat (limited to 'include/pso/TPlyGuildCardTag.h')
-rw-r--r--include/pso/TPlyGuildCardTag.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/pso/TPlyGuildCardTag.h b/include/pso/TPlyGuildCardTag.h
index de96902..948426a 100644
--- a/include/pso/TPlyGuildCardTag.h
+++ b/include/pso/TPlyGuildCardTag.h
@@ -14,6 +14,12 @@ struct gc_tag {
class TPlyGuildCardTag {
public:
TPlyGuildCardTag() {};
+ TPlyGuildCardTag(TPlyGuildCardTag &src) {
+ m_tag.tag0 = src.m_tag.tag0;
+ m_tag.tag1 = src.m_tag.tag1;
+ m_tag.tag2 = src.m_tag.tag2;
+ m_guildcard_number = src.m_guildcard_number;
+ };
TPlyGuildCardTag(u16 tag2, u32 guildcard_number) {
m_tag.tag0 = 0;
m_tag.tag1 = 0;