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

◆ OnActionInfoUpdate()

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

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

54 {
55 m_Text = "#harvest";
56
57 Slot slot = GetPlantSlot(target);
58
59 if (slot)
60 {
61 m_Plant = PlantBase.Cast(slot.GetPlant());
62 m_Text+= " " + MiscGameplayFunctions.GetItemDisplayName(m_Plant.GetCropsType());
63 }
64
65 }
void PlantBase()
Определения PlantBase.c:54
string m_Text
Определения ActionBase.c:58
PlantBase m_Plant
Определения ActionHarvestCrops.c:11
Slot GetPlantSlot(ActionTarget target)
Определения ActionHarvestCrops.c:26

Перекрестные ссылки ActionTarget, GetPlantSlot(), m_Plant, ActionBase::m_Text и PlantBase().