From b80218a8c1fafb174e3f05c0b51c61005531bf05 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 8 Mar 2023 16:48:05 -0400 Subject: 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. --- include/pso/TPlyGuildCardTag.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/pso/TPlyGuildCardTag.h') 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; -- cgit v1.2.3-13-gbd6f