Dayz Explorer
1.29.162510
Loading...
Searching...
No Matches
actionattachontentproxy.c
Go to the documentation of this file.
1
class
ActionAttachOnTentProxy: ActionAttachOnProxy
2
{
3
void
ActionAttachOnTentProxy() {};
4
5
override
void
CreateConditionComponents
()
6
{
7
m_ConditionItem =
new
CCINonRuined
;
8
m_ConditionTarget =
new
CCTCursorParent
;
9
m_CommandUID
=
DayZPlayerConstants
.CMD_ACTIONMOD_ATTACHITEM;
10
m_StanceMask
=
DayZPlayerConstants
.STANCEMASK_ERECT |
DayZPlayerConstants
.STANCEMASK_CROUCH;
11
}
12
13
override
bool
ActionCondition(
PlayerBase
player, ActionTarget target,
ItemBase
item )
14
{
15
TentBase
tent =
TentBase
.Cast(target.GetParent());
16
if
( !tent )
17
return
false
;
18
19
return
super.ActionCondition(player,target,item);
20
}
21
}
CreateConditionComponents
override void CreateConditionComponents()
Definition
actionactivatetrap.c:30
m_CommandUID
int m_CommandUID
Definition
actionbase.c:31
m_StanceMask
int m_StanceMask
Definition
actionbase.c:33
CCINonRuined
Definition
ccinonruined.c:2
CCTCursorParent
Definition
cctcursorparent.c:2
ItemBase
Definition
inventoryitem.c:742
PlayerBase
Definition
playerbaseclient.c:2
TentBase
Definition
cartent.c:2
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition
dayzplayer.c:602
Daten
4_world
classes
useractionscomponent
actions
singleuse
actionattachontentproxy.c
Generated by
1.16.1