Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
leatherbelt_colorbase.c
Go to the documentation of this file.
1
class
LeatherBelt_ColorBase
extends
Belt_Base
2
{
3
override
bool
CanPutInCargo
(
EntityAI
parent )
4
{
5
if
( !super.CanPutInCargo( parent ) )
6
{
7
return
false
;
8
}
9
10
return
IsEmpty
();
11
}
12
13
override
bool
CanReceiveAttachment
(
EntityAI
attachment,
int
slotId )
14
{
15
if
( !super.CanReceiveAttachment( attachment, slotId ) )
16
{
17
return
false
;
18
}
19
20
return
!GetInventory().IsInCargo();
21
}
22
}
23
class
LeatherBelt_Beige
extends
LeatherBelt_ColorBase
{};
24
class
LeatherBelt_Natural
extends
LeatherBelt_ColorBase
{};
25
class
LeatherBelt_Brown
extends
LeatherBelt_ColorBase
{};
26
class
LeatherBelt_Black
extends
LeatherBelt_ColorBase
{};
Belt_Base
Definition:
leatherbelt_colorbase.c:1
IsEmpty
override bool IsEmpty()
Definition:
fireplacebase.c:2454
LeatherBelt_ColorBase
Definition:
leatherbelt_colorbase.c:24
CanPutInCargo
override bool CanPutInCargo(EntityAI parent)
Definition:
explosivesbase.c:247
CanReceiveAttachment
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
Definition:
basebuildingbase.c:895
EntityAI
Definition:
building.c:5
DAYZ
scripts_v1.24.157551
scripts
world
entities
itembase
clothing
leatherbelt_colorbase.c
Generated by
1.8.17