diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-02 15:25:43 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-02 15:25:43 -0400 |
commit | 7add9178473b74f5a922997d93bbca7d09e6a5c5 (patch) | |
tree | a9d576676f584f236fce5cb28be7434c6ce33dcf /src/pso | |
parent | edffe62dde3967f4065f5baf45d3115d574fe3cf (diff) |
TPlyGuildCardTag: Make variable members private, and add accessors for
them
Diffstat (limited to 'src/pso')
-rw-r--r-- | src/pso/TPlyGuildCardTag.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pso/TPlyGuildCardTag.cpp b/src/pso/TPlyGuildCardTag.cpp index e874485..61bed28 100644 --- a/src/pso/TPlyGuildCardTag.cpp +++ b/src/pso/TPlyGuildCardTag.cpp @@ -3,14 +3,14 @@ #include <global_types.h> void TPlyGuildCardTag::bswap() { - bswap_32(&guildcard_number); - bswap_16(&tag.tag2); + bswap_32(&m_guildcard_number); + bswap_16(&m_tag.tag2); } TPlyGuildCardTag &TPlyGuildCardTag::operator=(const TPlyGuildCardTag &src) { - tag.tag0 = src.tag.tag0; - tag.tag1 = src.tag.tag1; - tag.tag2 = src.tag.tag2; - guildcard_number = src.guildcard_number; + m_tag.tag0 = src.tag().tag0; + m_tag.tag1 = src.tag().tag1; + m_tag.tag2 = src.tag().tag2; + m_guildcard_number = src.guildcard_number(); return *this; } |