From fedff908d0aeab43459c1f6d4da8717e97bb63bf Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Fri, 3 Mar 2023 20:13:23 -0400 Subject: TPlyClientConfig: Add `TPlyClientConfig` --- context.h | 16 ++++++++++++++++ include/pso/TPlyClientConfig.h | 24 ++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 include/pso/TPlyClientConfig.h diff --git a/context.h b/context.h index 82386ac..230c1e9 100644 --- a/context.h +++ b/context.h @@ -734,6 +734,22 @@ private: TPlyDispData m_disp_data; }; +// pso/TPlyClientConfig.h +class TPlyClientConfig { +public: + PRIVATE_MEMBER_ACCESSORS(u64, magic); + 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; + u32 m_flags; + u32 m_proxy_dst_addr; + u16 m_proxy_dst_port; + TArray m_mbr_0xe; +}; + // pso/TPlyDispData.h class TPlyDispConfigSmthTag { public: diff --git a/include/pso/TPlyClientConfig.h b/include/pso/TPlyClientConfig.h new file mode 100644 index 0000000..d5796ad --- /dev/null +++ b/include/pso/TPlyClientConfig.h @@ -0,0 +1,24 @@ +#ifndef TPLYCLIENTCONFIG_H +#define TPLYCLIENTCONFIG_H + +#include +#include +#include +#include + +class TPlyClientConfig { +public: + PRIVATE_MEMBER_ACCESSORS(u64, magic); + 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; + u32 m_flags; + u32 m_proxy_dst_addr; + u16 m_proxy_dst_port; + TArray m_mbr_0xe; +}; + +#endif -- cgit v1.2.3-13-gbd6f