DayZ 1.24
Loading...
Searching...
No Matches
ActionBase.c File Reference

Go to the source code of this file.

Classes

class  ActionData
 

Enumerations

enum  ActionConditionMask {
  ACM_NO_EXEPTION = 0 , ACM_IN_VEHICLE = 1 , ACM_ON_LADDER = 2 , ACM_SWIMMING = 4 ,
  ACM_RESTRAIN = 8 , ACM_RAISED = 16 , ACM_ON_BACK = 32 , ACM_THROWING = 64 ,
  ACM_LEANING = 128 , ACM_BROKEN_LEGS = 256
}
 

Functions

void ActionBase ()
 
bool IsLockTargetOnUse ()
 
void InitConditionMask ()
 
bool SetupAction (PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data=NULL)
 
bool Post_SetupAction (ActionData action_data)
 
void ActionCleanup (ActionData action_data)
 
 GetInputType ()
 
void SetInput (ActionInput ai)
 
ActionData CreateActionData ()
 
void CreateConditionComponents ()
 
Object GetDisplayInteractObject (PlayerBase player, ActionTarget target)
 
bool HasTarget ()
 
bool HasProgress ()
 For UI: hiding of progress bar.
 
bool IsLocal ()
 
bool IsInstant ()
 
bool IsUsingProxies ()
 not using plane object - it's using multiple proxies
 
bool RemoveForceTargetAfterUse ()
 
int GetActionCategory ()
 
bool IsEat ()
 
bool IsDrink ()
 
bool IsShaveSelf ()
 
string GetText ()
 
bool CanBePerformedFromQuickbar ()
 
bool CanBePerformedFromInventory ()
 
bool CanBeSetFromInventory ()
 
bool CanBeUsedInRestrain ()
 
bool CanBeUsedInVehicle ()
 
bool CanBeUsedOnBack ()
 
bool CanBeUsedSwimming ()
 
bool CanBeUsedOnLadder ()
 
bool CanBeUsedRaised ()
 
bool CanBeUsedThrowing ()
 
bool CanBeUsedLeaning ()
 
bool CanBeUsedWithBrokenLegs ()
 
bool IsDeploymentAction ()
 Is an action directly related to deployment/advanced placing.
 
bool UseMainItem ()
 
bool MainItemAlwaysInHands ()
 
bool ActionConditionContinue (ActionData action_data)
 
bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
void ApplyModifiers (ActionData action_data)
 
int GetRefreshReservationTimerValue ()
 
void WriteToContext (ParamsWriteContext ctx, ActionData action_data)
 
bool ReadFromContext (ParamsReadContext ctx, out ActionReciveData action_recive_data)
 
void HandleReciveData (ActionReciveData action_recive_data, ActionData action_data)
 
int GetStanceMask (PlayerBase player)
 
bool IsFullBody (PlayerBase player)
 
bool HasProneException ()
 
void Start (ActionData action_data)
 
void End (ActionData action_data)
 
void Interrupt (ActionData action_data)
 
void OnEndInput (ActionData action_data)
 
void EndInput (ActionData action_data)
 
void OnEndRequest (ActionData action_data)
 
void EndRequest (ActionData action_data)
 
bool CanReceiveAction (ActionTarget target)
 
static int ComputeConditionMask (PlayerBase player, ActionTarget target, ItemBase item)
 
bool Can (PlayerBase player, ActionTarget target, ItemBase item, int condition_mask)
 
bool Can (PlayerBase player, ActionTarget target, ItemBase item)
 
bool CanContinue (ActionData action_data)
 
bool HasVariants ()
 
int GetVariantsCount ()
 
int GetVariants (out array< ref ActionBase > variants)
 
void SetVariantID (int ID)
 
int GetVariantID ()
 
void UpdateVariants (Object item, Object target, int componet_index)
 
ActionVariantManager GetVariantManager ()
 
bool InventoryReservation (ActionData action_data)
 
void ClearInventoryReservationEx (ActionData action_data)
 
void RefreshReservations (ActionData action_data)
 
bool UseAcknowledgment ()
 
void InformPlayers (PlayerBase player, ActionTarget target, int state)
 DEPRECATED delivers message ids to clients based on given context.
 
void SendMessageToClient (Object reciever, string message)
 
bool IsDamageDestroyed (ActionTarget target)
 
bool IsBuilding (ActionTarget target)
 
bool IsTransport (ActionTarget target)
 
bool IsInReach (PlayerBase player, ActionTarget target, float maxDistance=1.0)
 
SoundOnVehicle PlayActionSound (PlayerBase player)
 
void OnActionInfoUpdate (PlayerBase player, ActionTarget target, ItemBase item)
 
string GetSoundCategory (ActionData action_data)
 
void OnUpdate (ActionData action_data)
 
void OnUpdateClient (ActionData action_data)
 
void OnUpdateServer (ActionData action_data)
 
void OnStart (ActionData action_data)
 
void OnStartClient (ActionData action_data)
 
void OnStartServer (ActionData action_data)
 
void OnEnd (ActionData action_data)
 
void OnEndClient (ActionData action_data)
 
void OnEndServer (ActionData action_data)
 
float GetSpecialtyWeight ()
 
int GetState (ActionData action_data)
 
float GetProgress (ActionData action_data)
 
ActionInput GetInput ()
 
void SetID (int actionId)
 
int GetID ()
 
string GetAdminLogMessage (ActionData action_data)
 

Variables

enum ActionConditionMask m_MainItem
 
ref ActionTarget m_Target
 
class ActionData m_RefreshReservationTimerValue = 140
 
string m_Sound
 
string m_Text
 
bool m_LockTargetOnUse
 
bool m_FullBody
 
int m_StanceMask
 
ref TStringArray m_Sounds
 
ref CCIBase m_ConditionItem
 
ref CCTBase m_ConditionTarget
 
ActionInput m_Input
 
int m_ActionID
 
int m_VariantID
 
int m_ConditionMask
 
ref ActionVariantManager m_VariantManager
 
ref Param1< stringm_MessageParam
 
float m_SpecialtyWeight
 

Enumeration Type Documentation

◆ ActionConditionMask

Enumerator
ACM_NO_EXEPTION 
ACM_IN_VEHICLE 
ACM_ON_LADDER 
ACM_SWIMMING 
ACM_RESTRAIN 
ACM_RAISED 
ACM_ON_BACK 
ACM_THROWING 
ACM_LEANING 
ACM_BROKEN_LEGS 

Definition at line 1 of file ActionBase.c.

2{
6 ACM_SWIMMING = 4,
7 ACM_RESTRAIN = 8,
8 ACM_RAISED = 16,
9 ACM_ON_BACK = 32,
10 ACM_THROWING = 64,
11 ACM_LEANING = 128,
12 ACM_BROKEN_LEGS = 256,
13}
@ ACM_THROWING
Definition ActionBase.c:10
@ ACM_NO_EXEPTION
Definition ActionBase.c:3
@ ACM_ON_LADDER
Definition ActionBase.c:5
@ ACM_SWIMMING
Definition ActionBase.c:6
@ ACM_RAISED
Definition ActionBase.c:8
@ ACM_LEANING
Definition ActionBase.c:11
@ ACM_IN_VEHICLE
Definition ActionBase.c:4
@ ACM_RESTRAIN
Definition ActionBase.c:7
@ ACM_ON_BACK
Definition ActionBase.c:9
@ ACM_BROKEN_LEGS
Definition ActionBase.c:12

Function Documentation

◆ ActionBase()

void ActionBase ( )
protected

Definition at line 73 of file ActionBase.c.

74 {
75 // definable
76 m_StanceMask = DayZPlayerConstants.STANCEMASK_ERECT | DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_PRONE;
77 m_FullBody = false;
78 m_Sound = "";
79 m_Text = "default action text";
81 // dont override
83 //m_MessagesParam = new Param2<int,int>(0,0);
85 m_Input = null;
86 m_ActionID = 0;
88 }
int m_ActionID
Definition ActionBase.c:58
bool m_FullBody
Definition ActionBase.c:52
string m_Text
Definition ActionBase.c:49
bool HasTarget()
Definition ActionBase.c:210
string m_Sound
Definition ActionBase.c:48
bool m_LockTargetOnUse
Definition ActionBase.c:51
ActionInput m_Input
Definition ActionBase.c:57
void InitConditionMask()
Definition ActionBase.c:95
int m_StanceMask
Definition ActionBase.c:53
ref Param1< string > m_MessageParam
Definition ActionBase.c:64
ref TStringArray m_Sounds
Definition ActionBase.c:54
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:597
array< string > TStringArray
Definition EnScript.c:666

References HasTarget(), InitConditionMask(), m_ActionID, m_FullBody, m_Input, m_LockTargetOnUse, m_MessageParam, m_Sound, m_Sounds, m_StanceMask, and m_Text.

◆ ActionCleanup()

void ActionCleanup ( ActionData action_data)
protected

Definition at line 178 of file ActionBase.c.

179 {}

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
protected

Definition at line 350 of file ActionBase.c.

351 {
352 return true;
353 }

Referenced by ActionConditionContinue(), and Can().

◆ ActionConditionContinue()

bool ActionConditionContinue ( ActionData action_data)
protected

Definition at line 345 of file ActionBase.c.

346 {
347 return ActionCondition(action_data.m_Player, action_data.m_Target, action_data.m_MainItem);
348 }
bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Definition ActionBase.c:350

References ActionCondition().

Referenced by CanContinue().

◆ ApplyModifiers()

void ApplyModifiers ( ActionData action_data)
protected

◆ Can() [1/2]

bool Can ( PlayerBase player,
ActionTarget target,
ItemBase item )
protected

Definition at line 679 of file ActionBase.c.

680 {
682
684 }
static int ComputeConditionMask(PlayerBase player, ActionTarget target, ItemBase item)
Definition ActionBase.c:608
bool Can(PlayerBase player, ActionTarget target, ItemBase item, int condition_mask)
Definition ActionBase.c:641

References Can(), and ComputeConditionMask().

◆ Can() [2/2]

bool Can ( PlayerBase player,
ActionTarget target,
ItemBase item,
int condition_mask )
protected

Definition at line 641 of file ActionBase.c.

642 {
643 if (((condition_mask & m_ConditionMask) != condition_mask) || (!IsFullBody(player) && !player.IsPlayerInStance(GetStanceMask(player))) || player.IsRolling())
644 return false;
645
646 if (HasTarget())
647 {
648 if (!FirearmActionBase.Cast(this))
649 {
650 EntityAI entity = EntityAI.Cast(target.GetObject());
651 if (entity && !target.GetObject().IsMan())
652 {
653 Man man = entity.GetHierarchyRootPlayer();
654 if (man && man != player)
655 return false;
656 }
657 }
658
660 return false;
661 }
662
664 return false;
665
667 return false;
668
669 if (IsFullBody(player))
670 {
671 int stanceIdx = DayZPlayerUtils.ConvertStanceMaskToStanceIdx(GetStanceMask(player));
672 if (stanceIdx != -1 && !DayZPlayerUtils.PlayerCanChangeStance(player, stanceIdx))
673 return false;
674 }
675
676 return true;
677 }
int m_ConditionMask
Definition ActionBase.c:60
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56
void DayZPlayerUtils()
cannot be instantiated
bool IsFullBody()
int GetStanceMask()

References ActionCondition(), DayZPlayerUtils(), GetStanceMask(), HasTarget(), IsFullBody(), m_ConditionItem, m_ConditionMask, and m_ConditionTarget.

Referenced by Can().

◆ CanBePerformedFromInventory()

bool CanBePerformedFromInventory ( )
protected

Definition at line 274 of file ActionBase.c.

275 {
276 return false;
277 }

Referenced by CanBeSetFromInventory().

◆ CanBePerformedFromQuickbar()

bool CanBePerformedFromQuickbar ( )
protected

Definition at line 269 of file ActionBase.c.

270 {
271 return false;
272 }

◆ CanBeSetFromInventory()

bool CanBeSetFromInventory ( )
protected

Definition at line 279 of file ActionBase.c.

280 {
282 }
bool CanBePerformedFromInventory()
Definition ActionBase.c:274

References CanBePerformedFromInventory().

◆ CanBeUsedInRestrain()

bool CanBeUsedInRestrain ( )
protected

Definition at line 284 of file ActionBase.c.

285 {
286 return false;
287 }

Referenced by InitConditionMask().

◆ CanBeUsedInVehicle()

bool CanBeUsedInVehicle ( )
protected

Definition at line 289 of file ActionBase.c.

290 {
291 return false;
292 }

Referenced by InitConditionMask().

◆ CanBeUsedLeaning()

bool CanBeUsedLeaning ( )
protected

Definition at line 319 of file ActionBase.c.

320 {
321 return true;
322 }

Referenced by InitConditionMask().

◆ CanBeUsedOnBack()

bool CanBeUsedOnBack ( )
protected

Definition at line 294 of file ActionBase.c.

295 {
296 return false;
297 }

Referenced by InitConditionMask().

◆ CanBeUsedOnLadder()

bool CanBeUsedOnLadder ( )
protected

Definition at line 304 of file ActionBase.c.

305 {
306 return false;
307 }

Referenced by InitConditionMask().

◆ CanBeUsedRaised()

bool CanBeUsedRaised ( )
protected

Definition at line 309 of file ActionBase.c.

310 {
311 return false;
312 }

Referenced by InitConditionMask().

◆ CanBeUsedSwimming()

bool CanBeUsedSwimming ( )
protected

Definition at line 299 of file ActionBase.c.

300 {
301 return false;
302 }

Referenced by InitConditionMask().

◆ CanBeUsedThrowing()

bool CanBeUsedThrowing ( )
protected

Definition at line 314 of file ActionBase.c.

315 {
316 return false;
317 }

Referenced by InitConditionMask().

◆ CanBeUsedWithBrokenLegs()

bool CanBeUsedWithBrokenLegs ( )
protected

Definition at line 324 of file ActionBase.c.

325 {
326 return true;
327 }

Referenced by InitConditionMask().

◆ CanContinue()

bool CanContinue ( ActionData action_data)
protected

Definition at line 686 of file ActionBase.c.

687 {
688 if (!action_data.m_Player.IsPlayerInStance(action_data.m_PossibleStanceMask) || !m_ConditionItem || !m_ConditionItem.CanContinue(action_data.m_Player, action_data.m_MainItem) || !m_ConditionTarget || !m_ConditionTarget.CanContinue(action_data.m_Player, action_data.m_Target))
689 return false;
690
692 }
bool ActionConditionContinue(ActionData action_data)
Definition ActionBase.c:345

References ActionConditionContinue(), m_ConditionItem, and m_ConditionTarget.

Referenced by AnimatedActionBase::Do().

◆ CanReceiveAction()

◆ ClearInventoryReservationEx()

void ClearInventoryReservationEx ( ActionData action_data)
protected

Definition at line 790 of file ActionBase.c.

