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

◆ CanDisplayAnyCategory()

override bool AttachmentCategoriesContainer::CanDisplayAnyCategory ( )
inlineprotected

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

197 {
198 int count = m_Body.Count();
199 AttachmentCategoriesRow row;
200 for (int i = m_SlotsCount; i < count; i++)
201 {
202 if (Class.CastTo(row,m_Body[i]) && m_Entity.CanDisplayAttachmentCategory( row.GetCategoryIdentifier() ))
203 {
204 return true;
205 }
206 }
207 return super.CanDisplayAnyCategory();
208 }
EntityAI m_Entity
Определения ActionDebug.c:11
string GetCategoryIdentifier()
Определения AttachmentCategoriesRow.c:23

Перекрестные ссылки Class::CastTo(), AttachmentCategoriesRow::GetCategoryIdentifier(), m_Entity и m_SlotsCount.

Используется в IsDisplayable() и UpdateRadialIcon().