summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-03 20:12:07 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-03 20:12:07 -0400
commitd2a41b8c5db1cdd3ba7381ec55beaf03f90a4deb (patch)
treee2eb6117cc2429bc08fe439e811cd1d40efc0397 /include
parent0fa1aa6d0f0422cb18ce3eedac6d819808a92eab (diff)
TPlyCharData: Add `TPlyCharData`
Diffstat (limited to 'include')
-rw-r--r--include/pso/TPlyCharData.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/pso/TPlyCharData.h b/include/pso/TPlyCharData.h
new file mode 100644
index 0000000..1cdad01
--- /dev/null
+++ b/include/pso/TPlyCharData.h
@@ -0,0 +1,24 @@
+#ifndef TPLYCHARDATA_H
+#define TPLYCHARDATA_H
+
+#include <global_types.h>
+#include <pso/macros.h>
+#include <pso/protocol.h>
+#include <pso/TArray.h>
+#include <pso/TPlyInventory.h>
+#include <pso/TPlyDispData.h>
+
+class TPlyCharData {
+public:
+ TPlyCharData();
+ void bswap();
+ TPlyCharData &assign(const TPlyCharData &src);
+
+ PRIVATE_MEMBER_ACCESSORS(TPlyInventory, inventory);
+ PRIVATE_MEMBER_ACCESSORS(TPlyDispData, disp_data);
+private:
+ TPlyInventory m_inventory;
+ TPlyDispData m_disp_data;
+};
+
+#endif