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

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

void ActionRepairShelter ()
 
override void CreateConditionComponents ()
 
override bool IsUsingProxies ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void OnFinishProgressServer (ActionData action_data)
 

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

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

◆ ActionRepairShelter()

void ActionRepairShelter ( )
inlineprivate
5 {
8
9 m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_INTERACT;
10 m_FullBody = true;
11 m_StanceMask = DayZPlayerConstants.STANCEMASK_ERECT | DayZPlayerConstants.STANCEMASK_CROUCH;
12 }
int m_StanceMask
Definition ActionBase.c:33
bool m_FullBody
Definition ActionBase.c:61
float m_SpecialtyWeight
Definition ActionBase.c:77
Definition ActionRepairTent.c:12
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 и m_StanceMask.

Методы

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate
26 {
27 ShelterBase shelter = ShelterBase.Cast( target.GetObject() );
28 if ( !shelter )
29 return false;
30
31 if ( player && shelter )
32 {
35 if (module_repairing.CanRepair(item,shelter))
36 {
37 return true;
38 }
39 }
40
41 return false;
42 }
PluginBase GetPlugin(typename plugin_type)
Definition PluginManager.c:316
Super root of all classes in Enforce script.
Definition EnScript.c:11
Definition Shelter.c:101
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

Перекрестные ссылки Class::CastTo() и GetPlugin().

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate
15 {
18 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:64
ref CCTBase m_ConditionTarget
Definition ActionBase.c:65
Definition CCINonRuined.c:2
Definition CCTCursor.c:2
Definition ActionConstants.c:106
const float SMALL
Definition ActionConstants.c:107

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

◆ IsUsingProxies()

override bool IsUsingProxies ( )
inlineprivate
21 {
22 return false;
23 }

◆ OnFinishProgressServer()

override void OnFinishProgressServer ( ActionData action_data)
inlineprivate
45 {
46 ShelterBase shelter = ShelterBase.Cast( action_data.m_Target.GetObject() );
47
48 if ( shelter )
49 {
53 }
54 }

Перекрестные ссылки Class::CastTo(), GetPlugin() и ActionBase::m_SpecialtyWeight.


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