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

◆ ActionCondition()

override bool GetInputType::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )

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

252 : ActionInfoDataConstructionBase
253{
254}
255
257class ActionInfoDataConstructionImpossible: ActionInfoDataConstructionBase
258{
259 override bool CanDisplayInfo()
260 {
261 bool forceHide = false;
262 forceHide |= m_InfoContextMask & EConstructionInfoCategories.PART_CONSTRUCTED;
263 forceHide |= m_InfoContextMask & EConstructionInfoCategories.PART_CONFLICTED;
264 forceHide |= m_InfoContextMask & EConstructionInfoCategories.PART_MISSING_REQUIREMENT;
265 forceHide |= m_InfoContextMask & EConstructionInfoCategories.PART_MISSING_SUPPORT;
266 bool show = true;
267 //show |= m_InfoContextMask & EConstructionInfoCategories.TOOL_PRESENCE;
268 //show |= m_InfoContextMask & EConstructionInfoCategories.MATERIALS_PRESENCE;
269
270 return super.CanDisplayInfo() && !forceHide && show;
271 }
272}
ActionInfoDataConstructionPossible ActionInfoDataConstructionBase CanDisplayInfo()
visible only under specific conditions
Определения ActionPartInfo.c:259
EConstructionInfoCategories
Определения ConstructionConstants.c:2