DayZ 1.24
Loading...
Searching...
No Matches
ActionConstructor Class Reference

Private Member Functions

bool ConstructActions (out array< ref ActionBase > actionsArray, out map< typename, ActionBase > actionNameActionMap)
 
void RegisterActions (TTypenameArray actions)
 

Detailed Description

Definition at line 1 of file ActionConstructor.c.

Member Function Documentation

◆ ConstructActions()

bool ActionConstructor::ConstructActions ( out array< ref ActionBase > actionsArray,
out map< typename, ActionBase > actionNameActionMap )
inlineprivate

Definition at line 3 of file ActionConstructor.c.

4 {
8
11 ActionBase new_action;
12
13 for (int i = 0; i < action_array_names.Count(); i++)
14 {
15 new_action = ActionBase.Cast(action_array_names[i].Spawn());
16 if (new_action)
17 {
18 new_action.CreateConditionComponents();
19 new_action.SetID(actionsArray.Count());
22 }
23 }
24 return true;
25 }
void Spawn()
spawn damage trigger
void RegisterActions(TTypenameArray actions)
proto void Sort(void param_array[], int num)
Sorts static array of integers(ascendically) / floats(ascendically) / strings(alphabetically)
array< typename > TTypenameArray
Definition EnScript.c:674

References RegisterActions(), Sort(), and Spawn().

◆ RegisterActions()

void ActionConstructor::RegisterActions ( TTypenameArray actions)
inlineprivate

Definition at line 27 of file ActionConstructor.c.

