mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-06 13:59:59 +00:00
script 1000-1154
This commit is contained in:
parent
a36da99798
commit
1337a9b603
24 changed files with 1225 additions and 35 deletions
|
@ -85,6 +85,9 @@ public:
|
|||
static uint32 GetFlag(int type) { return ms_apPedType[type]->m_flag; }
|
||||
static uint32 GetAvoid(int type) { return ms_apPedType[type]->m_avoid; }
|
||||
static uint32 GetThreats(int type) { return ms_apPedType[type]->m_threats; }
|
||||
static void AddThreat(int type, int threat) { ms_apPedType[type]->m_threats |= threat; }
|
||||
static void RemoveThreat(int type, int threat) { ms_apPedType[type]->m_threats &= ~threat; }
|
||||
static bool IsThreat(int type, int threat) { return ms_apPedType[type]->m_threats & threat; }
|
||||
};
|
||||
|
||||
static_assert(sizeof(CPedType) == 0x20, "CPedType: error");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue