summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
Diffstat (limited to 'include/pso')
-rw-r--r--include/pso/TPlySmth.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/pso/TPlySmth.h b/include/pso/TPlySmth.h
new file mode 100644
index 0000000..660955f
--- /dev/null
+++ b/include/pso/TPlySmth.h
@@ -0,0 +1,31 @@
+#ifndef TPLYSMTH_H
+#define TPLYSMTH_H
+
+#include <global_types.h>
+#include <pso/protocol.h>
+#include <pso/TArray.h>
+
+class TPlySmth {
+public:
+ TPlySmth() /*{}*/;
+
+ TPlySmth &operator=(const TPlySmth &src) /*{ return assign(src); }*/;
+
+ void bswap() /*{
+ bswap_32(m_smth.at_as<u32>(0));
+ bswap_32(m_smth1.at_as<u32>(0));
+ }*/;
+
+ TPlySmth &assign(const TPlySmth &src) /*{
+ m_smth = src.m_smth;
+ m_smth1 = src.m_smth1;
+ }*/;
+
+ PRIVATE_MEMBER_ACCESSORS_ARRAY(u8, smth, 4);
+ PRIVATE_MEMBER_ACCESSORS_ARRAY(u8, smth1, 4);
+private:
+ TArray<u8, 4> m_smth;
+ TArray<u8, 4> m_smth1;
+};
+
+#endif