public bool IsThreat(PedTypeId type, PedTypeFlags threat) { return(m_pedTypes[(int)type].Threats.HasFlag(threat)); }
public void AddThreat(PedTypeId type, PedTypeFlags threat) { m_pedTypes[(int)type].Threats |= threat; }
public void RemoveThreat(PedTypeId type, PedTypeFlags threat) { m_pedTypes[(int)type].Threats &= ~threat; }
public void SetThreats(PedTypeId type, PedTypeFlags threat) { m_pedTypes[(int)type].Threats = threat; }