DayZ
1.28
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
ActionFoldMap.c
См. документацию.
1
2
//dummy action. Unfold 'looped action' canceled from elswhere
3
class
ActionFoldMap
:
ActionBase
4
{
5
void
ActionFoldMap
()
6
{
7
m_Text
=
"#fold_map"
;
8
}
9
10
override
bool
IsInstant
()
11
{
12
return
true
;
13
}
14
15
override
void
CreateConditionComponents
()
16
{
17
m_ConditionItem
=
new
CCINonRuined
;
18
m_ConditionTarget
=
new
CCTNone
;
19
}
20
21
override
bool
HasTarget
()
22
{
23
return
false
;
24
}
25
26
override
bool
ActionCondition
(
PlayerBase
player,
ActionTarget
target,
ItemBase
item )
27
{
28
if
(player.m_hac && player.IsMapOpen())
29
{
30
return
true
;
31
}
32
return
false
;
33
}
34
35
override
int
GetActionCategory
()
36
{
37
return
AC_SINGLE_USE
;
38
}
39
40
override
bool
CanBePerformedWhileChangingStance
()
41
{
42
return
false
;
43
}
44
};
AC_SINGLE_USE
const int AC_SINGLE_USE
Определения
4_World/Classes/UserActionsComponent/_constants.c:2
ActionTarget
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
Определения
ActionTargets.c:121
ActionBase::ActionBase
void ActionBase()
Определения
ActionBase.c:82
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
ActionFoldMap::CanBePerformedWhileChangingStance
override bool CanBePerformedWhileChangingStance()
Определения
ActionFoldMap.c:40
ActionFoldMap::HasTarget
override bool HasTarget()
Определения
ActionFoldMap.c:21
ActionFoldMap::GetActionCategory
override int GetActionCategory()
Определения
ActionFoldMap.c:35
ActionFoldMap::CreateConditionComponents
override void CreateConditionComponents()
Определения
ActionFoldMap.c:15
ActionFoldMap::IsInstant
override bool IsInstant()
Определения
ActionFoldMap.c:10
ActionFoldMap::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Определения
ActionFoldMap.c:26
ActionFoldMap::ActionFoldMap
void ActionFoldMap()
Определения
ActionFoldMap.c:5
CCINonRuined
Определения
CCINonRuined.c:2
CCTNone
Определения
CCTNone.c:2
ItemBase
Определения
4_World/Entities/Core/Inherited/InventoryItem.c:731
PlayerBase
Определения
PlayerBaseClient.c:2
Ishodniki
scripts
4_World
Classes
UserActionsComponent
Actions
SingleUse
ActionFoldMap.c
Создано системой
1.13.2