См. определение в файле CAContinuousWaterSlot.c строка 13
14 {
15 GardenBase targetGB;
16 if (Class.CastTo(targetGB, action_data.m_Target.GetObject()))
17 {
21 {
23 }
24 else
25 {
27 }
28
29 if (action_data.m_MainItem)
31
32 if (targetGB)
33 {
34 array<string> selections = new array<string>;
35 targetGB.GetActionComponentNameList(action_data.m_Target.GetComponentIndex(), selections);
36
37 for (int s = 0; s < selections.Count(); s++)
38 {
39 string selection = selections[s];
40 m_Slot = targetGB.GetSlotBySelection(selection);
42 break;
43 }
44
46 {
49 }
50 }
51
54 {
56 }
57 }
58 }
ref Param1< float > m_SpentUnits
float m_QuantityUsedPerSecond
Перекрестные ссылки ActionData, Class::CastTo(), CAContinuousQuantity::m_ItemQuantity, m_PlantThirstyness, CAContinuousQuantity::m_QuantityUsedPerSecond, m_Slot, CAContinuousQuantity::m_SpentQuantity, CAContinuousQuantity::m_SpentUnits, m_StartQuantity, m_TimeToComplete и Math::Min().