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

#include <ActionOnSelfContinuousQuantity.h>

Inheritance diagram for ActionOnSelfContinuousQuantity:
ActionOnSelfContinuous ActionOnConsciousSelfContinuousQuantity ActionOnSelfContinuousTime ActionCollectBloodSelf ActionConsume ActionFillBottleBase ActionGiveBloodSelf ActionGiveSalineSelf ActionOnConsciousSelfContinuousTime ActionDrink ActionEat ActionEatCharcoalTablets ActionEatPainkillerTablets ActionEatPurificationTablets ActionEatTetracyclineAntibiotics ActionEatVitaminBottle ActionBandageSelf ActionBurnSewSelf ActionCollectSampleSelf ActionCoverHeadSelf ActionCraft ActionDefibrilateSelf ActionDigSoil ActionDigTile ActionInjectSelf ActionMeasureTemperatureSelf ActionOnSelfContinuousTimeRepeat ActionPlaceObject ActionPlaceOnGround ActionSewSelf ActionShave ActionSplintSelf ActionStitchSelf ActionTestBloodSelf

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 ActionOnSelfContinuousQuantity::OnStart ( PlayerBase  player,
Object  target,
ItemBase  item 
)
private
void ActionOnSelfContinuousQuantity::OnTick ( PlayerBase  player,
Object  target,
ItemBase  item 
)
private
bool ActionOnSelfContinuousQuantity::OnComplete ( PlayerBase  player,
Object  target,
ItemBase  item,
float  consumedquantity 
)
private

Referenced by OnCancel(), and OnTick().

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

References m_SpentUnits, and m_TargetUnits.

void ActionOnSelfContinuousQuantity::CalcAndSetQuantity ( ItemBase  item )
private

Member Data Documentation

float ActionOnSelfContinuousQuantity::m_TargetUnits
private
float ActionOnSelfContinuousQuantity::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)