Dayz Explorer
1.28.160049
Loading...
Searching...
No Matches
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:2
EntityAI
Definition
building.c:6
LeatherBelt_ColorBase
Definition
leatherbelt_colorbase.c:24
CanPutInCargo
override bool CanPutInCargo(EntityAI parent)
Definition
explosivesbase.c:277
IsEmpty
override bool IsEmpty()
Definition
fireplacebase.c:2472
CanReceiveAttachment
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
Definition
itembase.c:8990
Daten
4_world
entities
itembase
clothing
leatherbelt_colorbase.c
Generated by
1.12.0