31 PowerGeneratorBase
pg = PowerGeneratorBase.Cast(
action_data.m_Target.GetObject());
33 if (
pg.GetFuel() >=
pg.GetMaxFuel())
72 PowerGeneratorBase
pg = PowerGeneratorBase.Cast(
action_data.m_Target.GetObject());
void CalcAndSetQuantity()
void SetACData(Param units)
void OnCompletePogress(ActionData action_data)
ref Param1< float > m_SpentUnits
float m_SpentQuantity_total
float m_QuantityFilledPerSecond
float m_AdjustedQuantityFilledPerSecond
override void CalcAndSetQuantity(ActionData action_data)
override void Setup(ActionData action_data)
override int Execute(ActionData action_data)
void CAContinuousFillPowerGenerator(float quantity_filled_per_second, int liquid_type)
proto native CGame GetGame()
static proto float Min(float x, float y)
Returns smaller of two given values.