◆ ActionSawPlanks()
◆ ActionCondition()
63 {
65
67 {
69
71 {
72 case "Chainsaw":
73 if (
item.HasEnergyManager() &&
item.GetCompEM().CanWork() )
74 {
75 return true;
76 }
77 else
78 {
79 return false;
80 }
81 break;
82 }
83
84 return true;
85 }
86
87 return false;
88 }
Definition ObjectTyped.c:2
◆ CreateConditionComponents()
◆ OnFinishProgressServer()
91 {
94
96
100
102 {
105
108 }
110 {
114 {
117
120 }
121 }
122 else
123 {
125 }
126
128
130
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165 }
const int ECE_PLACE_ON_SURFACE
Definition CentralEconomy.c:37
static const int YIELD
Definition ActionSawPlanks.c:41
ref InventoryLocation m_PlanksLocation
Definition ActionSawPlanks.c:43
ItemBase m_Planks
Definition ActionSawPlanks.c:42
InventoryLocation.
Definition InventoryLocation.c:29
Definition InventoryItem.c:731
Definition ActionConstants.c:142
const float SAW_PLANKS
Definition ActionConstants.c:149
Definition EnConvert.c:106
proto native CGame GetGame()
Перекрестные ссылки ECE_PLACE_ON_SURFACE, GetGame(), m_Planks, m_PlanksLocation, UADamageApplied::SAW_PLANKS и YIELD.
◆ DECREASE_HEALTH_OF_TOOL_DEFAULT
const int DECREASE_HEALTH_OF_TOOL_DEFAULT = 10 |
|
staticprivate |
◆ m_Planks
◆ m_PlanksLocation
◆ YIELD
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/UserActionsComponent/Actions/Continuous/ActionSawPlanks.c