void MoverGroup::triggerAlarm (long alarmCode, unsigned long triggerId) { for (long i = 0; i < numMovers; i++) { MechWarriorPtr pilot = getMover(i)->getPilot(); if (pilot) pilot->triggerAlarm(alarmCode, triggerId); } }
void MoverGroup::triggerAlarm(int32_t alarmCode, uint32_t triggerId) { for (size_t i = 0; i < numMovers; i++) { MechWarriorPtr pilot = getMover(i)->getPilot(); if (pilot) pilot->triggerAlarm(alarmCode, triggerId); } }