DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
CAContinuousFertilizeGardenSlot Class Reference

Private Member Functions

void CAContinuousFertilizeGardenSlot (float quantity_used_per_second)
 
override void Setup (ActionData action_data)
 
override int Execute (ActionData action_data)
 
protected void FertilizeSlot (ItemBase item, GardenBase gardenBase, float consumedQuantity)
 
override float GetProgress ()
 

Private Attributes

protected float m_SlotFertilizerNeed
 
protected float m_AlreadyFilledAmount
 
protected float m_TimeToComplete
 
protected Slot m_Slot
 
protected string m_Selection
 
protected float m_SpentQuantityTotal
 DEPRECATED.
 
protected float m_StartQuantity
 

Constructor & Destructor Documentation

◆ CAContinuousFertilizeGardenSlot()

void CAContinuousFertilizeGardenSlot ( float  quantity_used_per_second)
inlineprivate

Member Function Documentation

◆ Execute()

override int Execute ( ActionData  action_data)
inlineprivate

◆ FertilizeSlot()

protected void FertilizeSlot ( ItemBase  item,
GardenBase  gardenBase,
float  consumedQuantity 
)
inlineprivate

References Math::Clamp(), CGame::ConfigGetFloat(), GetGame(), and m_Slot.

Referenced by Execute().

◆ GetProgress()

override float GetProgress ( )
inlineprivate

◆ Setup()

Field Documentation

◆ m_AlreadyFilledAmount

protected float m_AlreadyFilledAmount
private

Referenced by GetProgress(), and Setup().

◆ m_Selection

protected string m_Selection
private

Referenced by Setup().

◆ m_Slot

protected Slot m_Slot
private

◆ m_SlotFertilizerNeed

protected float m_SlotFertilizerNeed
private

Referenced by GetProgress(), and Setup().

◆ m_SpentQuantityTotal

protected float m_SpentQuantityTotal
private

DEPRECATED.

◆ m_StartQuantity

protected float m_StartQuantity
private

◆ m_TimeToComplete

protected float m_TimeToComplete
private

The documentation for this class was generated from the following file: