summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
Diffstat (limited to 'include/pso')
-rw-r--r--include/pso/TPlyClientConfig.h24
1 files changed, 24 insertions, 0 deletions
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