DayZ
1.24
Loading...
Searching...
No Matches
SurrenderDummyItem.c
Go to the documentation of this file.
1
class
SurrenderDummyItem
extends
DummyItem
2
{
3
protected
PlayerBase
m_player
;
4
5
void
~SurrenderDummyItem
()
6
{
7
}
8
9
override
void
OnItemLocationChanged
(
EntityAI
old_owner
,
EntityAI
new_owner
)
10
{
11
super
.OnItemLocationChanged(
old_owner
,
new_owner
);
12
13
if
(
old_owner
)
14
DeleteSafe();
15
}
16
}
DummyItem
Definition
Magnum.c:393
DummyItem::~SurrenderDummyItem
void ~SurrenderDummyItem()
Definition
SurrenderDummyItem.c:5
DummyItem::m_player
PlayerBase m_player
Definition
SurrenderDummyItem.c:3
DummyItem::OnItemLocationChanged
override void OnItemLocationChanged(EntityAI old_owner, EntityAI new_owner)
Definition
SurrenderDummyItem.c:9
EntityAI
Definition
Building.c:6
Param3
Definition
EntityAI.c:95
PlayerBase
Definition
PlayerBaseClient.c:2
scripts
4_World
Entities
ItemBase
SurrenderDummyItem.c
Generated by
1.10.0