DayZ 1.24
Loading...
Searching...
No Matches
ActionFillGeneratorTank Class Reference
Inheritance diagram for ActionFillGeneratorTank:
[legend]
Collaboration diagram for ActionFillGeneratorTank:
[legend]

Private Member Functions

void ActionFillGeneratorTank ()
 
override void CreateConditionComponents ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
- Private Member Functions inherited from ActionContinuousBase
void OnStartAnimationLoopServer (ActionData action_data)
 
void OnStartAnimationLoopClient (ActionData action_data)
 
void OnEndAnimationLoopServer (ActionData action_data)
 
void OnEndAnimationLoopClient (ActionData action_data)
 
void OnFinishProgressServer (ActionData action_data)
 
void OnFinishProgressClient (ActionData action_data)
 

Detailed Description

Definition at line 11 of file ActionFillGeneratorTank.c.

Constructor & Destructor Documentation

◆ ActionFillGeneratorTank()

void ActionFillGeneratorTank::ActionFillGeneratorTank ( )
inlineprivate

Member Function Documentation

◆ ActionCondition()

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

Definition at line 29 of file ActionFillGeneratorTank.c.

30 {
31 PowerGeneratorBase pg;
32
33 if (Class.CastTo(pg, target.GetObject()))
34 {
35 if (pg.CanAddFuel(item))
36 return true;
37 }
38
39 return false;
40 }
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

References Class::CastTo().

◆ CreateConditionComponents()

override void ActionFillGeneratorTank::CreateConditionComponents ( )
inlineprivate

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