summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-03 20:13:23 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-03 20:13:23 -0400
commitfedff908d0aeab43459c1f6d4da8717e97bb63bf (patch)
tree042fad500a4b92d0feb5ad5e84a3cbaee49df790 /include
parentd2a41b8c5db1cdd3ba7381ec55beaf03f90a4deb (diff)
TPlyClientConfig: Add `TPlyClientConfig`
Diffstat (limited to 'include')
-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