DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс ActionUseRangefinder

DEPRECATED. Подробнее...

+ Граф наследования:ActionUseRangefinder:

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

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

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

DEPRECATED.

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

◆ ActionUseRangefinder()

void ActionUseRangefinder ( )
inlineprivate
13 {
15 m_CommandUID = DayZPlayerConstants.CMD_GESTUREFB_LOOKOPTICS;
17 m_Text = "#use_range_finder";
18 }
string m_Text
Definition ActionBase.c:58
float m_SpecialtyWeight
Definition ActionBase.c:77
Definition ActionUseRangefinder.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_SpecialtyWeight и ActionBase::m_Text.

Методы

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate
37 {
38 return item.GetCompEM().CanWork() && Rangefinder.Cast( item ).IsInOptics();
39 }

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate
21 {
24 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:64
ref CCTBase m_ConditionTarget
Definition ActionBase.c:65
Definition CCINonRuined.c:2
Definition CCTNone.c:2

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

◆ HasTarget()

override bool HasTarget ( )
inlineprivate
32 {
33 return false;
34 }

◆ IsFullBody()

override bool IsFullBody ( PlayerBase player)
inlineprivate
27 {
28 return true;
29 }

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