DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ VerifySlotsIconVisibility()

bool SlotsContainer::VerifySlotsIconVisibility ( int idx = -1)
inlineprotected

Returns 'true' if radial icon is VISIBLE and also OPEN (individual icon or any icon, use parameter..)

См. определение в файле SlotsContainer.c строка 266

267 {
268 if (idx != -1)
269 {
270 return m_Icons[idx].IsVisible() && m_Icons[idx].GetRadialIconPanel().IsVisible() && m_Icons[idx].GetRadialIcon().IsVisible();
271 }
272 else
273 {
274 int count = m_Icons.Count();
275 for (int i = 0; i < count; i++)
276 {
277 if (m_Icons[i].IsVisible() && m_Icons[i].GetRadialIconPanel().IsVisible() && m_Icons[i].GetRadialIcon().IsVisible())
278 {
279 return true;
280 }
281 }
282 }
283 return false;
284 }
ref array< ref SlotsIcon > m_Icons
Определения SlotsContainer.c:3
proto native bool IsVisible()

Перекрестные ссылки IsVisible() и m_Icons.