2019-06-16 21:39:48 +03:00
|
|
|
#pragma once
|
|
|
|
|
2019-06-16 23:12:14 +02:00
|
|
|
struct PedStat
|
|
|
|
{
|
2019-06-16 21:39:48 +03:00
|
|
|
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;
|
|
|
|
};
|
2019-06-16 23:12:14 +02:00
|
|
|
static_assert(sizeof(PedStat) == 0x34, "PedStat: error");
|
2019-06-17 10:30:02 +02:00
|
|
|
|
|
|
|
class CPedStats
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static int32 GetPedStatType(char *type);
|
|
|
|
};
|