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

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

void ActionCollectBloodTarget ()
 
override void CreateConditionComponents ()
 
override void OnEndServer (ActionData action_data)
 
- Закрытые члены унаследованные от 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)
 

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

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

◆ ActionCollectBloodTarget()

void ActionCollectBloodTarget ( )
inlineprivate
12 {
14 m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_SALINEBLOODBAGTARGET;
15 m_FullBody = true;
16 m_StanceMask = DayZPlayerConstants.STANCEMASK_ERECT | DayZPlayerConstants.STANCEMASK_CROUCH;
18 m_Text = "#collect_persons_blood";
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 ActionCollectBloodTarget.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.

Методы

◆ CreateConditionComponents()

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

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

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)
inlineprivate
28 {
29 super.OnEndServer(action_data);
30
31 PlayerBase ntarget = PlayerBase.Cast( action_data.m_Target.GetObject() );
32
33 if ( !ntarget )
34 return;
35
37 Class.CastTo( nacdata, action_data.m_ActionComponent.GetACData() );
38 float delta = 0;
39 if ( nacdata )
41
42 if ( delta > 0 )
43 {
45 action_data.m_Player.ServerReplaceItemInHandsWithNew(lambda);
46 }
47 //action_data.m_Player.GetItemInHands().SetQuantity();
48 }
Definition ActionCollectBloodTarget.c:52
Super root of all classes in Enforce script.
Definition EnScript.c:11
Definition PlayerBaseClient.c:2
Definition ActionConstants.c:28
const float COLLECT_BLOOD
Definition ActionConstants.c:47
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

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


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