DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
ActionOnTargetContinuousMine Class Reference

#include <ActionOnTargetContinuousMine.h>

Inheritance diagram for ActionOnTargetContinuousMine:
ActionOnTargetContinuous ActionMineBush ActionMineRock ActionMineTree

Private Member Functions

void  OnStart (PlayerBase player, Object target, ItemBase item)
 
void  OnTick (PlayerBase player, Object target, ItemBase item)
 
bool  OnComplete (PlayerBase player, PlayerBase target, ItemBase item)
 
bool  OnCancel (PlayerBase player, Object target, ItemBase item)
 
bool  OnReset (PlayerBase player)
 
bool  GetMiningData (Object target, ItemBase item)
 
bool  Can (PlayerBase player, Object target, ItemBase item)
 

Private Attributes

float  m_Time
 
float  m_MaximalActionDistance
 
float  m_TimeBetweenEachMaterialDrop
 
float m_DamageToMiningItemEachDrop int  m_AmountOfDrops
 
string  m_Material
 
float  m_AmountOfMaterialPerDrop
 
bool  m_HasData
 

Member Function Documentation

void ActionOnTargetContinuousMine::OnStart ( PlayerBase  player,
Object  target,
ItemBase  item 
)
private
void ActionOnTargetContinuousMine::OnTick ( PlayerBase  player,
Object  target,
ItemBase  item 
)
private
bool ActionOnTargetContinuousMine::OnComplete ( PlayerBase  player,
PlayerBase  target,
ItemBase  item 
)
private

Referenced by OnTick().

bool ActionOnTargetContinuousMine::OnCancel ( PlayerBase  player,
Object  target,
ItemBase  item 
)
private
void ActionOnTargetContinuousMine::OnReset ( PlayerBase  player )
private

References m_Time.

bool ActionOnTargetContinuousMine::GetMiningData ( Object  target,
ItemBase  item 
)
private
bool ActionOnTargetContinuousMine::Can ( PlayerBase  player,
Object  target,
ItemBase  item 
)
private

Member Data Documentation

float ActionOnTargetContinuousMine::m_Time
private

Referenced by OnReset(), OnStart(), and OnTick().

float ActionOnTargetContinuousMine::m_MaximalActionDistance
private
float ActionOnTargetContinuousMine::m_TimeBetweenEachMaterialDrop
private
float m_DamageToMiningItemEachDrop int ActionOnTargetContinuousMine::m_AmountOfDrops
private

Referenced by GetMiningData(), and OnTick().

string ActionOnTargetContinuousMine::m_Material
private

Referenced by GetMiningData(), and OnTick().

float ActionOnTargetContinuousMine::m_AmountOfMaterialPerDrop
private

Referenced by GetMiningData().

bool ActionOnTargetContinuousMine::m_HasData
private

The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)