28 {
29 // SingleUse Actions
30 actions.Insert(ActionOpen);
31 actions.Insert(ActionClose);
33 actions.Insert(ActionForceConsumeSingle);
39 actions.Insert(ActionPlugIn);
57 actions.Insert(ActionAttach);
64 //actions.Insert(ActionWorldCraftSwitch);
65 //actions.Insert(ActionWorldLiquidActionSwitch);
67 // actions.Insert(ActionAttachMetalWire);
75 //actions.Insert(ActionBuildPartSwitch);
87 actions.Insert(ActionFoldMap);
88 actions.Insert(ActionDropItem);
96 //actions.Insert(ActionSwitchMineWood);
104
105 // Continuous use actions
120 // actions.Insert(ActionDigStash);
121 actions.Insert(ActionSkinning);
123 actions.Insert(ActionDeployObject);
125 actions.Insert(ActionMineTree);
126 actions.Insert(ActionMineBush);
127 actions.Insert(ActionMineRock);
153 actions.Insert(ActionShave);
156 actions.Insert(ActionConsume);
157 actions.Insert(ActionForceConsume);
159 actions.Insert(ActionForceFeed);
161 actions.Insert(ActionEatBig);
162 actions.Insert(ActionEatMeat);
163 actions.Insert(ActionEatFruit);
164 actions.Insert(ActionDrink);
175 //actions.Insert(ActionFishing);
188 actions.Insert(ActionSewSelf);
189 actions.Insert(ActionSewTarget);
190 actions.Insert(ActionBuryAshes);
193 actions.Insert(ActionSawPlanks);
194 actions.Insert(ActionBuryBody);
195 actions.Insert(ActionEatCan);
203 actions.Insert(ActionBuildPart);
207 actions.Insert(ActionCPR);
208 actions.Insert(ActionDrinkPondContinuous);
210 actions.Insert(ActionEat);
211 actions.Insert(ActionEatSmall);
213 actions.Insert(ActionDigWorms);
217 actions.Insert(ActionLockDoors);
219 actions.Insert(ActionUnpackBox);
222 actions.Insert(ActionDrinkCan);
224 actions.Insert(ActionBuildOven);
228 //actions.Insert(ActionWritePaper);
229 //actions.Insert(ActionReadPaper);
230 actions.Insert(ActionFillFuel);
231 //actions.Insert(ActionTransferLiquid);
243 //actions.Insert(ActionUseRangefinder);
244 //actions.Insert(ActionAttached);
250 actions.Insert(ActionFillOil);
252 actions.Insert(ActionGagSelf);
253 actions.Insert(ActionGagTarget);
254 actions.Insert(ActionUngagSelf);
274 actions.Insert(ActionPackGift);
275 //actions.Insert(ActionEmptyBarrel);
278 actions.Insert(ActionTurnValve);
280
281 // Interact actions
290 actions.Insert(ActionITest);
296 //actions.Insert(ActionPickBerry);
301 actions.Insert(ActionPackTent);
302 //actions.Insert(ActionRepackTent);
309 actions.Insert(ActionOpenDoors);
315 actions.Insert(ActionTakeItem);
325 //actions.Insert(ActionWashHandsWellOne);
326 //actions.Insert(ActionWashHandsWaterOne);
331 actions.Insert(ActionDetach);
332 actions.Insert(ActionOpenFence);
336 //actions.Insert(ActionCheckPulse);
338 actions.Insert(ActionUnpin);
339 actions.Insert(ActionPin);
343 actions.Insert(ActionRaiseFlag);
344 actions.Insert(ActionLowerFlag);
347 //actions.Insert(ActionHandsPartSwitch);
354 actions.Insert(ActionTakeArrow);
356
357 //vehicle actions
361 actions.Insert(ActionPushCar);
362
363#ifdef DIAG_DEVELOPER
364 //Instant action - debug
365 actions.Insert(ActionDebug);
366#endif
367
368 //Weapon
372
377
379 //actions.Insert(ActionAdvancedDetachMagazine);
380
384
386
391
393
399
402
404
406 }
ActionActivateTrapCB ActionContinuousBaseCB ActionActivateTrap()
ActionArmExplosiveCB ActionContinuousBaseCB ActionArmExplosive()
ActionAttachExplosivesTriggerCB ActionContinuousBaseCB ActionAttachExplosivesTrigger()
ActionBandageSelfCB ActionContinuousBaseCB ActionBandageSelf()
ActionBandageTargetCB ActionContinuousBaseCB ActionBandageTarget()
ActionBuildOvenCB ActionContinuousBaseCB ActionBuildOven()
ActionBuildStoneCircleCB ActionContinuousBaseCB ActionBuildStoneCircle()
ActionBuryAshesCB ActionContinuousBaseCB ActionBuryAshes()
CarHornActionData ActionData ActionCarHornShort()
ActionCraftArmbandCB ActionContinuousBaseCB ActionCraftArmband()
ActionDeCraftDrysackBagCB ActionContinuousBaseCB ActionDeCraftDrysackBag()
ActionDeCraftRopeBeltCB ActionContinuousBaseCB ActionDeCraftRopeBelt()
ActionDeCraftWitchHoodCoifCB ActionContinuousBaseCB ActionDeCraftWitchHoodCoif()
void ActionDetach()
ActionDetachFromTarget_SpecificSlot_WoodenPlanks ActionDetachFromTarget_SpecificSlot ActionDetachFromTarget_SpecificSlot_MetalSheets()
ActionDetachFromTarget_SpecificSlotsCategory_Barrel ActionDetachFromTarget_SpecificSlotsCategory ActionDetachFromTarget_SpecificSlotsCategory_WoodenCrate()
ActionDetachFromTarget_SpecificSlotsCategory ActionDetachFromTarget ActionDetachFromTarget_SpecificSlot_WoodenLogs()
ActionDialCombinationLockCB ActionContinuousBaseCB ActionDialCombinationLock()
ActionDialCombinationLockOnTargetCB ActionContinuousBaseCB ActionDialCombinationLockOnTarget()
ActionDigOutStashCB ActionContinuousBaseCB ActionDigOutStash()
ActionDisarmExplosiveCB ActionContinuousBaseCB ActionDisarmExplosive()
ActionDisarmExplosiveWithRemoteDetonatorCB ActionDisarmExplosiveCB ActionDisarmExplosiveWithRemoteDetonator()
ActionDisarmExplosiveWithRemoteDetonatorUnpairedCB ActionDisarmExplosiveCB ActionDisarmExplosiveWithRemoteDetonatorUnpaired()
ActionDisarmMineCB ActionContinuousBaseCB ActionDisarmMine()
void ActionDisinfectSelf()
ActionDismantleOvenCB ActionContinuousBaseCB ActionDismantleOven()
ActionDismantleStoneCircleCB ActionContinuousBaseCB ActionDismantleStoneCircle()
ActionDrinkWellContinuousCB ActionContinuousBaseCB ActionDrinkWellContinuous()
ActionExtinguishFireplaceByExtinguisherCB ActionContinuousBaseCB ActionExtinguishFireplaceByExtinguisher()
ActionExtinguishFireplaceByLiquidCB ActionContinuousBaseCB ActionExtinguishFireplaceByLiquid()
ActionFoldBaseBuildingObjectCB ActionContinuousBaseCB ActionFoldBaseBuildingObject()
void ActionGetOutTransport()
ActionLightItemOnFireCB ActionContinuousBaseCB ActionLightItemOnFire()
ActionLightItemOnFireWithBlowtorchCB ActionLightItemOnFireCB ActionLightItemOnFireWithBlowtorch()
ActionPackTentCB ActionContinuousBaseCB ActionPackTent()
ActionRaiseMegaphoneCB ActionContinuousBaseCB ActionRaiseMegaphone()
ActionRepairCarChassisWithBlowtorchCB ActionRepairCarChassisCB ActionRepairCarChassisWithBlowtorch()
void ActionRepairCarEngine()
ActionRepairCarEngineWithBlowtorchCB ActionRepairCarEngineCB ActionRepairCarEngineWithBlowtorch()
void ActionRepairCarPart()
ActionRepairCarPartWithBlowtorchCB ActionRepairCarPartCB ActionRepairCarPartWithBlowtorch()
ActionRepairItemWithBlowtorchCB ActionContinuousBaseCB ActionRepairItemWithBlowtorch()
ActionResetKitchenTimerClockCB ActionSingleUseBaseCB ActionResetKitchenTimer()
ActionSewSelfCB ActionContinuousBaseCB ActionSewSelf()
ActionSewTargetCB ActionContinuousBaseCB ActionSewTarget()
ActionSkinningCB ActionContinuousBaseCB ActionSkinning()
void ActionStartEngine()
DEPRECATED.
ActionTuneFrequencyCB ActionContinuousBaseCB ActionTuneFrequency()
ActionTuneRadioStationCB ActionContinuousBaseCB ActionTuneRadioStation()
ActionTurnOffAlarmClockCB ActionSingleUseBaseCB ActionTurnOffAlarmClock()
ActionTurnOffTransmitterCB ActionSingleUseBaseCB ActionTurnOffTransmitter()
ActionTurnOnAlarmClockCB ActionSingleUseBaseCB ActionTurnOnAlarmClock()
ActionTurnOnTransmitterCB ActionSingleUseBaseCB ActionTurnOnTransmitter()
ActionTurnValveCB ActionContinuousBaseCB ActionTurnValve()
ActionTurnValveUndergroundReservoirCB ActionTurnValveCB ActionTurnValveUndergroundReservoir()
ActionUncoverHeadBase ActionContinuousBase ActionUncoverHeadSelf()
ActionUnfoldMapCB ActionBaseCB ActionUnfoldMap()
ActionWashHandsWaterCB ActionContinuousBaseCB ActionWashHandsWater()
ActionWashHandsWellCB ActionContinuousBaseCB ActionWashHandsWell()
FirearmActionLoadBullet FirearmActionBase FirearmActionLoadBulletQuick()

