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

#include <ActionOnTargetContinuousQuantity.h>

Inheritance diagram for ActionOnTargetContinuousQuantity:
ActionOnTargetContinuous ActionOnConsciousManContinuousQuantity ActionOnNonRuinedTargetContinuosQuantity ActionCollectBloodTarget ActionForceConsume ActionGiveBloodTarget ActionGiveSalineTarget ActionDisinfectPlant ActionFertilizeSoil ActionWaterPlant ActionFeedCharcoalTablets ActionFeedPainkillerTablets ActionFeedPurificationTablets ActionFeedTetracyclineAntibiotics ActionFeedVitaminBottle ActionForceDrink ActionForceFeed ActionForceDrinkAlcohol ActionForceDrinkDisinfectant

Private Member Functions

void  OnStart (PlayerBase player, Object target, ItemBase item)
 
void  OnTick (PlayerBase player, Object target, ItemBase item)
 
bool  OnComplete (PlayerBase player, Object target, ItemBase item, float consumedquantity)
 
bool  OnCancel (PlayerBase player, Object target, ItemBase item)
 
bool  OnReset (PlayerBase player)
 
void  CalcAndSetQuantity (ItemBase item)
 

Private Attributes

float  m_TargetUnits
 
float  m_SpentUnits
 

Member Function Documentation

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

Referenced by OnCancel(), and OnTick().

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

References m_SpentUnits, and m_TargetUnits.

void ActionOnTargetContinuousQuantity::CalcAndSetQuantity ( ItemBase  item )
private

Member Data Documentation

float ActionOnTargetContinuousQuantity::m_TargetUnits
private
float ActionOnTargetContinuousQuantity::m_SpentUnits
private

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