summaryrefslogtreecommitdiffstats
path: root/src/control/PedStats.h
blob: 12ebdbc2b364a550d667db151328b8a652e7ab5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

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;
};
static_assert(sizeof(PedStat) == 0x34, "PedStat: error");

class CPedStats
{
public:
	static int32 GetPedStatType(char *type);
};