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

◆ GatherInfoData()

bool ActionBuildPart::GatherInfoData ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprotected

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

318 {
320
321 ActionInfoDataConstructionPossible info = ActionInfoDataConstructionPossible.Cast(m_InfoData);
322 ConstructionActionData cad = player.GetConstructionActionData();
324 info.SetConstructionPart(part);
325 info.SetTool(item);
326
327 info.m_InfoContextMask |= EConstructionInfoCategories.MATERIALS_PRESENCE; //material info should always be visible
328 info.m_InfoContextMask |= EConstructionInfoCategories.TOOL_PRESENCE; //tools info should always be visible
329
330 return info.CanDisplayInfo();
331 }
ref ActionInfoDataBase m_InfoData
Определения ActionBase.c:70
int m_VariantID
Определения ActionBase.c:67
EConstructionInfoCategories
Определения ConstructionConstants.c:2
void ConstructionPart(string name, string part_name, string main_part_name, int id, bool is_built, bool is_base, bool is_gate, array< string > required_parts)
Определения ConstructionPart.c:531
void ClearInfoData()
Определения ActionBuildPart.c:312
ConstructionPart GetBuildPartAtIndex(int idx)
Определения ConstructionActionData.c:346

Перекрестные ссылки ActionTarget(), ClearInfoData(), ConstructionActionData::GetBuildPartAtIndex(), m_InfoData и m_VariantID.

Используется в ActionCondition().