Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ActionDigInStash Class Reference
Inheritance diagram for ActionDigInStash:
ActionContinuousBase

Private Member Functions

void ActionDigInStash ()
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
override bool Can (PlayerBase player, ActionTarget target, ItemBase item, int condition_mask)
override void CreateConditionComponents ()
override string GetAdminLogMessage (ActionData action_data)
override void OnExecuteClient (ActionData action_data)
override void OnExecuteServer (ActionData action_data)
override void OnFinishProgressServer (ActionData action_data)
void SpawnParticleShovelRaise (ActionData action_data)
Private Member Functions inherited from ActionContinuousBase
void OnEndAnimationLoopClient (ActionData action_data)
void OnEndAnimationLoopServer (ActionData action_data)
void OnFinishProgressClient (ActionData action_data)
void OnFinishProgressServer (ActionData action_data)
void OnStartAnimationLoopClient (ActionData action_data)
void OnStartAnimationLoopServer (ActionData action_data)

Static Private Attributes

static float m_DigStashSlopeTolerance = 0.6

Detailed Description

Definition at line 9 of file actiondiginstash.c.

Constructor & Destructor Documentation

◆ ActionDigInStash()

Member Function Documentation

◆ ActionCondition()

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

was initialized from inventory?

Check slope angle

Definition at line 37 of file actiondiginstash.c.

References ActionTarget, Class::CastTo(), g_Game, and m_DigStashSlopeTolerance.

◆ Can()

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

Definition at line 29 of file actiondiginstash.c.

References ActionTarget, and vector::Forward.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate

◆ GetAdminLogMessage()

override string GetAdminLogMessage ( ActionData action_data)
inlineprivate

Definition at line 193 of file actiondiginstash.c.

References ActionData, and string::Format().

◆ OnExecuteClient()

override void OnExecuteClient ( ActionData action_data)
inlineprivate

Definition at line 109 of file actiondiginstash.c.

References ActionData, and SpawnParticleShovelRaise().

◆ OnExecuteServer()

override void OnExecuteServer ( ActionData action_data)
inlineprivate

Definition at line 116 of file actiondiginstash.c.

References ActionData, g_Game, and SpawnParticleShovelRaise().

◆ OnFinishProgressServer()

◆ SpawnParticleShovelRaise()

void SpawnParticleShovelRaise ( ActionData action_data)
inlineprivate

Definition at line 126 of file actiondiginstash.c.

References ActionData, ParticleList::DIGGING_STASH, and ParticleManager().

Referenced by OnExecuteClient(), and OnExecuteServer().

Field Documentation

◆ m_DigStashSlopeTolerance

float m_DigStashSlopeTolerance = 0.6
staticprivate

Definition at line 11 of file actiondiginstash.c.

Referenced by ActionCondition().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/useractionscomponent/actions/continuous/actiondiginstash.c