791 {
792 if (action_data.m_ReservedInventoryLocations)
793 {
795 for (int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
796 {
797 il = action_data.m_ReservedInventoryLocations.Get(i);
798 EntityAI entity = il.GetItem();
799 action_data.m_Player.GetInventory().ClearInventoryReservationEx(il.GetItem(), il);
800 }
801
802 action_data.m_ReservedInventoryLocations.Clear();
803 }
804 }
InventoryLocation.

Referenced by ActionRemoveSeed::OnExecute(), ActionTakeArrowToHands::OnExecute(), ActionTakeItemToHands::OnExecute(), ActionRepositionPluggedItem::OnExecuteClient(), ActionTakeHybridAttachment::OnExecuteClient(), OnExecuteClient(), ActionAttachOnSelection::OnExecuteClient(), ActionAttachPowerSourceToPanel::OnExecuteClient(), ActionAttachToConstruction::OnExecuteClient(), ActionAttachWithSwitch::OnExecuteClient(), ActionFoldEntityToSlot::OnExecuteClient(), ActionOpen::OnExecuteClient(), ActionUnfoldEntity::OnExecuteClient(), ActionTakeHybridAttachmentToHands::OnExecuteImpl(), ActionRepositionPluggedItem::OnExecuteServer(), ActionTakeHybridAttachment::OnExecuteServer(), ActionTakeItem::OnExecuteServer(), OnExecuteServer(), ActionAttachOnSelection::OnExecuteServer(), ActionAttachToConstruction::OnExecuteServer(), ActionAttachWithSwitch::OnExecuteServer(), ActionFoldEntityToSlot::OnExecuteServer(), ActionOpen::OnExecuteServer(), ActionUnfoldEntity::OnExecuteServer(), OnFinishProgressClient(), OnFinishProgressServer(), ActionDetachFromTarget::Process(), SetupAction(), ActionDropItemSimple::Start(), FirearmActionAttachMagazine::Start(), FirearmActionAttachMagazineQuick::Start(), ValidateSwap(), and ValidateSyncMove().

◆ ComputeConditionMask()

static int ComputeConditionMask ( PlayerBase player,
ActionTarget target,
ItemBase item )
staticprotected

Definition at line 608 of file ActionBase.c.

609 {
610 int mask = 0;
611 if (player.GetCommand_Vehicle())
612 mask |= ActionConditionMask.ACM_IN_VEHICLE;
613
614 if (player.GetCommand_Ladder())
615 mask |= ActionConditionMask.ACM_ON_LADDER;
616
617 if (player.IsRestrained())
618 mask |= ActionConditionMask.ACM_RESTRAIN;
619
620 if (player.GetCommand_Swim())
621 mask |= ActionConditionMask.ACM_SWIMMING;
622
623 if (player.IsRaised())
624 mask |= ActionConditionMask.ACM_RAISED;
625
626 if (player.GetCommand_Move() && player.GetCommand_Move().IsOnBack())
627 mask |= ActionConditionMask.ACM_ON_BACK;
628
629 if (player.GetThrowing().IsThrowingModeEnabled())
630 mask |= ActionConditionMask.ACM_THROWING;
631
632 if (player.IsLeaning())
633 mask |= ActionConditionMask.ACM_LEANING;
634
635 if (player.GetBrokenLegs() == eBrokenLegs.BROKEN_LEGS)
636 mask |= ActionConditionMask.ACM_BROKEN_LEGS;
637
638 return mask;
639 }
ActionConditionMask
Definition ActionBase.c:2
eBrokenLegs
Definition EBrokenLegs.c:2

Referenced by Can().

◆ CreateActionData()

ActionData CreateActionData ( )
protected

Definition at line 191 of file ActionBase.c.

192 {
193 return new ActionData;
194 }

Referenced by SetupAction().

◆ CreateConditionComponents()

void CreateConditionComponents ( )
protected

Definition at line 196 of file ActionBase.c.

197 {
200 }

References m_ConditionItem, and m_ConditionTarget.

◆ End()

void End ( ActionData action_data)
protected

Definition at line 557 of file ActionBase.c.

558 {
559 if (action_data.m_Player)
560 {
562
563 if (GetGame().IsServer())
565 else
567
568 action_data.m_Player.GetActionManager().OnActionEnd();
569 }
570 }
void OnEndServer(ActionData action_data)
Definition ActionBase.c:962
void OnEndClient(ActionData action_data)
Definition ActionBase.c:959
override void OnEnd()
Definition JumpEvents.c:53
proto native CGame GetGame()

References GetGame(), OnEnd(), OnEndClient(), and OnEndServer().

◆ EndInput()

void EndInput ( ActionData action_data)
protected

Definition at line 580 of file ActionBase.c.

581 {
582 action_data.m_ReciveEndInput = true;
584 }
void OnEndInput(ActionData action_data)
Definition ActionBase.c:577

References OnEndInput().

◆ EndRequest()

void EndRequest ( ActionData action_data)
protected

Definition at line 589 of file ActionBase.c.

590 {
592 }
void OnEndRequest(ActionData action_data)
Definition ActionBase.c:586

References OnEndRequest().

◆ GetActionCategory()

int GetActionCategory ( )
protected

Definition at line 244 of file ActionBase.c.

245 {
246 return AC_UNCATEGORIZED;
247 }
const int AC_UNCATEGORIZED
Definition _constants.c:1

References AC_UNCATEGORIZED.

◆ GetAdminLogMessage()

string GetAdminLogMessage ( ActionData action_data)
protected

Definition at line 1004 of file ActionBase.c.

1005 {
1006 return "";
1007 }

◆ GetDisplayInteractObject()

Object GetDisplayInteractObject ( PlayerBase player,
ActionTarget target )
protected

Definition at line 202 of file ActionBase.c.

203 {
204 return null;
205 }

◆ GetID()

int GetID ( )
protected

Definition at line 999 of file ActionBase.c.

1000 {
1001 return m_ActionID;
1002 }

References m_ActionID.

◆ GetInput()

◆ GetInputType()

GetInputType ( )
protected

Definition at line 181 of file ActionBase.c.

182 {
183 return DefaultActionInput;
184 }

◆ GetProgress()

float GetProgress ( ActionData action_data)
protected

Definition at line 984 of file ActionBase.c.

985 {
986 return -1;
987 }

◆ GetRefreshReservationTimerValue()

int GetRefreshReservationTimerValue ( )
protected

Definition at line 357 of file ActionBase.c.

358 {
360 }
class ActionData m_RefreshReservationTimerValue

References m_RefreshReservationTimerValue.

◆ GetSoundCategory()

string GetSoundCategory ( ActionData action_data)
protected

Definition at line 914 of file ActionBase.c.

915 {
916 return "";
917 }

Referenced by Start().

◆ GetSpecialtyWeight()

float GetSpecialtyWeight ( )
protected

Definition at line 967 of file ActionBase.c.

968 {
969 if (m_SpecialtyWeight == 0)
970 {
971#ifdef DEVELOPER
972 //Print("UserAction does not use SoftSkills");
973#endif
974 }
975
976 return m_SpecialtyWeight;
977 }
float m_SpecialtyWeight
Definition ActionBase.c:68

References m_SpecialtyWeight.

Referenced by CreateOrgan(), ActionWaterPlant::OnFinishProgressClient(), ActionSawPlanks::OnFinishProgressServer(), and ActionWaterPlant::OnFinishProgressServer().

◆ GetStanceMask()

int GetStanceMask ( PlayerBase player)
protected

Definition at line 505 of file ActionBase.c.

506 {
507 if (HasProneException())
508 {
509 if (player.IsPlayerInStance(DayZPlayerConstants.STANCEMASK_RAISEDERECT | DayZPlayerConstants.STANCEMASK_RAISEDCROUCH | DayZPlayerConstants.STANCEMASK_RAISEDPRONE))
510 return -1;
511 else if (player.IsPlayerInStance(DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT))
512 return DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT;
513 else
514 return DayZPlayerConstants.STANCEMASK_PRONE;
515 }
516 return m_StanceMask;
517 }
bool HasProneException()
Definition ActionBase.c:527

References HasProneException(), and m_StanceMask.

◆ GetState()

int GetState ( ActionData action_data)
protected

Definition at line 979 of file ActionBase.c.

980 {
981 return action_data.m_State;
982 }

◆ GetText()

string GetText ( )
protected

Definition at line 264 of file ActionBase.c.

265 {
266 return m_Text;
267 }

References m_Text.

◆ GetVariantID()

int GetVariantID ( )
protected

Definition at line 720 of file ActionBase.c.

721 {
722 return m_VariantID;
723 }
int m_VariantID
Definition ActionBase.c:59

References m_VariantID.

◆ GetVariantManager()

ActionVariantManager GetVariantManager ( )
protected

Definition at line 731 of file ActionBase.c.

732 {
733 if (!m_VariantManager)
735 return m_VariantManager;
736 }
ref ActionVariantManager m_VariantManager
Definition ActionBase.c:61
string Type

References m_VariantManager, and Type.

◆ GetVariants()

int GetVariants ( out array< ref ActionBase > variants)
protected

Definition at line 707 of file ActionBase.c.

708 {
710 return m_VariantManager.GetActions(variants);
711
712 return 0;
713 }

References m_VariantManager.

◆ GetVariantsCount()

int GetVariantsCount ( )
protected

Definition at line 699 of file ActionBase.c.

700 {
702 return m_VariantManager.GetActionsCount();
703
704 return 0;
705 }

References m_VariantManager.

◆ HandleReciveData()

void HandleReciveData ( ActionReciveData action_recive_data,
ActionData action_data )
protected

Definition at line 485 of file ActionBase.c.

486 {
487 action_data.m_MainItem = action_recive_data.m_MainItem;
488
489 if (HasTarget())
490 {
491 if (action_recive_data.m_Target)
492 action_data.m_Target = action_recive_data.m_Target;
493 else
494 {
495 Error("Action target not created.");
496 action_data.m_Target = new ActionTarget(NULL, NULL, -1, vector.Zero, 0);
497 }
498 }
499 }
class ActionTargets ActionTarget
static const vector Zero
Definition EnConvert.c:110
void Error(string err)
Messagebox with error message.
Definition EnDebug.c:90

References ActionTarget, Error(), HasTarget(), and vector::Zero.

Referenced by SetupAction().

◆ HasProgress()

bool HasProgress ( )
protected

For UI: hiding of progress bar.

Definition at line 216 of file ActionBase.c.

217 {
218 return true;
219 }

◆ HasProneException()

bool HasProneException ( )
protected

Definition at line 527 of file ActionBase.c.

528 {
529 return false;
530 }

Referenced by GetStanceMask(), and IsFullBody().

◆ HasTarget()

bool HasTarget ( )
protected

Action is performed on target, not with item itself, when set to true.

  • target will be synced to server
  • UI: floating widget will be displayed at target pos

Definition at line 210 of file ActionBase.c.

211 {
212 return true;
213 }

Referenced by ActionBase(), Can(), HandleReciveData(), InventoryReservation(), ReadFromContext(), ActionRepairCarChassis::ReadFromContext(), ActionRepairPart::ReadFromContext(), ActionManagerClient::UpdateActionCategoryPriority(), WriteToContext(), ActionRepairCarChassis::WriteToContext(), and ActionRepairPart::WriteToContext().

◆ HasVariants()

bool HasVariants ( )
protected

Definition at line 694 of file ActionBase.c.

695 {
696 return m_VariantManager != null;
697 }

References m_VariantManager.

◆ InformPlayers()

void InformPlayers ( PlayerBase player,
ActionTarget target,
int state )
protected

◆ InitConditionMask()

void InitConditionMask ( )
protected

Definition at line 95 of file ActionBase.c.

96 {
97 m_ConditionMask = ActionConditionMask.ACM_NO_EXEPTION;
99 m_ConditionMask |= ActionConditionMask.ACM_IN_VEHICLE;
100
101 if (CanBeUsedOnLadder())
102 m_ConditionMask |= ActionConditionMask.ACM_ON_LADDER;
103
104 if (CanBeUsedSwimming())
105 m_ConditionMask |= ActionConditionMask.ACM_SWIMMING;
106
108 m_ConditionMask |= ActionConditionMask.ACM_RESTRAIN;
109
110 if (CanBeUsedRaised())
112
113 if (CanBeUsedOnBack())
115
116 if (CanBeUsedThrowing())
117 m_ConditionMask |= ActionConditionMask.ACM_THROWING;
118
119 if (CanBeUsedLeaning())
121
123 m_ConditionMask |= ActionConditionMask.ACM_BROKEN_LEGS;
124 }
bool CanBeUsedWithBrokenLegs()
Definition ActionBase.c:324
bool CanBeUsedRaised()
Definition ActionBase.c:309
bool CanBeUsedThrowing()
Definition ActionBase.c:314
bool CanBeUsedSwimming()
Definition ActionBase.c:299
bool CanBeUsedOnBack()
Definition ActionBase.c:294
bool CanBeUsedInRestrain()
Definition ActionBase.c:284
bool CanBeUsedLeaning()
Definition ActionBase.c:319
bool CanBeUsedInVehicle()
Definition ActionBase.c:289
bool CanBeUsedOnLadder()
Definition ActionBase.c:304

References CanBeUsedInRestrain(), CanBeUsedInVehicle(), CanBeUsedLeaning(), CanBeUsedOnBack(), CanBeUsedOnLadder(), CanBeUsedRaised(), CanBeUsedSwimming(), CanBeUsedThrowing(), CanBeUsedWithBrokenLegs(), and m_ConditionMask.

Referenced by ActionBase().

◆ Interrupt()

void Interrupt ( ActionData action_data)
protected

Definition at line 572 of file ActionBase.c.

573 {
575 }
void End()
called on surrender end request end

References End().

◆ InventoryReservation()

bool InventoryReservation ( ActionData action_data)
protected

Definition at line 740 of file ActionBase.c.

741 {
742 if ((IsLocal() || !UseAcknowledgment()) && IsInstant())
743 return true;
744
745 //action_data.m_ReservedInventoryLocations = new array<ref InventoryLocation>;
746 bool success = true;
749
750 // lock target if it has target
751 if (HasTarget())
752 {
754 if (ItemBase.CastTo(targetItem, action_data.m_Target.GetObject()))
755 {
757 targetItem.GetInventory().GetCurrentInventoryLocation(targetInventoryLocation);
758 if (action_data.m_Player.GetInventory().HasInventoryReservation(targetItem, targetInventoryLocation))
759 success = false;
760 else
761 action_data.m_Player.GetInventory().AddInventoryReservationEx(targetItem, targetInventoryLocation, GameInventory.c_InventoryReservationTimeoutMS);
762 }
763 }
764
766 handInventoryLocation.SetHands(action_data.m_Player, action_data.m_Player.GetItemInHands());
767
768 if (action_data.m_Player.GetInventory().HasInventoryReservation(action_data.m_Player.GetItemInHands(), handInventoryLocation))
769 {
770 if (HasTarget())
771 action_data.m_Player.GetInventory().ClearInventoryReservation(targetItem, targetInventoryLocation);
772
773 success = false;
774 }
775 else
776 action_data.m_Player.GetInventory().AddInventoryReservationEx(action_data.m_Player.GetItemInHands(), handInventoryLocation, GameInventory.c_InventoryReservationTimeoutMS);
777
778 if (success)
779 {
781 action_data.m_ReservedInventoryLocations.Insert(targetInventoryLocation);
782
784 action_data.m_ReservedInventoryLocations.Insert(handInventoryLocation);
785 }
786
787 return success;
788 }
bool UseAcknowledgment()
Definition ActionBase.c:821
bool IsLocal()
Definition ActionBase.c:222
bool IsInstant()
Definition ActionBase.c:228
script counterpart to engine's class Inventory
Definition Inventory.c:79
const int c_InventoryReservationTimeoutMS
reservations
Definition Inventory.c:687

References GameInventory::c_InventoryReservationTimeoutMS, HasTarget(), IsInstant(), IsLocal(), and UseAcknowledgment().

Referenced by SetupAction().

◆ IsBuilding()

bool IsBuilding ( ActionTarget target)
protected

Definition at line 846 of file ActionBase.c.

847 {
848 return target.GetObject() && target.GetObject().IsBuilding();
849 }

Referenced by ActionLockDoors::ActionCondition(), ActionUnlockDoors::ActionCondition(), ActionCloseDoors::ActionCondition(), and ActionOpenDoors::ActionCondition().

◆ IsDamageDestroyed()

◆ IsDeploymentAction()

bool IsDeploymentAction ( )
protected

Is an action directly related to deployment/advanced placing.

Definition at line 330 of file ActionBase.c.

331 {
332 return false;
333 }

Referenced by OnStart().

◆ IsDrink()

bool IsDrink ( )
protected

Definition at line 254 of file ActionBase.c.

255 {
256 return false;
257 }

Referenced by AnimatedActionBase::End().

◆ IsEat()

bool IsEat ( )
protected

Definition at line 249 of file ActionBase.c.

250 {
251 return false;
252 }

Referenced by AnimatedActionBase::End().

◆ IsFullBody()

bool IsFullBody ( PlayerBase player)
protected

Definition at line 519 of file ActionBase.c.

520 {
521 if (HasProneException())
522 return !(player.IsPlayerInStance(DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT));
523 return m_FullBody;
524 }

References HasProneException(), and m_FullBody.

◆ IsInReach()

bool IsInReach ( PlayerBase player,
ActionTarget target,
float maxDistance = 1.0 )
protected

Definition at line 856 of file ActionBase.c.

857 {
858 Object obj = target.GetObject();
859 if (!obj)
860 return false;
861
864
865 // we're using sq distance in comparison
867
868 // get position of Head bone
870
872 obj.GetActionComponentNameList(target.GetComponentIndex(), componentNames);
873 foreach (string componentName : componentNames)
874 {
875 if (componentName.Contains("doorstwin"))
876 continue;
877
878 modelPos = obj.GetSelectionPositionMS(componentName);
879 worldPos = obj.ModelToWorld(modelPos);
880
881 break;
882 }
883
884 distanceRoot = vector.DistanceSq(worldPos, player.GetPosition());
886
888 }
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.

References vector::DistanceSq().

Referenced by ActionCondition(), ActionLockDoors::ActionCondition(), ActionPushCar::ActionCondition(), ActionUnlockDoors::ActionCondition(), ActionCloseDoors::ActionCondition(), ActionOpenDoors::ActionCondition(), ActionAnimateCarSelection::ActionCondition(), ActionAnimateSeats::ActionCondition(), ActionCarDoorsOutside::ActionCondition(), ActionClapBearTrapWithThisItem::ActionCondition(), ActionCreateIndoorFireplace::ActionCondition(), ActionCreateIndoorOven::ActionCondition(), ActionPlaceFireplaceIndoor::ActionCondition(), ActionPlaceOvenIndoor::ActionCondition(), and ActionDestroyPart::DestroyCondition().

◆ IsInstant()

◆ IsLocal()

bool IsLocal ( )
protected

◆ IsLockTargetOnUse()

bool IsLockTargetOnUse ( )
protected

Definition at line 90 of file ActionBase.c.

91 {
92 return m_LockTargetOnUse;
93 }

References m_LockTargetOnUse.

◆ IsShaveSelf()

bool IsShaveSelf ( )
protected

Definition at line 259 of file ActionBase.c.

260 {
261 return false;
262 }

◆ IsTransport()

bool IsTransport ( ActionTarget target)
protected

Definition at line 851 of file ActionBase.c.

852 {
853 return target.GetObject() && target.GetObject().IsTransport();
854 }

Referenced by ActionFillBrakes::ActionCondition(), ActionFillFuel::ActionCondition(), and ActionFillOil::ActionCondition().

◆ IsUsingProxies()

bool IsUsingProxies ( )
protected

not using plane object - it's using multiple proxies

Definition at line 234 of file ActionBase.c.

235 {
236 return false;
237 }

Referenced by ReadFromContext(), and WriteToContext().

◆ MainItemAlwaysInHands()

bool MainItemAlwaysInHands ( )
protected

Definition at line 340 of file ActionBase.c.

341 {
342 return true;
343 }

Referenced by SetupAction().

◆ OnActionInfoUpdate()

void OnActionInfoUpdate ( PlayerBase player,
ActionTarget target,
ItemBase item )
protected

Definition at line 909 of file ActionBase.c.

910 {
911 }

◆ OnEnd()

void OnEnd ( ActionData action_data)
protected

Definition at line 954 of file ActionBase.c.

955 {
956
957 }

◆ OnEndClient()

void OnEndClient ( ActionData action_data)
protected

Definition at line 959 of file ActionBase.c.

960 {}

Referenced by End(), and AnimatedActionBase::End().

◆ OnEndInput()

void OnEndInput ( ActionData action_data)
protected

Definition at line 577 of file ActionBase.c.

578 {}

Referenced by EndInput().

◆ OnEndRequest()

void OnEndRequest ( ActionData action_data)
protected

Definition at line 586 of file ActionBase.c.

587 {}

Referenced by EndRequest().

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)
protected

