См. определение в файле ActionSwitchLights.c строка 64
Перекрестные ссылки ActionData, Class::CastTo() и HumanCommandVehicle::GetTransport().