summaryrefslogtreecommitdiff
path: root/include/pso/TPlyClientConfig.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-04 17:49:03 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-04 17:49:03 -0400
commitcb40b0808a639fa0de330cb2b88574a0e8b4d2d5 (patch)
tree874b64b99c55f244d97d627f61869c084eea09ed /include/pso/TPlyClientConfig.h
parent1892a429d2b635b369684676f0528a3320f95cc2 (diff)
TProtocol: Match ctor
The reason for the large change is because I was trying to figure out why `TTcpSocket`'s ctor was so disjointed from the rest of the functions. Turns out, it's inlined, and inlining was turned off. Most likely, the whole codebase has inlining turned off. oof, press f `TArray`.
Diffstat (limited to 'include/pso/TPlyClientConfig.h')
-rw-r--r--include/pso/TPlyClientConfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pso/TPlyClientConfig.h b/include/pso/TPlyClientConfig.h
index d5796ad..6551fc2 100644
--- a/include/pso/TPlyClientConfig.h
+++ b/include/pso/TPlyClientConfig.h
@@ -8,13 +8,13 @@
class TPlyClientConfig {
public:
- PRIVATE_MEMBER_ACCESSORS(u64, magic);
+ PRIVATE_MEMBER_ACCESSORS_ARRAY(u32, magic, 2);
PRIVATE_MEMBER_ACCESSORS(u32, flags);
PRIVATE_MEMBER_ACCESSORS(u32, proxy_dst_addr);
PRIVATE_MEMBER_ACCESSORS(u16, proxy_dst_port);
PRIVATE_MEMBER_ACCESSORS_ARRAY(u8, mbr_0xe, 14);
private:
- u64 m_magic;
+ TArray<u32, 2> m_magic;
u32 m_flags;
u32 m_proxy_dst_addr;
u16 m_proxy_dst_port;