Original action didn't add any noise to the NoiseSystem

Definition at line 962 of file ActionBase.c.

963 {
964 }

Referenced by End(), and AnimatedActionBase::End().

◆ OnStart()

void OnStart ( ActionData action_data)
protected

Definition at line 940 of file ActionBase.c.

941 {
942 if (action_data.m_Player != NULL && action_data.m_Player.IsPlacingLocal() && !IsDeploymentAction())
943 action_data.m_Player.PlacingCancelLocal();
944 }
bool IsDeploymentAction()
Is an action directly related to deployment/advanced placing.
Definition ActionBase.c:330

References IsDeploymentAction().

◆ OnStartClient()

void OnStartClient ( ActionData action_data)
protected

Definition at line 946 of file ActionBase.c.

947 {}

Referenced by Start().

◆ OnStartServer()

void OnStartServer ( ActionData action_data)
protected

Definition at line 949 of file ActionBase.c.

950 {
951
952 }

Referenced by Start().

◆ OnUpdate()

void OnUpdate ( ActionData action_data)
protected

Definition at line 920 of file ActionBase.c.

921 {}

◆ OnUpdateClient()

void OnUpdateClient ( ActionData action_data)
protected

Definition at line 923 of file ActionBase.c.

924 {
925 if (!GetGame().IsDedicatedServer())
926 {
927 if (action_data.m_RefreshReservationTimer > 0)
928 action_data.m_RefreshReservationTimer--;
929 else
930 {
931 action_data.m_RefreshReservationTimer = m_RefreshReservationTimerValue;
933 }
934 }
935 }
void RefreshReservations(ActionData action_data)
Definition ActionBase.c:806

References GetGame(), m_RefreshReservationTimerValue, and RefreshReservations().

◆ OnUpdateServer()

void OnUpdateServer ( ActionData action_data)
protected

Definition at line 937 of file ActionBase.c.

938 {}

◆ PlayActionSound()

SoundOnVehicle PlayActionSound ( PlayerBase player)
protected

Definition at line 893 of file ActionBase.c.

894 {
895 if (GetGame().IsServer() && player)
896 {
897 if (m_Sound != "")
898 return GetGame().CreateSoundOnObject(player, m_Sound, 6, false);
899 else if (m_Sounds && m_Sounds.Count() > 0)
900 {
901 int rand_num = Math.RandomInt(0, m_Sounds.Count());
902 return GetGame().CreateSoundOnObject(player, m_Sounds.Get(rand_num), 6, false);
903 }
904 }
905
906 return NULL;
907 }
Definition EnMath.c:7
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].

References GetGame(), m_Sound, m_Sounds, and Math::RandomInt().

◆ Post_SetupAction()

bool Post_SetupAction ( ActionData action_data)
protected

Definition at line 173 of file ActionBase.c.

174 {
175 return true;
176 }

Referenced by SetupAction().

◆ ReadFromContext()

bool ReadFromContext ( ParamsReadContext ctx,
out ActionReciveData action_recive_data )
protected

create target object from proxyBoneIdx synced from client

Definition at line 414 of file ActionBase.c.

415 {
417 action_recive_data = new ActionReciveData;
420 int componentIndex = -1;
421 int proxyBoneIdx = -1;
424
425 ref ActionTarget target;
426
427 if (UseMainItem())
428 {
429 if (!ctx.Read(mainItem))
430 return false;
431 }
432
433 if (HasTarget() && !IsUsingProxies())
434 {
435 if (!ctx.Read(actionTargetObject))
436 return false;
437
438 if (!ctx.Read(actionTargetParent))
439 return false;
440
441 if (!ctx.Read(componentIndex))
442 return false;
443
444 if (!ctx.Read(cursorHitPos))
445 return false;
446
448
449 action_recive_data.m_Target = target;
450 }
451 else if (HasTarget() && IsUsingProxies())
452 {
453 if (!ctx.Read(proxyBoneIdx))
454 return false;
455
456 if (!ctx.Read(actionTargetParent))
457 return false;
458
459 if (!ctx.Read(componentIndex))
460 return false;
461
462 if (!ctx.Read(cursorHitPos))
463 return false;
464
466 if (proxyBoneIdx > -1)
467 {
469
470 if (entParent)
472 }
473 else
474 return false;
475
477
478 action_recive_data.m_Target = target;
479 }
480
481 action_recive_data.m_MainItem = mainItem;
482 return true;
483 }
bool IsUsingProxies()
not using plane object - it's using multiple proxies
Definition ActionBase.c:234
bool UseMainItem()
Definition ActionBase.c:335
Definition Camera.c:2

References ActionTarget, HasTarget(), IsUsingProxies(), UseMainItem(), and vector::Zero.

◆ RefreshReservations()

void RefreshReservations ( ActionData action_data)
protected

Definition at line 806 of file ActionBase.c.