References ActionActivateTrap(), ActionArmExplosive(), ActionAttachExplosivesTrigger(), ActionBandageSelf(), ActionBandageTarget(), ActionBuildOven(), ActionBuildStoneCircle(), ActionBuryAshes(), ActionCarHornShort(), ActionCraftArmband(), ActionDeCraftDrysackBag(), ActionDeCraftRopeBelt(), ActionDeCraftWitchHoodCoif(), ActionDetach(), ActionDetachFromTarget_SpecificSlot_MetalSheets(), ActionDetachFromTarget_SpecificSlot_WoodenLogs(), ActionDetachFromTarget_SpecificSlotsCategory_WoodenCrate(), ActionDialCombinationLock(), ActionDialCombinationLockOnTarget(), ActionDigOutStash(), ActionDisarmExplosive(), ActionDisarmExplosiveWithRemoteDetonator(), ActionDisarmExplosiveWithRemoteDetonatorUnpaired(), ActionDisarmMine(), ActionDisinfectSelf(), ActionDismantleOven(), ActionDismantleStoneCircle(), ActionDrinkWellContinuous(), ActionExtinguishFireplaceByExtinguisher(), ActionExtinguishFireplaceByLiquid(), ActionFoldBaseBuildingObject(), ActionGetOutTransport(), ActionLightItemOnFire(), ActionLightItemOnFireWithBlowtorch(), ActionPackTent(), ActionRaiseMegaphone(), ActionRepairCarChassisWithBlowtorch(), ActionRepairCarEngine(), ActionRepairCarEngineWithBlowtorch(), ActionRepairCarPart(), ActionRepairCarPartWithBlowtorch(), ActionRepairItemWithBlowtorch(), ActionResetKitchenTimer(), ActionSewSelf(), ActionSewTarget(), ActionSkinning(), ActionStartEngine(), ActionTuneFrequency(), ActionTuneRadioStation(), ActionTurnOffAlarmClock(), ActionTurnOffTransmitter(), ActionTurnOnAlarmClock(), ActionTurnOnTransmitter(), ActionTurnValve(), ActionTurnValveUndergroundReservoir(), ActionUncoverHeadSelf(), ActionUnfoldMap(), ActionWashHandsWater(), ActionWashHandsWell(), and FirearmActionLoadBulletQuick().

Referenced by ConstructActions().


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