DayZ
1.28
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
ActionPlaceOnGround.c
См. документацию.
1
class
ActionPlaceOnGroundCB
:
ActionContinuousBaseCB
2
{
3
override
void
CreateActionComponent
()
4
{
5
m_ActionData
.m_ActionComponent =
new
CAContinuousTime
(
UATimeSpent
.
DEFAULT_PLACE
);
6
}
7
};
8
10
class
ActionPlaceOnGround
:
ActionContinuousBase
11
{
12
void
ActionPlaceOnGround
()
13
{
14
m_CallbackClass
=
ActionPlaceOnGroundCB
;
15
m_Text
=
"#place_object"
;
16
}
17
18
override
void
CreateConditionComponents
()
19
{
20
m_ConditionTarget
=
new
CCTNone
;
21
m_ConditionItem
=
new
CCIDummy
;
22
}
23
24
override
bool
ActionCondition
(
PlayerBase
player,
ActionTarget
target,
ItemBase
item )
25
{
26
if
( player && player.IsAlive() && !item.IsDamageDestroyed() )
//&& IsConscious && IsNotCaptured
27
{
28
return
true
;
29
}
30
else
31
{
32
return
false
;
33
}
34
}
35
36
override
void
OnFinishProgressServer
(
ActionData
action_data )
37
{
38
action_data.m_Player.DropItem(action_data.m_MainItem);
39
}
40
};
ActionData
ActionBase ActionData
Определения
ActionBase.c:30
ActionTarget
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
Определения
ActionTargets.c:121
ActionBase::m_Text
string m_Text
Определения
ActionBase.c:58
ActionBase::m_ConditionItem
ref CCIBase m_ConditionItem
Определения
ActionBase.c:64
ActionBase::m_ConditionTarget
ref CCTBase m_ConditionTarget
Определения
ActionBase.c:65
ActionBaseCB::m_ActionData
ActionData m_ActionData
Определения
AnimatedActionBase.c:3
ActionContinuousBase::ActionContinuousBase
void ActionContinuousBase()
Определения
ActionContinuousBase.c:124
ActionContinuousBaseCB
Определения
ActionContinuousBase.c:2
ActionPlaceOnGround::ActionPlaceOnGround
void ActionPlaceOnGround()
Определения
ActionPlaceOnGround.c:12
ActionPlaceOnGround::CreateConditionComponents
override void CreateConditionComponents()
Определения
ActionPlaceOnGround.c:18
ActionPlaceOnGround::OnFinishProgressServer
override void OnFinishProgressServer(ActionData action_data)
Определения
ActionPlaceOnGround.c:36
ActionPlaceOnGround::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Определения
ActionPlaceOnGround.c:24
ActionPlaceOnGroundCB::CreateActionComponent
override void CreateActionComponent()
Определения
ActionPlaceOnGround.c:3
ActionPlaceOnGroundCB
Определения
ActionPlaceOnGround.c:2
AnimatedActionBase::m_CallbackClass
m_CallbackClass
Определения
AnimatedActionBase.c:145
CAContinuousTime
Определения
CAContinuousTime.c:2
CCIDummy
Определения
CCIDummy.c:2
CCTNone
Определения
CCTNone.c:2
ItemBase
Определения
4_World/Entities/Core/Inherited/InventoryItem.c:731
PlayerBase
Определения
PlayerBaseClient.c:2
UATimeSpent::DEFAULT_PLACE
const float DEFAULT_PLACE
Определения
ActionConstants.c:37
UATimeSpent
Определения
ActionConstants.c:28
Ishodniki
scripts
4_World
Classes
UserActionsComponent
Actions
Continuous
ActionPlaceOnGround.c
Создано системой
1.13.2