DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
LeatherBelt_ColorBase.c
См. документацию.
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}
23class LeatherBelt_Beige extends LeatherBelt_ColorBase {};
24class LeatherBelt_Natural extends LeatherBelt_ColorBase {};
25class LeatherBelt_Brown extends LeatherBelt_ColorBase {};
26class LeatherBelt_Black extends LeatherBelt_ColorBase {};
override bool IsEmpty()
Определения FireplaceBase.c:2465
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
Определения LeatherBelt_ColorBase.c:13
override bool CanPutInCargo(EntityAI parent)
Определения LeatherBelt_ColorBase.c:3
Определения LeatherBelt_ColorBase.c:2
Определения Building.c:6