DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
LeatherBelt_ColorBase.c
См. документацию.
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
{};
IsEmpty
override bool IsEmpty()
Определения
FireplaceBase.c:2465
Belt_Base::CanReceiveAttachment
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
Определения
LeatherBelt_ColorBase.c:13
Belt_Base::CanPutInCargo
override bool CanPutInCargo(EntityAI parent)
Определения
LeatherBelt_ColorBase.c:3
Belt_Base
Определения
LeatherBelt_ColorBase.c:2
EntityAI
Определения
Building.c:6
LeatherBelt_ColorBase
Определения
LeatherBelt_ColorBase.c:24
Ishodniki
scripts
4_World
Entities
ItemBase
Clothing
LeatherBelt_ColorBase.c
Создано системой
1.13.2