DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс ActionIgniteFireplaceByAir
+ Граф наследования:ActionIgniteFireplaceByAir:

Закрытые члены

void ActionIgniteFireplaceByAir ()
 
override void CreateConditionComponents ()
 
override GetInputType ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void OnFinishProgressServer (ActionData action_data)
 
bool SkipKindlingCheck ()
 
- Закрытые члены унаследованные от 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)
 

Подробное описание

Конструктор(ы)

◆ ActionIgniteFireplaceByAir()

void ActionIgniteFireplaceByAir ( )
inlineprivate
12 {
14 m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_BLOWFIREPLACE;
15 m_FullBody = true;
16 m_StanceMask = DayZPlayerConstants.STANCEMASK_CROUCH;
18 m_Text = "#blow_air_into_fireplace";
19 }
bool m_FullBody
Definition ActionBase.c:61
string m_Text
Definition ActionBase.c:58
float m_SpecialtyWeight
Definition ActionBase.c:77
int m_StanceMask
Definition ActionBase.c:62
Definition ActionIgniteFireplaceByAir.c:2
int m_CommandUID
Definition AnimatedActionBase.c:143
m_CallbackClass
Definition AnimatedActionBase.c:145
Definition EntityAI.c:95
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602

Перекрестные ссылки AnimatedActionBase::m_CallbackClass, AnimatedActionBase::m_CommandUID, ActionBase::m_FullBody, ActionBase::m_SpecialtyWeight, ActionBase::m_StanceMask и ActionBase::m_Text.

Методы

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate
33 {
34 Object target_object = target.GetObject();
36
37 if ( target_object && target_object.IsFireplace() )
38 {
39 if ( fireplace_target.IsBaseFireplace() || fireplace_target.IsFireplaceIndoor() )
40 {
41 if ( !fireplace_target.IsBurning() && fireplace_target.GetTemperature() >= fireplace_target.PARAM_MIN_TEMP_TO_REIGNITE )
42 {
43 return true;
44 }
45 }
46 }
47
48 return false;
49 }
Definition BarrelHoles_ColorBase.c:2
Definition ObjectTyped.c:2

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate
22 {
25 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:64
ref CCTBase m_ConditionTarget
Definition ActionBase.c:65
Definition CCINotPresent.c:2
Definition CCTNonRuined.c:2
Definition ActionConstants.c:106
const float DEFAULT
Definition ActionConstants.c:108

Перекрестные ссылки UAMaxDistances::DEFAULT, ActionBase::m_ConditionItem и ActionBase::m_ConditionTarget.

◆ GetInputType()

override GetInputType ( )
inlineprivate
28 {
30 }
Definition ActionInput.c:522

◆ OnFinishProgressServer()

override void OnFinishProgressServer ( ActionData action_data)
inlineprivate
52 {
53 FireplaceBase fireplace_target = FireplaceBase.Cast( action_data.m_Target.GetObject() );
54
55 //start fire
56 fireplace_target.StartFire();
57 }

◆ SkipKindlingCheck()

bool SkipKindlingCheck ( )
inlineprivate
60 {
61 return false;
62 }

Объявления и описания членов класса находятся в файле: