PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
ActionDigInStash Class Reference

Private Member Functions

void ActionDigInStash ()
 
override void CreateConditionComponents ()
 
override bool Can (PlayerBase player, ActionTarget target, ItemBase item, int condition_mask)
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void OnExecuteClient (ActionData action_data)
 
override void OnExecuteServer (ActionData action_data)
 
void SpawnParticleShovelRaise (ActionData action_data)
 
override void OnFinishProgressServer (ActionData action_data)
 
override string GetAdminLogMessage (ActionData action_data)
 

Static Private Attributes

static float m_DigStashSlopeTolerance = 0.6
 

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

References Class::CastTo(), GetGame(), CGame::GetHighestSurfaceYDifference(), m_DigStashSlopeTolerance, and CGame::SurfaceUnderObject().

◆ Can()

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

References vector::Forward.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate

◆ GetAdminLogMessage()

override string GetAdminLogMessage ( ActionData  action_data)
inlineprivate

References string::Format().

◆ OnExecuteClient()

override void OnExecuteClient ( ActionData  action_data)
inlineprivate

◆ OnExecuteServer()

override void OnExecuteServer ( ActionData  action_data)
inlineprivate

◆ OnFinishProgressServer()

◆ SpawnParticleShovelRaise()

void SpawnParticleShovelRaise ( ActionData  action_data)
inlineprivate

Field Documentation

◆ m_DigStashSlopeTolerance

float m_DigStashSlopeTolerance = 0.6
staticprivate

Referenced by ActionCondition().


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