DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
RopeBelt.c
См. документацию.
1
class
RopeBelt
:
Belt_Base
2
{
3
override
void
SetActions
()
4
{
5
super.SetActions();
6
7
AddAction
(
ActionDeCraftRopeBelt
);
8
}
9
10
override
bool
CanPutInCargo
(
EntityAI
parent )
11
{
12
if
( !super.CanPutInCargo( parent ) )
13
{
14
return
false
;
15
}
16
17
return
IsEmpty
();
18
}
19
20
override
bool
CanReceiveAttachment
(
EntityAI
attachment,
int
slotId )
21
{
22
if
( !super.CanReceiveAttachment( attachment, slotId ) )
23
{
24
return
false
;
25
}
26
27
return
!GetInventory().IsInCargo();
28
}
29
};
ActionDeCraftRopeBelt
ActionDeCraftRopeBeltCB ActionContinuousBaseCB ActionDeCraftRopeBelt()
Определения
ActionDeCraftRopeBelt.c:14
AddAction
void AddAction(typename actionName)
Определения
AdvancedCommunication.c:220
IsEmpty
override bool IsEmpty()
Определения
FireplaceBase.c:2465
Belt_Base
Определения
LeatherBelt_ColorBase.c:2
EntityAI
Определения
Building.c:6
RopeBelt::CanPutInCargo
override bool CanPutInCargo(EntityAI parent)
Определения
RopeBelt.c:10
RopeBelt::SetActions
override void SetActions()
Определения
RopeBelt.c:3
RopeBelt::CanReceiveAttachment
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
Определения
RopeBelt.c:20
RopeBelt
Определения
RopeBelt.c:2
Ishodniki
scripts
4_World
Entities
ItemBase
Clothing
RopeBelt.c
Создано системой
1.13.2