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

◆ OnActionInfoUpdate()

override void ActionBuildPart::OnActionInfoUpdate ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

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

45 {
46 ConstructionActionData construction_action_data = player.GetConstructionActionData();
47 ConstructionPart constrution_part = construction_action_data.GetBuildPartAtIndex(m_VariantID);
48
49 if (constrution_part)
50 {
51 m_Text = "#build " + constrution_part.GetName();
52 }
53 }
string m_Text
Определения ActionBase.c:58
int m_VariantID
Определения ActionBase.c:68
ConstructionPart GetBuildPartAtIndex(int idx)
Определения ConstructionActionData.c:184
string GetName()
Определения ConstructionPart.c:24

Перекрестные ссылки ActionTarget, ConstructionActionData::GetBuildPartAtIndex(), ConstructionPart::GetName(), ActionBase::m_Text и ActionBase::m_VariantID.