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

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

void ActionPlaceFireplaceIntoBarrel ()
 
override void CreateConditionComponents ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void OnExecuteServer (ActionData action_data)
 

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

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

◆ ActionPlaceFireplaceIntoBarrel()

4 {
5 m_CommandUID = DayZPlayerConstants.CMD_ACTIONMOD_OPENDOORFW;
6 m_StanceMask = DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT;
8 m_Text = "#place_object";
9 }
string m_Text
Definition ActionBase.c:58
float m_SpecialtyWeight
Definition ActionBase.c:77
int m_StanceMask
Definition ActionBase.c:62
int m_CommandUID
Definition AnimatedActionBase.c:143
Definition EntityAI.c:95
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602

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

Методы

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate
18 {
19 Object target_object = target.GetObject();
20
22 {
24
25 if ( fireplace_barrel.IsOpen() && fireplace_barrel.GetInventory().AttachmentCount() == 0 && fireplace_barrel.IsCargoEmpty() )
26 {
27 return true;
28 }
29 }
30
31 return false;
32 }
Definition BarrelHoles_Blue.c:2
Definition ObjectTyped.c:2

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate
12 {
15 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:64
ref CCTBase m_ConditionTarget
Definition ActionBase.c:65
Definition CCINonRuined.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.

◆ OnExecuteServer()

override void OnExecuteServer ( ActionData action_data)
inlineprivate
35 {
40 action_data.m_Player.ServerReplaceItemInHandsWithNewElsewhere(lambda);
41 }
void MoveEquipToExistingItemAndDestroyOldRootLambda(EntityAI old_item, string new_item_type, PlayerBase player, EntityAI new_item)
Definition MiscGameplayFunctions.c:168
void ClearInventoryReservationEx(ActionData action_data)
Definition ActionBase.c:921
Definition BarrelHoles_ColorBase.c:2

Перекрестные ссылки ActionBase::ClearInventoryReservationEx() и MoveEquipToExistingItemAndDestroyOldRootLambda().


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