807 {
808 if (action_data.m_ReservedInventoryLocations)
809 {
811 for (int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
812 {
813 il = action_data.m_ReservedInventoryLocations.Get(i);
814 EntityAI entity = il.GetItem();
815 action_data.m_Player.GetInventory().ExtendInventoryReservationEx(il.GetItem(), il, 10000);
816 }
817 }
818 }

Referenced by OnUpdateClient().

◆ RemoveForceTargetAfterUse()

bool RemoveForceTargetAfterUse ( )
protected

Definition at line 239 of file ActionBase.c.

240 {
241 return true;
242 }

◆ SendMessageToClient()

void SendMessageToClient ( Object reciever,
string message )
protected

Definition at line 829 of file ActionBase.c.

830 {
832 if (GetGame().IsServer() && Class.CastTo(man, reciever) && m_MessageParam && reciever.IsAlive() && message != "")
833 {
834 m_MessageParam.param1 = message;
835 GetGame().RPCSingleParam(man, ERPCs.RPC_USER_ACTION_MESSAGE, m_MessageParam, true, man.GetIdentity());
836 }
837 }
ERPCs
Definition ERPCs.c:2
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

References Class::CastTo(), GetGame(), and m_MessageParam.

Referenced by ActionDisinfectPlantBit::OnExecuteServer().

◆ SetID()

void SetID ( int actionId)
protected

Definition at line 994 of file ActionBase.c.

995 {
997 }

References m_ActionID.

◆ SetInput()

◆ SetupAction()

bool SetupAction ( PlayerBase player,
ActionTarget target,
ItemBase item,
out ActionData action_data,
Param extra_data = NULL )
protected

Definition at line 126 of file ActionBase.c.

127 {
129 action_data.m_Action = this;
130 action_data.m_Player = player;
131 action_data.m_Target = target;
132 action_data.m_MainItem = item;
133 action_data.m_PossibleStanceMask = GetStanceMask(player);
134 action_data.m_ReservedInventoryLocations = new array<ref InventoryLocation>;
135 action_data.m_RefreshReservationTimer = m_RefreshReservationTimerValue;
136 action_data.m_WasExecuted = false;
137 action_data.m_WasActionStarted = false;
138 action_data.m_ReciveEndInput = false;
139
140 ActionReciveData action_recive_data = player.GetActionManager().GetReciveData();
142 {
144
146 {
147 if (player.GetItemInHands() != action_data.m_MainItem)
148 return false;
149 }
150 }
151
153 return false;
154
155 if ((!GetGame().IsDedicatedServer()) && !IsInstant())
156 {
158 {
160 return false;
161 }
162
164 {
165 for (int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
166 Debug.ActionLog(InventoryLocation.DumpToStringNullSafe(action_data.m_ReservedInventoryLocations[i]), action_data.m_Action.ToString(), "n/a", "LockInventoryList", action_data.m_Player.ToString());
167 }
168 }
169
170 return true;
171 }
ActionData CreateActionData()
Definition ActionBase.c:191
bool InventoryReservation(ActionData action_data)
Definition ActionBase.c:740
bool MainItemAlwaysInHands()
Definition ActionBase.c:340
void ClearInventoryReservationEx(ActionData action_data)
Definition ActionBase.c:790
void HandleReciveData(ActionReciveData action_recive_data, ActionData action_data)
Definition ActionBase.c:485
bool Post_SetupAction(ActionData action_data)
Definition ActionBase.c:173
Definition Debug.c:14
static void ActionLog(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Definition Debug.c:143
static string DumpToStringNullSafe(InventoryLocation loc)
static bool IsActionLogEnable()
Definition Debug.c:719

References Debug::ActionLog(), ClearInventoryReservationEx(), CreateActionData(), InventoryLocation::DumpToStringNullSafe(), GetGame(), GetStanceMask(), HandleReciveData(), InventoryReservation(), LogManager::IsActionLogEnable(), IsInstant(), m_RefreshReservationTimerValue, MainItemAlwaysInHands(), Post_SetupAction(), and UseMainItem().

◆ SetVariantID()

void SetVariantID ( int ID)
protected

Definition at line 715 of file ActionBase.c.

716 {
717 m_VariantID = ID;
718 }

References m_VariantID.

◆ Start()

override void Start ( ActionData action_data)
protected

Definition at line 534 of file ActionBase.c.

535 {
536 action_data.m_State = UA_START;
537
539 Debug.ActionLog("Time stamp: " + action_data.m_Player.GetSimulationTimeStamp(), this.ToString(), "n/a", "OnStart", action_data.m_Player.ToString());
540
542
543 if (GetGame().IsServer())
544 {
546
548 if (soundCat)
549 action_data.m_Player.SetSoundCategoryHash(soundCat.Hash());
550 }
551 else
553
554 InformPlayers(action_data.m_Player, action_data.m_Target, UA_START);
555 }
void InformPlayers(PlayerBase player, ActionTarget target, int state)
DEPRECATED delivers message ids to clients based on given context.
string GetSoundCategory(ActionData action_data)
Definition ActionBase.c:914
void OnStartClient(ActionData action_data)
Definition ActionBase.c:946
void OnStartServer(ActionData action_data)
Definition ActionBase.c:949
void OnStart(ActionData action_data)
Definition ActionBase.c:940
const int UA_START
Definition constants.c:439

References Debug::ActionLog(), GetGame(), GetSoundCategory(), InformPlayers(), LogManager::IsActionLogEnable(), OnStart(), OnStartClient(), OnStartServer(), and UA_START.

◆ UpdateVariants()

void UpdateVariants ( Object item,
Object target,
int componet_index )
protected

Definition at line 725 of file ActionBase.c.

726 {
728 m_VariantManager.UpdateVariants(item, target, componet_index);
729 }

References m_VariantManager.

◆ UseAcknowledgment()

bool UseAcknowledgment ( )
protected

◆ UseMainItem()

bool UseMainItem ( )
protected

Definition at line 335 of file ActionBase.c.

336 {
337 return true;
338 }

Referenced by ReadFromContext(), SetupAction(), and WriteToContext().

◆ WriteToContext()

void WriteToContext ( ParamsWriteContext ctx,
ActionData action_data )
protected

get proxy bone idx from parent and selection we are looking at ID is used for synchronisation to server where it's translated back to object

Definition at line 362 of file ActionBase.c.

363 {
364 int componentIndex = -1;
365 int proxyBoneIdx = -1;
367
369
372
373 if (UseMainItem())
374 ctx.Write(action_data.m_MainItem);
375
376 if (HasTarget() && !IsUsingProxies())
377 {
378 // callback data
379 targetObject = action_data.m_Target.GetObject();
380 ctx.Write(targetObject);
381 targetParent = action_data.m_Target.GetParent();
382 ctx.Write(targetParent);
383 componentIndex = action_data.m_Target.GetComponentIndex();
384 ctx.Write(componentIndex);
385 cursorHitPos = action_data.m_Target.GetCursorHitPos();
386 ctx.Write(cursorHitPos);
387 }
388 else if (HasTarget() && IsUsingProxies())
389 {
392 Entity entParent = Entity.Cast(action_data.m_Target.GetParent());
393 if (entParent)
394 {
395 action_data.m_Target.GetObject().GetActionComponentNameList(action_data.m_Target.GetComponentIndex(), selectionNames);
396 for (int s = 0; s < selectionNames.Count(); s++)
397 {
398 proxyBoneIdx = entParent.GetBoneIndex(selectionNames[s]);
399 if (proxyBoneIdx > -1)
400 break;
401 }
402 }
403
404 ctx.Write(proxyBoneIdx);
405 targetParent = action_data.m_Target.GetParent();
406 ctx.Write(targetParent);
407 componentIndex = action_data.m_Target.GetComponentIndex();
408 ctx.Write(componentIndex);
409 cursorHitPos = action_data.m_Target.GetCursorHitPos();
410 ctx.Write(cursorHitPos);
411 }
412 }

References HasTarget(), IsUsingProxies(), UseMainItem(), and vector::Zero.

Variable Documentation

◆ m_ActionID

int m_ActionID
protected

Definition at line 58 of file ActionBase.c.

Referenced by ActionBase(), GetID(), and SetID().

◆ m_ConditionItem

ref CCIBase m_ConditionItem
protected

Definition at line 55 of file ActionBase.c.

Referenced by Can(), CanContinue(), CreateConditionComponents(), ActionInteractBase::CreateConditionComponents(), ActionBreakLongWoodenStick::CreateConditionComponents(), ActionBuildPart::CreateConditionComponents(), ActionBuryBody::CreateConditionComponents(), ActionConsume::CreateConditionComponents(), ActionCookOnStick::CreateConditionComponents(), ActionCoverHeadSelf::CreateConditionComponents(), ActionCoverHeadTarget::CreateConditionComponents(), ActionCraft::CreateConditionComponents(), ActionCraftBolts::CreateConditionComponents(), ActionCraftBoltsFeather::CreateConditionComponents(), ActionCraftBoneKnife::CreateConditionComponents(), ActionCraftBoneKnifeEnv::CreateConditionComponents(), ActionCraftImprovisedEyePatch::CreateConditionComponents(), ActionCraftImprovisedFaceCover::CreateConditionComponents(), ActionCraftImprovisedFeetCover::CreateConditionComponents(), ActionCraftImprovisedHandsCover::CreateConditionComponents(), ActionCraftImprovisedHeadCover::CreateConditionComponents(), ActionCraftImprovisedLegsCover::CreateConditionComponents(), ActionCraftImprovisedTorsoCover::CreateConditionComponents(), ActionCraftRopeBelt::CreateConditionComponents(), ActionCraftStoneKnifeEnv::CreateConditionComponents(), ActionCreateGreenhouseGardenPlot::CreateConditionComponents(), ActionDestroyCombinationLock::CreateConditionComponents(), ActionDestroyPart::CreateConditionComponents(), ActionDigInStash::CreateConditionComponents(), ActionDigWorms::CreateConditionComponents(), ActionDisinfectPlant::CreateConditionComponents(), ActionDismantleGardenPlot::CreateConditionComponents(), ActionDismantlePart::CreateConditionComponents(), ActionDrainLiquid::CreateConditionComponents(), ActionDrink::CreateConditionComponents(), ActionDrinkThroughContinuous::CreateConditionComponents(), ActionEatBig::CreateConditionComponents(), ActionEmptyBottleBase::CreateConditionComponents(), ActionEmptyMagazine::CreateConditionComponents(), ActionFertilizeSlot::CreateConditionComponents(), ActionFillBottleBase::CreateConditionComponents(), ActionFillGeneratorTank::CreateConditionComponents(), ActionFillObject::CreateConditionComponents(), ActionFishingNew::CreateConditionComponents(), ActionForceDrink::CreateConditionComponents(), ActionForceFeedSmall::CreateConditionComponents(), ActionForceFeedMeat::CreateConditionComponents(), ActionGagSelf::CreateConditionComponents(), ActionGagTarget::CreateConditionComponents(), ActionIgniteFireplaceByAir::CreateConditionComponents(), ActionLoadMagazine::CreateConditionComponents(), ActionLoadMagazineQuick::CreateConditionComponents(), ActionLockAttachment::CreateConditionComponents(), ActionLockDoors::CreateConditionComponents(), ActionLowerFlag::CreateConditionComponents(), ActionMineBush::CreateConditionComponents(), ActionMineBushByHand::CreateConditionComponents(), ActionMineRock::CreateConditionComponents(), ActionMountBarbedWire::CreateConditionComponents(), ActionPackGift::CreateConditionComponents(), ActionPlaceOnGround::CreateConditionComponents(), ActionPourLiquid::CreateConditionComponents(), ActionPushCar::CreateConditionComponents(), ActionRaiseFlag::CreateConditionComponents(), ActionRefuelTorch::CreateConditionComponents(), ActionRepairCarChassis::CreateConditionComponents(), ActionRepairPart::CreateConditionComponents(), ActionRepairShelter::CreateConditionComponents(), ActionRepairTent::CreateConditionComponents(), ActionRepairTentPart::CreateConditionComponents(), ActionRestrainSelf::CreateConditionComponents(), ActionRestrainTarget::CreateConditionComponents(), ActionSawPlanks::CreateConditionComponents(), ActionShave::CreateConditionComponents(), ActionShaveTarget::CreateConditionComponents(), ActionSortAmmoPile::CreateConditionComponents(), ActionStripCarrierVest::CreateConditionComponents(), ActionTransferLiquid::CreateConditionComponents(), ActionUncoverHeadTarget::CreateConditionComponents(), ActionUngagSelf::CreateConditionComponents(), ActionUngagTarget::CreateConditionComponents(), ActionUnlockDoors::CreateConditionComponents(), ActionUnmountBarbedWire::CreateConditionComponents(), ActionUnpackBox::CreateConditionComponents(), ActionUnpackGift::CreateConditionComponents(), ActionUnrestrainSelf::CreateConditionComponents(), ActionUnrestrainTarget::CreateConditionComponents(), ActionUnrestrainTargetHands::CreateConditionComponents(), ActionUpgradeTorchFromGasPump::CreateConditionComponents(), ActionUseRangefinder::CreateConditionComponents(), ActionViewCompass::CreateConditionComponents(), ActionViewOptics::CreateConditionComponents(), ActionWashHandsItemContinuous::CreateConditionComponents(), ActionWaterGardenSlot::CreateConditionComponents(), ActionWaterPlant::CreateConditionComponents(), ActionWorldCraft::CreateConditionComponents(), ActionWringClothes::CreateConditionComponents(), ActionDeployBase::CreateConditionComponents(), ActionDeployHuntingTrap::CreateConditionComponents(), ActionBurnSewSelf::CreateConditionComponents(), ActionBurnSewTarget::CreateConditionComponents(), ActionCheckPulse::CreateConditionComponents(), ActionCheckPulseTarget::CreateConditionComponents(), ActionCollectBloodSelf::CreateConditionComponents(), ActionCollectBloodTarget::CreateConditionComponents(), ActionCollectSampleSelf::CreateConditionComponents(), ActionCollectSampleTarget::CreateConditionComponents(), ActionCPR::CreateConditionComponents(), ActionDefibrilateSelf::CreateConditionComponents(), ActionDefibrilateTarget::CreateConditionComponents(), ActionGiveBloodSelf::CreateConditionComponents(), ActionGiveBloodTarget::CreateConditionComponents(), ActionGiveSalineSelf::CreateConditionComponents(), ActionGiveSalineTarget::CreateConditionComponents(), ActionMeasureTemperatureSelf::CreateConditionComponents(), ActionMeasureTemperatureTarget::CreateConditionComponents(), ActionSplintSelf::CreateConditionComponents(), ActionSplintTarget::CreateConditionComponents(), ActionTestBloodSelf::CreateConditionComponents(), ActionTestBloodTarget::CreateConditionComponents(), ActionCarHornLong::CreateConditionComponents(), ActionFillBrakes::CreateConditionComponents(), ActionFillCoolant::CreateConditionComponents(), ActionFillFuel::CreateConditionComponents(), ActionFillOil::CreateConditionComponents(), ActionBuildShelter::CreateConditionComponents(), ActionCloseDoors::CreateConditionComponents(), ActionCloseFence::CreateConditionComponents(), ActionDetachFromTarget::CreateConditionComponents(), ActionEnterLadder::CreateConditionComponents(), ActionExitLadder::CreateConditionComponents(), ActionGetInTransport::CreateConditionComponents(), ActionHandsPartSwitch::CreateConditionComponents(), ActionHarvestCrops::CreateConditionComponents(), ActionNextCombinationLockDialOnTarget::CreateConditionComponents(), ActionOpenDoors::CreateConditionComponents(), ActionOpenFence::CreateConditionComponents(), ActionDeconstructShelter::CreateConditionComponents(), ActionPickBerry::CreateConditionComponents(), ActionPickupChicken::CreateConditionComponents(), ActionPullBodyFromTransport::CreateConditionComponents(), ActionRemovePlant::CreateConditionComponents(), ActionRemoveSeed::CreateConditionComponents(), ActionRepackTent::CreateConditionComponents(), ActionSetAlarmClock::CreateConditionComponents(), ActionSetKitchenTimer::CreateConditionComponents(), ActionTakeArrow::CreateConditionComponents(), ActionTakeArrowToHands::CreateConditionComponents(), ActionTakeHybridAttachment::CreateConditionComponents(), ActionTakeHybridAttachmentToHands::CreateConditionComponents(), ActionTakeItem::CreateConditionComponents(), ActionTakeItemToHands::CreateConditionComponents(), ActionTakeMaterialToHands::CreateConditionComponents(), ActionToggleTentOpen::CreateConditionComponents(), ActionUseUndergroundLever::CreateConditionComponents(), ActionUseUndergroundPanel::CreateConditionComponents(), ActionInteractLoopBase::CreateConditionComponents(), ActionAnimateCarSelection::CreateConditionComponents(), ActionCarDoors::CreateConditionComponents(), ActionCarDoorsOutside::CreateConditionComponents(), ActionSwitchLights::CreateConditionComponents(), ActionAttachOnProxy::CreateConditionComponents(), ActionAttachOnSelection::CreateConditionComponents(), ActionAttachOnTentProxy::CreateConditionComponents(), ActionAttachPowerSourceToPanel::CreateConditionComponents(), ActionAttachToConstruction::CreateConditionComponents(), ActionAttachWithSwitch::CreateConditionComponents(), ActionBuildPartSwitch::CreateConditionComponents(), ActionClapBearTrapWithThisItem::CreateConditionComponents(), ActionClose::CreateConditionComponents(), ActionConsumeSingle::CreateConditionComponents(), ActionCreateIndoorFireplace::CreateConditionComponents(), ActionCreateIndoorOven::CreateConditionComponents(), ActionDisinfectPlantBit::CreateConditionComponents(), ActionEmptySeedsPack::CreateConditionComponents(), ActionFoldEntityToSlot::CreateConditionComponents(), ActionFoldMap::CreateConditionComponents(), ActionForceABite::CreateConditionComponents(), ActionForceASip::CreateConditionComponents(), ActionHandcuffTarget::CreateConditionComponents(), ActionInsertSparkplug::CreateConditionComponents(), ActionMeasureBattery::CreateConditionComponents(), ActionNextCombinationLockDial::CreateConditionComponents(), ActionOpen::CreateConditionComponents(), ActionSingleUseBase::CreateConditionComponents(), ActionPlaceFireplaceIndoor::CreateConditionComponents(), ActionPlaceFireplaceIntoBarrel::CreateConditionComponents(), ActionPlaceOvenIndoor::CreateConditionComponents(), ActionPlantSeed::CreateConditionComponents(), ActionPlugIn::CreateConditionComponents(), ActionPlugIntoFence::CreateConditionComponents(), ActionPlugTargetIntoThis::CreateConditionComponents(), ActionReadPaper::CreateConditionComponents(), ActionRepairWithToolFromHands::CreateConditionComponents(), ActionTakeABite::CreateConditionComponents(), ActionTakeMaterialToHandsSwitch::CreateConditionComponents(), ActionToggleNVG::CreateConditionComponents(), ActionToggleNVMode::CreateConditionComponents(), ActionTogglePlaceObject::CreateConditionComponents(), ActionTriggerRemotely::CreateConditionComponents(), ActionTurnOffHeadtorch::CreateConditionComponents(), ActionTurnOffHelmetFlashlight::CreateConditionComponents(), ActionTurnOffWeaponFlashlight::CreateConditionComponents(), ActionTurnOffWhileInHands::CreateConditionComponents(), ActionTurnOnHeadtorch::CreateConditionComponents(), ActionTurnOnHelmetFlashlight::CreateConditionComponents(), ActionTurnOnWeaponFlashlight::CreateConditionComponents(), ActionTurnOnWhileInHands::CreateConditionComponents(), ActionUnfoldEntity::CreateConditionComponents(), ActionWashHandsItem::CreateConditionComponents(), ActionWorldCraftCancel::CreateConditionComponents(), ActionWorldCraftSwitch::CreateConditionComponents(), ActionWorldFlagActionSwitch::CreateConditionComponents(), ActionWorldLiquidActionSwitch::CreateConditionComponents(), ActionWritePaper::CreateConditionComponents(), ActionZoomIn::CreateConditionComponents(), ActionZoomOut::CreateConditionComponents(), ActionDisinfectTarget::CreateConditionComponents(), ActionInjectSelf::CreateConditionComponents(), ActionInjectTarget::CreateConditionComponents(), ActionStopEngine::CreateConditionComponents(), ActionSwitchSeats::CreateConditionComponents(), FirearmActionAttachMagazineQuick::CreateConditionComponents(), FirearmActionDetachMagazine_Old::CreateConditionComponents(), FirearmActionDetachMagazine::CreateConditionComponents(), FirearmActionLoadMultiBulletQuick::CreateConditionComponents(), FirearmActionLoadMultiBulletRadial::CreateConditionComponents(), FirearmActionMechanicManipulate::CreateConditionComponents(), FirearmActionUnjam::CreateConditionComponents(), and OnActionInfoUpdate().

◆ m_ConditionMask

int m_ConditionMask
protected

Definition at line 60 of file ActionBase.c.

Referenced by _GetSelectedActions(), Can(), InitConditionMask(), and UpdatePossibleActions().

◆ m_ConditionTarget

ref CCTBase m_ConditionTarget
protected

Definition at line 56 of file ActionBase.c.

Referenced by Can(), CanContinue(), CreateConditionComponents(), ActionInteractBase::CreateConditionComponents(), ActionBreakLongWoodenStick::CreateConditionComponents(), ActionBuildPart::CreateConditionComponents(), ActionBuryBody::CreateConditionComponents(), ActionConsume::CreateConditionComponents(), ActionCookOnStick::CreateConditionComponents(), ActionCoverHeadSelf::CreateConditionComponents(), ActionCoverHeadTarget::CreateConditionComponents(), ActionCraft::CreateConditionComponents(), ActionCraftBolts::CreateConditionComponents(), ActionCraftBoltsFeather::CreateConditionComponents(), ActionCraftBoneKnife::CreateConditionComponents(), ActionCraftBoneKnifeEnv::CreateConditionComponents(), ActionCraftImprovisedEyePatch::CreateConditionComponents(), ActionCraftImprovisedFaceCover::CreateConditionComponents(), ActionCraftImprovisedFeetCover::CreateConditionComponents(), ActionCraftImprovisedHandsCover::CreateConditionComponents(), ActionCraftImprovisedHeadCover::CreateConditionComponents(), ActionCraftImprovisedLegsCover::CreateConditionComponents(), ActionCraftImprovisedTorsoCover::CreateConditionComponents(), ActionCraftRopeBelt::CreateConditionComponents(), ActionCraftStoneKnifeEnv::CreateConditionComponents(), ActionCreateGreenhouseGardenPlot::CreateConditionComponents(), ActionDestroyCombinationLock::CreateConditionComponents(), ActionDestroyPart::CreateConditionComponents(), ActionDigInStash::CreateConditionComponents(), ActionDigWorms::CreateConditionComponents(), ActionDisinfectPlant::CreateConditionComponents(), ActionDismantleGardenPlot::CreateConditionComponents(), ActionDismantlePart::CreateConditionComponents(), ActionDrainLiquid::CreateConditionComponents(), ActionDrink::CreateConditionComponents(), ActionDrinkThroughContinuous::CreateConditionComponents(), ActionEatBig::CreateConditionComponents(), ActionEmptyBottleBase::CreateConditionComponents(), ActionEmptyMagazine::CreateConditionComponents(), ActionFertilizeSlot::CreateConditionComponents(), ActionFillBottleBase::CreateConditionComponents(), ActionFillGeneratorTank::CreateConditionComponents(), ActionFillObject::CreateConditionComponents(), ActionFishingNew::CreateConditionComponents(), ActionForceDrink::CreateConditionComponents(), ActionForceFeedSmall::CreateConditionComponents(), ActionForceFeedMeat::CreateConditionComponents(), ActionGagSelf::CreateConditionComponents(), ActionGagTarget::CreateConditionComponents(), ActionIgniteFireplaceByAir::CreateConditionComponents(), ActionLoadMagazine::CreateConditionComponents(), ActionLoadMagazineQuick::CreateConditionComponents(), ActionLockAttachment::CreateConditionComponents(), ActionLockDoors::CreateConditionComponents(), ActionLowerFlag::CreateConditionComponents(), ActionMineBush::CreateConditionComponents(), ActionMineBushByHand::CreateConditionComponents(), ActionMineRock::CreateConditionComponents(), ActionMountBarbedWire::CreateConditionComponents(), ActionPackGift::CreateConditionComponents(), ActionPlaceOnGround::CreateConditionComponents(), ActionPourLiquid::CreateConditionComponents(), ActionPushCar::CreateConditionComponents(), ActionRaiseFlag::CreateConditionComponents(), ActionRefuelTorch::CreateConditionComponents(), ActionRepairCarChassis::CreateConditionComponents(), ActionRepairPart::CreateConditionComponents(), ActionRepairShelter::CreateConditionComponents(), ActionRepairTent::CreateConditionComponents(), ActionRepairTentPart::CreateConditionComponents(), ActionRestrainSelf::CreateConditionComponents(), ActionRestrainTarget::CreateConditionComponents(), ActionSawPlanks::CreateConditionComponents(), ActionShave::CreateConditionComponents(), ActionShaveTarget::CreateConditionComponents(), ActionSortAmmoPile::CreateConditionComponents(), ActionStripCarrierVest::CreateConditionComponents(), ActionTransferLiquid::CreateConditionComponents(), ActionUncoverHeadTarget::CreateConditionComponents(), ActionUngagSelf::CreateConditionComponents(), ActionUngagTarget::CreateConditionComponents(), ActionUnlockDoors::CreateConditionComponents(), ActionUnmountBarbedWire::CreateConditionComponents(), ActionUnpackBox::CreateConditionComponents(), ActionUnpackGift::CreateConditionComponents(), ActionUnrestrainSelf::CreateConditionComponents(), ActionUnrestrainTarget::CreateConditionComponents(), ActionUnrestrainTargetHands::CreateConditionComponents(), ActionUpgradeTorchFromGasPump::CreateConditionComponents(), ActionUseRangefinder::CreateConditionComponents(), ActionViewCompass::CreateConditionComponents(), ActionViewOptics::CreateConditionComponents(), ActionWashHandsItemContinuous::CreateConditionComponents(), ActionWaterGardenSlot::CreateConditionComponents(), ActionWaterPlant::CreateConditionComponents(), ActionWorldCraft::CreateConditionComponents(), ActionWringClothes::CreateConditionComponents(), ActionDeployBase::CreateConditionComponents(), ActionDeployHuntingTrap::CreateConditionComponents(), ActionBurnSewSelf::CreateConditionComponents(), ActionBurnSewTarget::CreateConditionComponents(), ActionCheckPulse::CreateConditionComponents(), ActionCheckPulseTarget::CreateConditionComponents(), ActionCollectBloodSelf::CreateConditionComponents(), ActionCollectBloodTarget::CreateConditionComponents(), ActionCollectSampleSelf::CreateConditionComponents(), ActionCollectSampleTarget::CreateConditionComponents(), ActionCPR::CreateConditionComponents(), ActionDefibrilateSelf::CreateConditionComponents(), ActionDefibrilateTarget::CreateConditionComponents(), ActionGiveBloodSelf::CreateConditionComponents(), ActionGiveBloodTarget::CreateConditionComponents(), ActionGiveSalineSelf::CreateConditionComponents(), ActionGiveSalineTarget::CreateConditionComponents(), ActionMeasureTemperatureSelf::CreateConditionComponents(), ActionMeasureTemperatureTarget::CreateConditionComponents(), ActionSplintSelf::CreateConditionComponents(), ActionSplintTarget::CreateConditionComponents(), ActionTestBloodSelf::CreateConditionComponents(), ActionTestBloodTarget::CreateConditionComponents(), ActionCarHornLong::CreateConditionComponents(), ActionFillBrakes::CreateConditionComponents(), ActionFillCoolant::CreateConditionComponents(), ActionFillFuel::CreateConditionComponents(), ActionFillOil::CreateConditionComponents(), ActionBuildShelter::CreateConditionComponents(), ActionCloseDoors::CreateConditionComponents(), ActionCloseFence::CreateConditionComponents(), ActionDetachFromTarget::CreateConditionComponents(), ActionEnterLadder::CreateConditionComponents(), ActionExitLadder::CreateConditionComponents(), ActionGetInTransport::CreateConditionComponents(), ActionHandsPartSwitch::CreateConditionComponents(), ActionHarvestCrops::CreateConditionComponents(), ActionNextCombinationLockDialOnTarget::CreateConditionComponents(), ActionOpenDoors::CreateConditionComponents(), ActionOpenFence::CreateConditionComponents(), ActionDeconstructShelter::CreateConditionComponents(), ActionPickBerry::CreateConditionComponents(), ActionPickupChicken::CreateConditionComponents(), ActionPullBodyFromTransport::CreateConditionComponents(), ActionRemovePlant::CreateConditionComponents(), ActionRemoveSeed::CreateConditionComponents(), ActionRepackTent::CreateConditionComponents(), ActionSetAlarmClock::CreateConditionComponents(), ActionSetKitchenTimer::CreateConditionComponents(), ActionTakeArrow::CreateConditionComponents(), ActionTakeArrowToHands::CreateConditionComponents(), ActionTakeHybridAttachment::CreateConditionComponents(), ActionTakeHybridAttachmentToHands::CreateConditionComponents(), ActionTakeItem::CreateConditionComponents(), ActionTakeItemToHands::CreateConditionComponents(), ActionTakeMaterialToHands::CreateConditionComponents(), ActionToggleTentOpen::CreateConditionComponents(), ActionUseUndergroundLever::CreateConditionComponents(), ActionUseUndergroundPanel::CreateConditionComponents(), ActionInteractLoopBase::CreateConditionComponents(), ActionAnimateCarSelection::CreateConditionComponents(), ActionCarDoors::CreateConditionComponents(), ActionCarDoorsOutside::CreateConditionComponents(), ActionSwitchLights::CreateConditionComponents(), ActionAttachOnProxy::CreateConditionComponents(), ActionAttachOnSelection::CreateConditionComponents(), ActionAttachOnTentProxy::CreateConditionComponents(), ActionAttachPowerSourceToPanel::CreateConditionComponents(), ActionAttachToConstruction::CreateConditionComponents(), ActionAttachWithSwitch::CreateConditionComponents(), ActionBuildPartSwitch::CreateConditionComponents(), ActionClapBearTrapWithThisItem::CreateConditionComponents(), ActionClose::CreateConditionComponents(), ActionConsumeSingle::CreateConditionComponents(), ActionCreateIndoorFireplace::CreateConditionComponents(), ActionCreateIndoorOven::CreateConditionComponents(), ActionDisinfectPlantBit::CreateConditionComponents(), ActionEmptySeedsPack::CreateConditionComponents(), ActionFoldEntityToSlot::CreateConditionComponents(), ActionFoldMap::CreateConditionComponents(), ActionForceABite::CreateConditionComponents(), ActionForceASip::CreateConditionComponents(), ActionHandcuffTarget::CreateConditionComponents(), ActionInsertSparkplug::CreateConditionComponents(), ActionMeasureBattery::CreateConditionComponents(), ActionNextCombinationLockDial::CreateConditionComponents(), ActionOpen::CreateConditionComponents(), ActionSingleUseBase::CreateConditionComponents(), ActionPlaceFireplaceIndoor::CreateConditionComponents(), ActionPlaceFireplaceIntoBarrel::CreateConditionComponents(), ActionPlaceOvenIndoor::CreateConditionComponents(), ActionPlantSeed::CreateConditionComponents(), ActionPlugIn::CreateConditionComponents(), ActionPlugIntoFence::CreateConditionComponents(), ActionPlugTargetIntoThis::CreateConditionComponents(), ActionReadPaper::CreateConditionComponents(), ActionRepairWithToolFromHands::CreateConditionComponents(), ActionTakeABite::CreateConditionComponents(), ActionTakeMaterialToHandsSwitch::CreateConditionComponents(), ActionToggleNVG::CreateConditionComponents(), ActionToggleNVMode::CreateConditionComponents(), ActionTogglePlaceObject::CreateConditionComponents(), ActionTriggerRemotely::CreateConditionComponents(), ActionTurnOffHeadtorch::CreateConditionComponents(), ActionTurnOffHelmetFlashlight::CreateConditionComponents(), ActionTurnOffWeaponFlashlight::CreateConditionComponents(), ActionTurnOffWhileInHands::CreateConditionComponents(), ActionTurnOnHeadtorch::CreateConditionComponents(), ActionTurnOnHelmetFlashlight::CreateConditionComponents(), ActionTurnOnWeaponFlashlight::CreateConditionComponents(), ActionTurnOnWhileInHands::CreateConditionComponents(), ActionUnfoldEntity::CreateConditionComponents(), ActionWashHandsItem::CreateConditionComponents(), ActionWorldCraftCancel::CreateConditionComponents(), ActionWorldCraftSwitch::CreateConditionComponents(), ActionWorldFlagActionSwitch::CreateConditionComponents(), ActionWorldLiquidActionSwitch::CreateConditionComponents(), ActionWritePaper::CreateConditionComponents(), ActionZoomIn::CreateConditionComponents(), ActionZoomOut::CreateConditionComponents(), ActionDisinfectTarget::CreateConditionComponents(), ActionInjectSelf::CreateConditionComponents(), ActionInjectTarget::CreateConditionComponents(), ActionStopEngine::CreateConditionComponents(), ActionSwitchSeats::CreateConditionComponents(), FirearmActionAttachMagazineQuick::CreateConditionComponents(), FirearmActionDetachMagazine_Old::CreateConditionComponents(), FirearmActionDetachMagazine::CreateConditionComponents(), FirearmActionLoadMultiBulletQuick::CreateConditionComponents(), FirearmActionLoadMultiBulletRadial::CreateConditionComponents(), FirearmActionMechanicManipulate::CreateConditionComponents(), FirearmActionUnjam::CreateConditionComponents(), and OnActionInfoUpdate().

◆ m_FullBody

bool m_FullBody
protected

Definition at line 52 of file ActionBase.c.

Referenced by ActionBase(), ActionBreakLongWoodenStick::ActionBreakLongWoodenStick(), ActionBuildPart::ActionBuildPart(), ActionBuildPartSwitch::ActionBuildPartSwitch(), ActionBuildShelter::ActionBuildShelter(), ActionBuryBody::ActionBuryBody(), ActionCheckPulseTarget::ActionCheckPulseTarget(), ActionClapBearTrapWithThisItem::ActionClapBearTrapWithThisItem(), ActionCollectBloodSelf::ActionCollectBloodSelf(), ActionCollectBloodTarget::ActionCollectBloodTarget(), ActionCollectSampleSelf::ActionCollectSampleSelf(), ActionCollectSampleTarget::ActionCollectSampleTarget(), ActionCookOnStick::ActionCookOnStick(), ActionCPR::ActionCPR(), ActionCraft::ActionCraft(), ActionCraftBolts::ActionCraftBolts(), ActionCraftBoltsFeather::ActionCraftBoltsFeather(), ActionCraftBoneKnife::ActionCraftBoneKnife(), ActionCraftBoneKnifeEnv::ActionCraftBoneKnifeEnv(), ActionCraftImprovisedEyePatch::ActionCraftImprovisedEyePatch(), ActionCraftImprovisedFaceCover::ActionCraftImprovisedFaceCover(), ActionCraftImprovisedFeetCover::ActionCraftImprovisedFeetCover(), ActionCraftImprovisedHandsCover::ActionCraftImprovisedHandsCover(), ActionCraftImprovisedHeadCover::ActionCraftImprovisedHeadCover(), ActionCraftImprovisedLegsCover::ActionCraftImprovisedLegsCover(), ActionCraftImprovisedTorsoCover::ActionCraftImprovisedTorsoCover(), ActionCraftRopeBelt::ActionCraftRopeBelt(), ActionCraftStoneKnifeEnv::ActionCraftStoneKnifeEnv(), ActionCreateGreenhouseGardenPlot::ActionCreateGreenhouseGardenPlot(), ActionDeconstructShelter::ActionDeconstructShelter(), ActionDefibrilateSelf::ActionDefibrilateSelf(), ActionDefibrilateTarget::ActionDefibrilateTarget(), ActionDeployBase::ActionDeployBase(), ActionDestroyCombinationLock::ActionDestroyCombinationLock(), ActionDestroyPart::ActionDestroyPart(), ActionDigGardenPlot::ActionDigGardenPlot(), ActionDigInStash::ActionDigInStash(), ActionDigWorms::ActionDigWorms(), ActionDisinfectPlant::ActionDisinfectPlant(), ActionDisinfectSelf(), ActionDisinfectTarget::ActionDisinfectTarget(), ActionDismantleGardenPlot::ActionDismantleGardenPlot(), ActionDismantlePart::ActionDismantlePart(), ActionDrinkPondContinuous(), ActionEmptyBottleBase::ActionEmptyBottleBase(), ActionEmptySeedsPack::ActionEmptySeedsPack(), ActionFertilizeSlot::ActionFertilizeSlot(), ActionFillBottleBase::ActionFillBottleBase(), ActionFillBrakes::ActionFillBrakes(), ActionFillCoolant::ActionFillCoolant(), ActionFillFuel::ActionFillFuel(), ActionFillGeneratorTank::ActionFillGeneratorTank(), ActionFillObject::ActionFillObject(), ActionFillOil::ActionFillOil(), ActionFishingNew::ActionFishingNew(), ActionForceConsumeSingle(), ActionForceDrink::ActionForceDrink(), ActionForceFeedSmall::ActionForceFeed(), ActionForceFeedMeat::ActionForceFeedMeat(), ActionGiveBloodSelf::ActionGiveBloodSelf(), ActionGiveBloodTarget::ActionGiveBloodTarget(), ActionGiveSalineSelf::ActionGiveSalineSelf(), ActionGiveSalineTarget::ActionGiveSalineTarget(), ActionHandcuffTarget::ActionHandcuffTarget(), ActionIgniteFireplaceByAir::ActionIgniteFireplaceByAir(), ActionInjectSelf::ActionInjectSelf(), ActionInjectTarget::ActionInjectTarget(), ActionLockAttachment::ActionLockAttachment(), ActionLockDoors::ActionLockDoors(), ActionLowerFlag::ActionLowerFlag(), ActionMeasureTemperatureTarget::ActionMeasureTemperatureTarget(), ActionMineBush::ActionMineBush(), ActionMineBushByHand::ActionMineBushByHand(), ActionMineRock::ActionMineRock(), ActionMineRock1H::ActionMineRock1H(), ActionMineTreeBark::ActionMineTreeBark(), ActionMountBarbedWire::ActionMountBarbedWire(), ActionPickBerry::ActionPickBerry(), ActionPlantSeed::ActionPlantSeed(), ActionPushCar::ActionPushCar(), ActionRaiseFlag::ActionRaiseFlag(), ActionReadPaper::ActionReadPaper(), ActionRepackTent::ActionRepackTent(), ActionRepairCarChassis::ActionRepairCarChassis(), ActionRepairCarEngine(), ActionRepairCarPart(), ActionRepairPart::ActionRepairPart(), ActionRepairShelter::ActionRepairShelter(), ActionRepairTent::ActionRepairTent(), ActionRepairTentPart::ActionRepairTentPart(), ActionRestrainSelf::ActionRestrainSelf(), ActionRestrainTarget::ActionRestrainTarget(), ActionSawPlanks::ActionSawPlanks(), ActionShave::ActionShave(), ActionShaveTarget::ActionShaveTarget(), ActionSplintSelf::ActionSplintSelf(), ActionSplintTarget::ActionSplintTarget(), ActionStripCarrierVest::ActionStripCarrierVest(), ActionTestBloodSelf::ActionTestBloodSelf(), ActionTestBloodTarget::ActionTestBloodTarget(), ActionUncoverHeadTarget::ActionUncoverHeadTarget(), ActionUnlockDoors::ActionUnlockDoors(), ActionUnmountBarbedWire::ActionUnmountBarbedWire(), ActionUnrestrainTarget::ActionUnrestrainTarget(), ActionUnrestrainTargetHands::ActionUnrestrainTargetHands(), ActionUpgradeTorchFromGasPump::ActionUpgradeTorchFromGasPump(), ActionWashHandsItemContinuous::ActionWashHandsItemContinuous(), ActionInteractLoopBase::ActionWashHandsWaterOne(), ActionWaterGardenSlot::ActionWaterGardenSlot(), ActionWaterPlant::ActionWaterPlant(), ActionWorldCraft::ActionWorldCraft(), ActionWringClothes::ActionWringClothes(), ActionWritePaper::ActionWritePaper(), CreateActionComponent(), and IsFullBody().

◆ m_Input

ActionInput m_Input
protected

Definition at line 57 of file ActionBase.c.

Referenced by ActionBase(), GetInput(), and SetInput().

◆ m_LockTargetOnUse

◆ m_MainItem

◆ m_MessageParam

ref Param1<string> m_MessageParam
protected

Definition at line 64 of file ActionBase.c.

Referenced by ActionBase(), and SendMessageToClient().

◆ m_RefreshReservationTimerValue

class ActionData m_RefreshReservationTimerValue = 140

◆ m_Sound

string m_Sound
protected

Definition at line 48 of file ActionBase.c.

◆ m_Sounds

ref TStringArray m_Sounds
protected

Definition at line 54 of file ActionBase.c.

Referenced by ActionBase(), ActionForceASip::ActionForceASip(), and PlayActionSound().

◆ m_SpecialtyWeight

float m_SpecialtyWeight
protected

Definition at line 68 of file ActionBase.c.

Referenced by ActionBreakLongWoodenStick::ActionBreakLongWoodenStick(), ActionBuildPart::ActionBuildPart(), ActionBurnSewSelf::ActionBurnSewSelf(), ActionBurnSewTarget::ActionBurnSewTarget(), ActionBuryBody::ActionBuryBody(), ActionCheckPulseTarget::ActionCheckPulseTarget(), ActionCollectBloodSelf::ActionCollectBloodSelf(), ActionCollectBloodTarget::ActionCollectBloodTarget(), ActionCollectSampleSelf::ActionCollectSampleSelf(), ActionCollectSampleTarget::ActionCollectSampleTarget(), ActionCookOnStick::ActionCookOnStick(), ActionCoverHeadSelf::ActionCoverHeadSelf(), ActionCoverHeadTarget::ActionCoverHeadTarget(), ActionCPR::ActionCPR(), ActionCraftBolts::ActionCraftBolts(), ActionCraftBoltsFeather::ActionCraftBoltsFeather(), ActionCraftBoneKnife::ActionCraftBoneKnife(), ActionCraftBoneKnifeEnv::ActionCraftBoneKnifeEnv(), ActionCraftImprovisedEyePatch::ActionCraftImprovisedEyePatch(), ActionCraftImprovisedFaceCover::ActionCraftImprovisedFaceCover(), ActionCraftImprovisedFeetCover::ActionCraftImprovisedFeetCover(), ActionCraftImprovisedHandsCover::ActionCraftImprovisedHandsCover(), ActionCraftImprovisedHeadCover::ActionCraftImprovisedHeadCover(), ActionCraftImprovisedLegsCover::ActionCraftImprovisedLegsCover(), ActionCraftImprovisedTorsoCover::ActionCraftImprovisedTorsoCover(), ActionCraftRopeBelt::ActionCraftRopeBelt(), ActionCraftStoneKnifeEnv::ActionCraftStoneKnifeEnv(), ActionCreateGreenhouseGardenPlot::ActionCreateGreenhouseGardenPlot(), ActionCreateIndoorFireplace::ActionCreateIndoorFireplace(), ActionCreateIndoorOven::ActionCreateIndoorOven(), ActionDeconstructShelter::ActionDeconstructShelter(), ActionDefibrilateSelf::ActionDefibrilateSelf(), ActionDefibrilateTarget::ActionDefibrilateTarget(), ActionDeployBase::ActionDeployBase(), ActionDestroyCombinationLock::ActionDestroyCombinationLock(), ActionDestroyPart::ActionDestroyPart(), ActionDigGardenPlot::ActionDigGardenPlot(), ActionDigInStash::ActionDigInStash(), ActionDigWorms::ActionDigWorms(), ActionDisinfectPlant::ActionDisinfectPlant(), ActionDisinfectPlantBit::ActionDisinfectPlantBit(), ActionDisinfectSelf(), ActionDisinfectTarget::ActionDisinfectTarget(), ActionDismantleGardenPlot::ActionDismantleGardenPlot(), ActionDismantlePart::ActionDismantlePart(), ActionDrainLiquid::ActionDrainLiquid(), ActionEmptyBottleBase::ActionEmptyBottleBase(), ActionFertilizeSlot::ActionFertilizeSlot(), ActionFillBottleBase::ActionFillBottleBase(), ActionFillBrakes::ActionFillBrakes(), ActionFillCoolant::ActionFillCoolant(), ActionFillFuel::ActionFillFuel(), ActionFillGeneratorTank::ActionFillGeneratorTank(), ActionFillObject::ActionFillObject(), ActionFillOil::ActionFillOil(), ActionFishingNew::ActionFishingNew(), ActionFoldObject::ActionFoldObject(), ActionGagSelf::ActionGagSelf(), ActionGagTarget::ActionGagTarget(), ActionGiveBloodSelf::ActionGiveBloodSelf(), ActionGiveBloodTarget::ActionGiveBloodTarget(), ActionGiveSalineSelf::ActionGiveSalineSelf(), ActionGiveSalineTarget::ActionGiveSalineTarget(), ActionHandcuffTarget::ActionHandcuffTarget(), ActionHarvestCrops::ActionHarvestCrops(), ActionIgniteFireplaceByAir::ActionIgniteFireplaceByAir(), ActionInjectSelf::ActionInjectSelf(), ActionInjectTarget::ActionInjectTarget(), ActionLockAttachment::ActionLockAttachment(), ActionLockDoors::ActionLockDoors(), ActionMeasureTemperatureSelf::ActionMeasureTemperatureSelf(), ActionMeasureTemperatureTarget::ActionMeasureTemperatureTarget(), ActionMineBush::ActionMineBush(), ActionMineBushByHand::ActionMineBushByHand(), ActionMineRock::ActionMineRock(), ActionMineRock1H::ActionMineRock1H(), ActionMineTreeBark::ActionMineTreeBark(), ActionMountBarbedWire::ActionMountBarbedWire(), ActionPackGift::ActionPackGift(), ActionPickBerry::ActionPickBerry(), ActionPlaceFireplaceIndoor::ActionPlaceFireplaceIndoor(), ActionPlaceFireplaceIntoBarrel::ActionPlaceFireplaceIntoBarrel(), ActionPlaceOvenIndoor::ActionPlaceOvenIndoor(), ActionPlantSeed::ActionPlantSeed(), ActionPourLiquid::ActionPourLiquid(), ActionRepackTent::ActionRepackTent(), ActionRepairCarChassis::ActionRepairCarChassis(), ActionRepairCarEngine(), ActionRepairCarPart(), ActionRepairPart::ActionRepairPart(), ActionRepairShelter::ActionRepairShelter(), ActionRepairTent::ActionRepairTent(), ActionRepairTentPart::ActionRepairTentPart(), ActionRepairWithToolFromHands::ActionRepairWithToolFromHands(), ActionRestrainSelf::ActionRestrainSelf(), ActionRestrainTarget::ActionRestrainTarget(), ActionSawPlanks::ActionSawPlanks(), ActionSetAlarmClock::ActionSetAlarmClock(), ActionSetKitchenTimer::ActionSetKitchenTimer(), ActionShave::ActionShave(), ActionShaveTarget::ActionShaveTarget(), ActionSortAmmoPile::ActionSortAmmoPile(), ActionSplintSelf::ActionSplintSelf(), ActionSplintTarget::ActionSplintTarget(), ActionStartEngine(), ActionStripCarrierVest::ActionStripCarrierVest(), ActionSwitchSeats::ActionSwitchSeats(), ActionTestBloodSelf::ActionTestBloodSelf(), ActionTestBloodTarget::ActionTestBloodTarget(), ActionTransferLiquid::ActionTransferLiquid(), ActionUnmountBarbedWire::ActionUnmountBarbedWire(), ActionUnpackBox::ActionUnpackBox(), ActionUnpackGift::ActionUnpackGift(), ActionUnrestrainTarget::ActionUnrestrainTarget(), ActionUpgradeTorchFromGasPump::ActionUpgradeTorchFromGasPump(), ActionUseRangefinder::ActionUseRangefinder(), ActionWaterGardenSlot::ActionWaterGardenSlot(), ActionWaterPlant::ActionWaterPlant(), ActionWringClothes::ActionWringClothes(), CreateActionComponent(), ActionDefibrilateBase::DefibrillateServer(), GetSpecialtyWeight(), ActionGiveBloodSelf::OnEndAnimationLoopServer(), ActionGiveBloodTarget::OnEndAnimationLoopServer(), ActionCollectBloodSelf::OnEndServer(), ActionCollectBloodTarget::OnEndServer(), ActionCollectSampleSelf::OnEndServer(), ActionCollectSampleTarget::OnEndServer(), ActionFoldObject::OnExecuteServer(), ActionHarvestCrops::OnExecuteServer(), ActionDisinfectPlantBit::OnExecuteServer(), ActionHandcuffTarget::OnExecuteServer(), ActionPlaceFireplaceIndoor::OnExecuteServer(), ActionPlaceFireplaceIntoBarrel::OnExecuteServer(), ActionPlaceOvenIndoor::OnExecuteServer(), ActionRepairWithToolFromHands::OnExecuteServer(), ActionInjectSelf::OnExecuteServer(), ActionInjectTarget::OnExecuteServer(), ActionDisinfectPlant::OnFinishProgressClient(), ActionWaterPlant::OnFinishProgressClient(), OnFinishProgressServer(), ActionBuildPart::OnFinishProgressServer(), ActionBuryBody::OnFinishProgressServer(), ActionCoverHeadSelf::OnFinishProgressServer(), ActionCoverHeadTarget::OnFinishProgressServer(), ActionDestroyCombinationLock::OnFinishProgressServer(), ActionDestroyPart::OnFinishProgressServer(), ActionDigGardenPlot::OnFinishProgressServer(), ActionDigInStash::OnFinishProgressServer(), ActionDigWorms::OnFinishProgressServer(), ActionDisinfectPlant::OnFinishProgressServer(), ActionDismantlePart::OnFinishProgressServer(), ActionDrainLiquid::OnFinishProgressServer(), ActionFillObject::OnFinishProgressServer(), ActionIgniteFireplaceByAir::OnFinishProgressServer(), ActionLockDoors::OnFinishProgressServer(), ActionMineBush::OnFinishProgressServer(), ActionMineRock::OnFinishProgressServer(), ActionMountBarbedWire::OnFinishProgressServer(), ActionPourLiquid::OnFinishProgressServer(), ActionRepairPart::OnFinishProgressServer(), ActionRepairShelter::OnFinishProgressServer(), ActionRepairTent::OnFinishProgressServer(), ActionRestrainTarget::OnFinishProgressServer(), ActionSawPlanks::OnFinishProgressServer(), ActionShave::OnFinishProgressServer(), ActionShaveTarget::OnFinishProgressServer(), ActionTransferLiquid::OnFinishProgressServer(), ActionUnlockDoors::OnFinishProgressServer(), ActionUnmountBarbedWire::OnFinishProgressServer(), ActionUnpackBox::OnFinishProgressServer(), ActionUnrestrainTarget::OnFinishProgressServer(), ActionUseRangefinder::OnFinishProgressServer(), ActionWaterPlant::OnFinishProgressServer(), ActionWringClothes::OnFinishProgressServer(), ActionDeployBase::OnFinishProgressServer(), ActionBurnSewSelf::OnFinishProgressServer(), ActionBurnSewTarget::OnFinishProgressServer(), ActionCPR::OnFinishProgressServer(), ActionGiveSalineSelf::OnFinishProgressServer(), ActionGiveSalineTarget::OnFinishProgressServer(), ActionSplintSelf::OnFinishProgressServer(), ActionSplintTarget::OnFinishProgressServer(), ActionTestBloodSelf::OnFinishProgressServer(), ActionTestBloodTarget::OnFinishProgressServer(), ActionBuildShelter::OnFinishProgressServer(), ActionPlantSeed::Process(), and ActionUncoverHeadBase::UncoverHead().

◆ m_StanceMask

int m_StanceMask
protected

Definition at line 53 of file ActionBase.c.

Referenced by ActionAnimateCarSelection::ActionAnimateCarSelection(), ActionBase(), ActionBreakLongWoodenStick::ActionBreakLongWoodenStick(), ActionBuildPart::ActionBuildPart(), ActionBuildPartSwitch::ActionBuildPartSwitch(), ActionBuildShelter::ActionBuildShelter(), ActionBuryBody::ActionBuryBody(), ActionCarDoors::ActionCarDoors(), ActionCarDoorsOutside::ActionCarDoorsOutside(), ActionCarHornLong::ActionCarHornLong(), ActionCheckPulse::ActionCheckPulse(), ActionCheckPulseTarget::ActionCheckPulseTarget(), ActionClapBearTrapWithThisItem::ActionClapBearTrapWithThisItem(), ActionCloseBarrel::ActionCloseBarrel(), ActionCloseBarrelHoles::ActionCloseBarrelHoles(), ActionCloseDoors::ActionCloseDoors(), ActionCloseFence::ActionCloseFence(), ActionCollectBloodSelf::ActionCollectBloodSelf(), ActionCollectBloodTarget::ActionCollectBloodTarget(), ActionCollectSampleSelf::ActionCollectSampleSelf(), ActionCollectSampleTarget::ActionCollectSampleTarget(), ActionCookOnStick::ActionCookOnStick(), ActionCoverHeadSelf::ActionCoverHeadSelf(), ActionCoverHeadTarget::ActionCoverHeadTarget(), ActionCPR::ActionCPR(), ActionCraft::ActionCraft(), ActionCraftBolts::ActionCraftBolts(), ActionCraftBoltsFeather::ActionCraftBoltsFeather(), ActionCraftBoneKnife::ActionCraftBoneKnife(), ActionCraftBoneKnifeEnv::ActionCraftBoneKnifeEnv(), ActionCraftImprovisedEyePatch::ActionCraftImprovisedEyePatch(), ActionCraftImprovisedFaceCover::ActionCraftImprovisedFaceCover(), ActionCraftImprovisedFeetCover::ActionCraftImprovisedFeetCover(), ActionCraftImprovisedHandsCover::ActionCraftImprovisedHandsCover(), ActionCraftImprovisedHeadCover::ActionCraftImprovisedHeadCover(), ActionCraftImprovisedLegsCover::ActionCraftImprovisedLegsCover(), ActionCraftImprovisedTorsoCover::ActionCraftImprovisedTorsoCover(), ActionCraftRopeBelt::ActionCraftRopeBelt(), ActionCraftStoneKnifeEnv::ActionCraftStoneKnifeEnv(), ActionCreateGreenhouseGardenPlot::ActionCreateGreenhouseGardenPlot(), ActionCreateIndoorFireplace::ActionCreateIndoorFireplace(), ActionCreateIndoorOven::ActionCreateIndoorOven(), ActionDeconstructShelter::ActionDeconstructShelter(), ActionDefibrilateSelf::ActionDefibrilateSelf(), ActionDefibrilateTarget::ActionDefibrilateTarget(), ActionDeployHuntingTrap::ActionDeployHuntingTrap(), ActionDestroyCombinationLock::ActionDestroyCombinationLock(), ActionDestroyPart::ActionDestroyPart(), ActionDigGardenPlot::ActionDigGardenPlot(), ActionDigInStash::ActionDigInStash(), ActionDigWorms::ActionDigWorms(), ActionDisinfectSelf(), ActionDisinfectTarget::ActionDisinfectTarget(), ActionDismantleGardenPlot::ActionDismantleGardenPlot(), ActionDismantlePart::ActionDismantlePart(), ActionDrinkPondContinuous(), ActionEmptyBottleBase::ActionEmptyBottleBase(), ActionEnterLadder::ActionEnterLadder(), ActionFertilizeSlot::ActionFertilizeSlot(), ActionFillBottleBase::ActionFillBottleBase(), ActionFillBrakes::ActionFillBrakes(), ActionFillCoolant::ActionFillCoolant(), ActionFillFuel::ActionFillFuel(), ActionFillGeneratorTank::ActionFillGeneratorTank(), ActionFillObject::ActionFillObject(), ActionFillOil::ActionFillOil(), ActionFishingNew::ActionFishingNew(), ActionForceConsumeSingle(), ActionForceDrink::ActionForceDrink(), ActionForceFeedSmall::ActionForceFeed(), ActionForceFeedMeat::ActionForceFeedMeat(), ActionGagSelf::ActionGagSelf(), ActionGagTarget::ActionGagTarget(), ActionGetInTransport::ActionGetInTransport(), ActionGetOutTransport(), ActionGiveBloodSelf::ActionGiveBloodSelf(), ActionGiveBloodTarget::ActionGiveBloodTarget(), ActionGiveSalineSelf::ActionGiveSalineSelf(), ActionGiveSalineTarget::ActionGiveSalineTarget(), ActionHandcuffTarget::ActionHandcuffTarget(), ActionIgniteFireplaceByAir::ActionIgniteFireplaceByAir(), ActionInjectSelf::ActionInjectSelf(), ActionInjectTarget::ActionInjectTarget(), ActionLockAttachment::ActionLockAttachment(), ActionLockDoors::ActionLockDoors(), ActionLowerFlag::ActionLowerFlag(), ActionMeasureTemperatureTarget::ActionMeasureTemperatureTarget(), ActionMineBush::ActionMineBush(), ActionMineBushByHand::ActionMineBushByHand(), ActionMineRock::ActionMineRock(), ActionMineRock1H::ActionMineRock1H(), ActionMineTreeBark::ActionMineTreeBark(), ActionMountBarbedWire::ActionMountBarbedWire(), ActionOpenBarrel::ActionOpenBarrel(), ActionOpenBarrelHoles::ActionOpenBarrelHoles(), ActionOpenDoors::ActionOpenDoors(), ActionOpenFence::ActionOpenFence(), ActionPackGift::ActionPackGift(), ActionPickBerry::ActionPickBerry(), ActionPlaceFireplaceIndoor::ActionPlaceFireplaceIndoor(), ActionPlaceFireplaceIntoBarrel::ActionPlaceFireplaceIntoBarrel(), ActionPlaceOvenIndoor::ActionPlaceOvenIndoor(), ActionPullBodyFromTransport::ActionPullBodyFromTransport(), ActionPushCar::ActionPushCar(), ActionRaiseFlag::ActionRaiseFlag(), ActionReadPaper::ActionReadPaper(), ActionRefuelTorch::ActionRefuelTorch(), ActionRepackTent::ActionRepackTent(), ActionRepairCarChassis::ActionRepairCarChassis(), ActionRepairCarEngine(), ActionRepairCarPart(), ActionRepairPart::ActionRepairPart(), ActionRepairShelter::ActionRepairShelter(), ActionRepairTent::ActionRepairTent(), ActionRepairTentPart::ActionRepairTentPart(), ActionRepositionPluggedItem::ActionRepositionPluggedItem(), ActionRestrainSelf::ActionRestrainSelf(), ActionRestrainTarget::ActionRestrainTarget(), ActionSawPlanks::ActionSawPlanks(), ActionShave::ActionShave(), ActionShaveTarget::ActionShaveTarget(), ActionSidePlateInteract::ActionSidePlateInteract(), ActionSplintSelf::ActionSplintSelf(), ActionStartEngine(), ActionStopEngine::ActionStopEngine(), ActionStripCarrierVest::ActionStripCarrierVest(), ActionSwitchLights::ActionSwitchLights(), ActionSwitchSeats::ActionSwitchSeats(), ActionTakeFireplaceFromBarrel::ActionTakeFireplaceFromBarrel(), ActionTakeFireplaceIndoor::ActionTakeFireplaceIndoor(), ActionTakeOvenIndoor::ActionTakeOvenIndoor(), ActionTestBloodSelf::ActionTestBloodSelf(), ActionTuneFrequencyOnGround::ActionTuneFrequencyOnGround(), ActionTurnOffTransmitterOnGround::ActionTurnOffTransmitterOnGround(), ActionTurnOffWhileOnGround::ActionTurnOffWhileOnGround(), ActionTurnOnTransmitterOnGround::ActionTurnOnTransmitterOnGround(), ActionTurnOnWhileOnGround::ActionTurnOnWhileOnGround(), ActionUncoverHeadTarget::ActionUncoverHeadTarget(), ActionUngagSelf::ActionUngagSelf(), ActionUngagTarget::ActionUngagTarget(), ActionUnlockDoors::ActionUnlockDoors(), ActionUnmountBarbedWire::ActionUnmountBarbedWire(), ActionUnpackGift::ActionUnpackGift(), ActionUnrestrainTarget::ActionUnrestrainTarget(), ActionUnrestrainTargetHands::ActionUnrestrainTargetHands(), ActionUpgradeTorchFromGasPump::ActionUpgradeTorchFromGasPump(), ActionUseUndergroundLever::ActionUseUndergroundLever(), ActionUseUndergroundPanel::ActionUseUndergroundPanel(), ActionWashHandsItem::ActionWashHandsItem(), ActionWashHandsItemContinuous::ActionWashHandsItemContinuous(), ActionInteractLoopBase::ActionWashHandsWaterOne(), ActionWorldCraft::ActionWorldCraft(), ActionWorldFlagActionSwitch::ActionWorldFlagActionSwitch(), ActionWorldLiquidActionSwitch::ActionWorldLiquidActionSwitch(), ActionWringClothes::ActionWringClothes(), ActionWritePaper::ActionWritePaper(), CreateActionComponent(), CreateConditionComponents(), ActionAttachOnProxy::CreateConditionComponents(), ActionAttachOnTentProxy::CreateConditionComponents(), ActionAttachWithSwitch::CreateConditionComponents(), GetStanceMask(), SmptAnimMetaBase::Init(), SmptAnimMetaBase::Play(), ActionDigWorms::SetDiggingAnimation(), ActionFillBottleBase::SetupStance(), and UncoverHead().

◆ m_Target

◆ m_Text

string m_Text
protected

Definition at line 49 of file ActionBase.c.

Referenced by ActionAnimateCarSelection::ActionAnimateCarSelection(), ActionAnimateSeats::ActionAnimateSeats(), ActionAttachOnProxy::ActionAttachOnProxy(), ActionAttachOnSelection::ActionAttachOnSelection(), ActionAttachPowerSourceToPanel::ActionAttachPowerSourceToPanel(), ActionAttachToConstruction::ActionAttachToConstruction(), ActionAttachWheels::ActionAttachWheels(), ActionBase(), ActionBreakLongWoodenStick::ActionBreakLongWoodenStick(), ActionBuildPart::ActionBuildPart(), ActionBuildPartSwitch::ActionBuildPartSwitch(), ActionBuildShelter::ActionBuildShelter(), ActionBurnSewSelf::ActionBurnSewSelf(), ActionBurnSewTarget::ActionBurnSewTarget(), ActionBuryBody::ActionBuryBody(), ActionCheckPulse::ActionCheckPulse(), ActionCheckPulseTarget::ActionCheckPulseTarget(), ActionClapBearTrapWithThisItem::ActionClapBearTrapWithThisItem(), ActionClose::ActionClose(), ActionCloseBarrel::ActionCloseBarrel(), ActionCloseBarrelHoles::ActionCloseBarrelHoles(), ActionCloseCarDoors::ActionCloseCarDoors(), ActionCloseCarDoorsOutside::ActionCloseCarDoorsOutside(), ActionCloseDoors::ActionCloseDoors(), ActionCloseFence::ActionCloseFence(), ActionCollectBloodSelf::ActionCollectBloodSelf(), ActionCollectBloodTarget::ActionCollectBloodTarget(), ActionCollectSampleSelf::ActionCollectSampleSelf(), ActionCollectSampleTarget::ActionCollectSampleTarget(), ActionConsume::ActionConsume(), ActionConsumeSingle::ActionConsumeSingle(), ActionCookOnStick::ActionCookOnStick(), ActionCoverHeadSelf::ActionCoverHeadSelf(), ActionCoverHeadTarget::ActionCoverHeadTarget(), ActionCPR::ActionCPR(), ActionCraft::ActionCraft(), ActionCraftBolts::ActionCraftBolts(), ActionCraftBoltsFeather::ActionCraftBoltsFeather(), ActionCraftBoneKnife::ActionCraftBoneKnife(), ActionCraftBoneKnifeEnv::ActionCraftBoneKnifeEnv(), ActionCraftImprovisedEyePatch::ActionCraftImprovisedEyePatch(), ActionCraftImprovisedFaceCover::ActionCraftImprovisedFaceCover(), ActionCraftImprovisedFeetCover::ActionCraftImprovisedFeetCover(), ActionCraftImprovisedHandsCover::ActionCraftImprovisedHandsCover(), ActionCraftImprovisedHeadCover::ActionCraftImprovisedHeadCover(), ActionCraftImprovisedLegsCover::ActionCraftImprovisedLegsCover(), ActionCraftImprovisedTorsoCover::ActionCraftImprovisedTorsoCover(), ActionCraftRopeBelt::ActionCraftRopeBelt(), ActionCraftStoneKnifeEnv::ActionCraftStoneKnifeEnv(), ActionCreateGreenhouseGardenPlot::ActionCreateGreenhouseGardenPlot(), ActionCreateIndoorFireplace::ActionCreateIndoorFireplace(), ActionCreateIndoorOven::ActionCreateIndoorOven(), ActionDeconstructShelter::ActionDeconstructShelter(), ActionDefibrilateSelf::ActionDefibrilateSelf(), ActionDefibrilateTarget::ActionDefibrilateTarget(), ActionDeployBase::ActionDeployBase(), ActionDestroyCombinationLock::ActionDestroyCombinationLock(), ActionDestroyPart::ActionDestroyPart(), ActionDetach(), ActionDetachFromTarget::ActionDetachFromTarget(), ActionDetachPowerSourceFromPanel::ActionDetachPowerSourceFromPanel(), ActionDigGardenPlot::ActionDigGardenPlot(), ActionDigInStash::ActionDigInStash(), ActionDigWorms::ActionDigWorms(), ActionDisinfectPlant::ActionDisinfectPlant(), ActionDisinfectPlantBit::ActionDisinfectPlantBit(), ActionDisinfectSelf(), ActionDisinfectTarget::ActionDisinfectTarget(), ActionDismantleGardenPlot::ActionDismantleGardenPlot(), ActionDismantlePart::ActionDismantlePart(), ActionDrainLiquid::ActionDrainLiquid(), ActionDrink::ActionDrink(), ActionDrinkCan::ActionDrinkCan(), ActionDrinkPondContinuous(), ActionDropItem(), ActionEatBig::ActionEatBig(), ActionEatPillFromBottle::ActionEatPillFromBottle(), ActionEatTabletFromWrapper::ActionEatTabletFromWrapper(), ActionEmptyBottleBase::ActionEmptyBottleBase(), ActionEmptyMagazine::ActionEmptyMagazine(), ActionEmptySeedsPack::ActionEmptySeedsPack(), ActionEnterLadder::ActionEnterLadder(), ActionExitLadder::ActionExitLadder(), ActionFertilizeSlot::ActionFertilizeSlot(), ActionFillBottleBase::ActionFillBottleBase(), ActionFillBrakes::ActionFillBrakes(), ActionFillCoolant::ActionFillCoolant(), ActionFillFuel::ActionFillFuel(), ActionFillGeneratorTank::ActionFillGeneratorTank(), ActionFillOil::ActionFillOil(), ActionFishingNew::ActionFishingNew(), ActionFoldMap::ActionFoldMap(), ActionFoldObject::ActionFoldObject(), ActionForceABite::ActionForceABite(), ActionForceASip::ActionForceASip(), ActionForceConsumeSingle(), ActionForceDrink::ActionForceDrink(), ActionForceFeedMeat::ActionForceFeedMeat(), ActionGagSelf::ActionGagSelf(), ActionGagTarget::ActionGagTarget(), ActionGetInTransport::ActionGetInTransport(), ActionGetOutTransport(), ActionGiveBloodSelf::ActionGiveBloodSelf(), ActionGiveBloodTarget::ActionGiveBloodTarget(), ActionGiveSalineSelf::ActionGiveSalineSelf(), ActionGiveSalineTarget::ActionGiveSalineTarget(), ActionHandcuffTarget::ActionHandcuffTarget(), ActionIgniteFireplaceByAir::ActionIgniteFireplaceByAir(), ActionInjectSelf::ActionInjectSelf(), ActionInjectTarget::ActionInjectTarget(), ActionITest::ActionITest(), ActionLoadMagazine::ActionLoadMagazine(), ActionLockDoors::ActionLockDoors(), ActionLowerFlag::ActionLowerFlag(), ActionMeasureBattery::ActionMeasureBattery(), ActionMeasureTemperatureSelf::ActionMeasureTemperatureSelf(), ActionMeasureTemperatureTarget::ActionMeasureTemperatureTarget(), ActionMountBarbedWire::ActionMountBarbedWire(), ActionNextCombinationLockDial::ActionNextCombinationLockDial(), ActionNextCombinationLockDialOnTarget::ActionNextCombinationLockDialOnTarget(), ActionOpen::ActionOpen(), ActionOpenBarrel::ActionOpenBarrel(), ActionOpenBarrelHoles::ActionOpenBarrelHoles(), ActionOpenCarDoors::ActionOpenCarDoors(), ActionOpenCarDoorsOutside::ActionOpenCarDoorsOutside(), ActionOpenDoors::ActionOpenDoors(), ActionOpenFence::ActionOpenFence(), ActionPackGift::ActionPackGift(), ActionPickBerry::ActionPickBerry(), ActionPickupChicken::ActionPickupChicken(), ActionSingleUseBase::ActionPin(), ActionPlaceFireplaceIndoor::ActionPlaceFireplaceIndoor(), ActionPlaceFireplaceIntoBarrel::ActionPlaceFireplaceIntoBarrel(), ActionPlaceObject::ActionPlaceObject(), ActionPlaceOnGround::ActionPlaceOnGround(), ActionPlaceOvenIndoor::ActionPlaceOvenIndoor(), ActionPlantSeed::ActionPlantSeed(), ActionPlugIn::ActionPlugIn(), ActionPlugIntoFence::ActionPlugIntoFence(), ActionPlugTargetIntoThis::ActionPlugTargetIntoThis(), ActionPourLiquid::ActionPourLiquid(), ActionPullBodyFromTransport::ActionPullBodyFromTransport(), ActionPullOutPlug::ActionPullOutPlug(), ActionPushCar::ActionPushCar(), ActionRaiseFlag::ActionRaiseFlag(), ActionReadPaper::ActionReadPaper(), ActionRefuelTorch::ActionRefuelTorch(), ActionRemovePlant::ActionRemovePlant(), ActionRemoveSeed::ActionRemoveSeed(), ActionRepackTent::ActionRepackTent(), ActionRepairCarChassis::ActionRepairCarChassis(), ActionRepairCarEngine(), ActionRepairCarPart(), ActionRepairPart::ActionRepairPart(), ActionRepairTent::ActionRepairTent(), ActionRepairTentPart::ActionRepairTentPart(), ActionRepairWithToolFromHands::ActionRepairWithToolFromHands(), ActionRepositionPluggedItem::ActionRepositionPluggedItem(), ActionRestrainSelf::ActionRestrainSelf(), ActionRestrainTarget::ActionRestrainTarget(), ActionSawPlanks::ActionSawPlanks(), ActionSetAlarmClock::ActionSetAlarmClock(), ActionSetKitchenTimer::ActionSetKitchenTimer(), ActionShave::ActionShave(), ActionShaveTarget::ActionShaveTarget(), ActionSortAmmoPile::ActionSortAmmoPile(), ActionSplintSelf::ActionSplintSelf(), ActionSplintTarget::ActionSplintTarget(), ActionStartEngine(), ActionStopEngine::ActionStopEngine(), ActionStripCarrierVest::ActionStripCarrierVest(), ActionSwitchLights::ActionSwitchLights(), ActionSwitchSeats::ActionSwitchSeats(), ActionTakeABite::ActionTakeABite(), ActionTakeArrow::ActionTakeArrow(), ActionTakeArrowToHands::ActionTakeArrowToHands(), ActionTakeASip::ActionTakeASip(), ActionTakeFireplaceFromBarrel::ActionTakeFireplaceFromBarrel(), ActionTakeFireplaceIndoor::ActionTakeFireplaceIndoor(), ActionTakeHybridAttachment::ActionTakeHybridAttachment(), ActionTakeHybridAttachmentToHands::ActionTakeHybridAttachmentToHands(), ActionTakeItem::ActionTakeItem(), ActionTakeItemToHands::ActionTakeItemToHands(), ActionTakeMaterialToHands::ActionTakeMaterialToHands(), ActionTakeMaterialToHandsSwitch::ActionTakeMaterialToHandsSwitch(), ActionTakeOvenIndoor::ActionTakeOvenIndoor(), ActionTestBloodSelf::ActionTestBloodSelf(), ActionTestBloodTarget::ActionTestBloodTarget(), ActionToggleNVMode::ActionToggleNVMode(), ActionTogglePlaceObject::ActionTogglePlaceObject(), ActionToggleTentOpen::ActionToggleTentOpen(), ActionTriggerRemotely::ActionTriggerRemotely(), ActionTuneFrequencyOnGround::ActionTuneFrequencyOnGround(), ActionTurnOffPowerGenerator::ActionTurnOffPowerGenerator(), ActionTurnOffSpotlight::ActionTurnOffSpotlight(), ActionTurnOffTransmitterOnGround::ActionTurnOffTransmitterOnGround(), ActionTurnOffWeaponFlashlight::ActionTurnOffWeaponFlashlight(), ActionTurnOffWhileInHands::ActionTurnOffWhileInHands(), ActionTurnOffWhileOnGround::ActionTurnOffWhileOnGround(), ActionTurnOnChemlight::ActionTurnOnChemlight(), ActionTurnOnHeatpack::ActionTurnOnHeatpack(), ActionTurnOnPowerGenerator::ActionTurnOnPowerGenerator(), ActionTurnOnSpotlight::ActionTurnOnSpotlight(), ActionTurnOnTransmitterOnGround::ActionTurnOnTransmitterOnGround(), ActionTurnOnWeaponFlashlight::ActionTurnOnWeaponFlashlight(), ActionTurnOnWhileInHands::ActionTurnOnWhileInHands(), ActionTurnOnWhileOnGround::ActionTurnOnWhileOnGround(), ActionUncoverHeadTarget::ActionUncoverHeadTarget(), ActionUnfoldBandana::ActionUnfoldBandana(), ActionUngagSelf::ActionUngagSelf(), ActionUngagTarget::ActionUngagTarget(), ActionUnlockDoors::ActionUnlockDoors(), ActionUnmountBarbedWire::ActionUnmountBarbedWire(), ActionUnpackBox::ActionUnpackBox(), ActionUnpackGift::ActionUnpackGift(), ActionSingleUseBase::ActionUnpin(), ActionUnplugThisByCord::ActionUnplugThisByCord(), ActionUnrestrainSelf::ActionUnrestrainSelf(), ActionUnrestrainTarget::ActionUnrestrainTarget(), ActionUnrestrainTargetHands::ActionUnrestrainTargetHands(), ActionUpgradeTorchFromGasPump::ActionUpgradeTorchFromGasPump(), ActionUseRangefinder::ActionUseRangefinder(), ActionUseUndergroundLever::ActionUseUndergroundLever(), ActionUseUndergroundPanel::ActionUseUndergroundPanel(), ActionViewCompass::ActionViewCompass(), ActionViewOptics::ActionViewOptics(), ActionWashHandsItem::ActionWashHandsItem(), ActionWashHandsItemContinuous::ActionWashHandsItemContinuous(), ActionInteractLoopBase::ActionWashHandsWaterOne(), ActionWaterGardenSlot::ActionWaterGardenSlot(), ActionWaterPlant::ActionWaterPlant(), ActionWorldCraftCancel::ActionWorldCraftCancel(), ActionWorldCraftSwitch::ActionWorldCraftSwitch(), ActionWringClothes::ActionWringClothes(), ActionWritePaper::ActionWritePaper(), ActionZoomIn::ActionZoomIn(), ActionZoomOut::ActionZoomOut(), CreateActionComponent(), ActionHandsPartSwitch::CreateConditionComponents(), ActionInsertSparkplug::CreateConditionComponents(), ScriptedWidgetEventHandler::DropdownPrefab(), FirearmActionAttachMagazine::FirearmActionAttachMagazine(), FirearmActionLoadMultiBullet::FirearmActionLoadMultiBullet(), GetText(), ScriptedWidgetEventHandler::HideTooltip(), ScriptedWidgetEventHandler::ModsMenuTooltip(), ActionBuildPart::OnActionInfoUpdate(), ActionDestroyPart::OnActionInfoUpdate(), OnActionInfoUpdate(), ActionDismantlePart::OnActionInfoUpdate(), ActionFillObject::OnActionInfoUpdate(), ActionLockAttachment::OnActionInfoUpdate(), ActionMineBase::OnActionInfoUpdate(), ActionRepairPart::OnActionInfoUpdate(), ActionViewBinoculars::OnActionInfoUpdate(), ActionWorldCraft::OnActionInfoUpdate(), ActionBuildShelter::OnActionInfoUpdate(), ActionHarvestCrops::OnActionInfoUpdate(), ActionTakeMaterialToHands::OnActionInfoUpdate(), ActionTuneFrequencyOnGround::OnActionInfoUpdate(), ScriptedWidgetEventHandler::OnMouseButtonDown(), ScriptedWidgetEventHandler::SetText(), ScriptedWidgetEventHandler::ShowTooltip(), and UncoverHead().

◆ m_VariantID

◆ m_VariantManager

ref ActionVariantManager m_VariantManager
protected