Пример #1
0
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);
	}
}
Пример #2
0
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);
	}
}