summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--context.h16
-rw-r--r--include/pso/TPlyClientConfig.h24
2 files changed, 40 insertions, 0 deletions
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<u8, 14> 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 <global_types.h>
+#include <pso/macros.h>
+#include <pso/protocol.h>
+#include <pso/TArray.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<u8, 14> m_mbr_0xe;
+};
+
+#endif