summaryrefslogtreecommitdiffstats
path: root/src/PedStat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/PedStat.h')
-rw-r--r--src/PedStat.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/PedStat.h b/src/PedStat.h
new file mode 100644
index 00000000..23c75a2b
--- /dev/null
+++ b/src/PedStat.h
@@ -0,0 +1,20 @@
+#pragma once
+#include "common.h"
+
+struct PedStat {
+ uint32 m_id;
+ char m_name[24];
+ int32 m_fleeDistance;
+ int32 m_headingChangeRate;
+ int8 m_fear;
+ int8 m_temper;
+ int8 m_lawfulness;
+ int8 m_sexiness;
+ int32 m_attackStrength;
+ int32 m_defendWeakness;
+ int16 m_flags;
+ uint8 unknown1;
+ uint8 unknown2;
+};
+
+static_assert(sizeof(PedStat) == 0x34, "PedStat: error"); \ No newline at end of file