◆ FirearmActionDetachMagazine()
void FirearmActionDetachMagazine::FirearmActionDetachMagazine |
( |
| ) |
|
|
inlineprivate |
◆ ActionCondition()
◆ ActionConditionContinue()
◆ CanBePerformedFromQuickbar()
override bool FirearmActionDetachMagazine::CanBePerformedFromQuickbar |
( |
| ) |
|
|
inlineprivate |
◆ CreateActionData()
◆ CreateConditionComponents()
override void FirearmActionDetachMagazine::CreateConditionComponents |
( |
| ) |
|
|
inlineprivate |
◆ GetInputType()
override FirearmActionDetachMagazine::GetInputType |
( |
| ) |
|
|
inlineprivate |
◆ HandleReciveData()
override void FirearmActionDetachMagazine::HandleReciveData |
( |
ActionReciveData | action_recive_data, |
|
|
ActionData | action_data ) |
|
inlineprivate |
◆ InventoryReservation()
Definition at line 158 of file FirearmActionDetachMagazine.c.
159 {
162
165
166
168
171 else
172 {
174
175
176
177 }
178
180 return false;
181
183 return false;
184
187 return false;
188
190 return false;
191
196
197 return true;
198 }
FindInventoryLocationType
flags for searching locations in inventory
◆ OnEndServer()
◆ OnStageStart()
Definition at line 277 of file FirearmActionDetachMagazine.c.
278 {
280 {
282 return;
283 }
287
289
291 {
292 case 0:
294 break;
295
296 case 1:
298 {
300 break;
301 }
302
305
306 action_data.m_Player.GetHumanInventory().ClearUserReservedLocation(
wpn);
307 if ((!
GetGame().IsDedicatedServer()) && !
mag.GetHierarchyParent())
308 {
310
313
315 }
316
318 break;
319 default:
321 break;
322 }
323 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
void End()
called on surrender end request end
References End(), and GetGame().
◆ OnStartServer()
◆ OnUpdate()
Definition at line 325 of file FirearmActionDetachMagazine.c.
326 {
328
331 {
333 {
334 case 0:
336
337 if ((!
wpn ||
ad.m_Player.GetItemInHands() !=
wpn || !
ad.m_Player.GetWeaponManager().IsRunning()) && !
ad.m_Player.IsJumpInProgress())
339 break;
340 case 1:
341
342
343 break;
344 default:
345 break;
346 }
347 }
348 }
void SetStage(int stage, SequentialActionData action_data)
References SetStage().
◆ ReadFromContext()
Definition at line 211 of file FirearmActionDetachMagazine.c.
212 {
215
217 return false;
218
221
224
226 return false;
227
229 return false;
230
231 return true;
232 }
◆ WriteToContext()
The documentation for this class was generated from the following file: