Dayz 1.25
Dayz Code Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс Belt_Base
+ Граф наследования:Belt_Base:

Закрытые члены

override bool CanPutInCargo (EntityAI parent)
 
override bool CanReceiveAttachment (EntityAI attachment, int slotId)
 
- Закрытые члены унаследованные от Clothing
void InitGlobalExclusionValues ()
 
void CheckParent ()
 
override void OnWorkStart ()
 
override void OnWorkStop ()
 
override void OnWork (float consumed_energy)
 
void OnLightCreated ()
 
void CreateHeadtorchLight ()
 
void AttachLightOnHead (EntityAI person)
 
override void OnWasAttached (EntityAI parent, int slot_id)
 
override void OnWasDetached (EntityAI parent, int slot_id)
 
override void SetActions ()
 
override bool IsLightSource ()
 
override ItemBase GetLightSourceItem ()
 
override void OnInvisibleSet (bool invisible)
 

Подробное описание

Методы

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI parent)
inlineprivate
4 {
5 if( !super.CanPutInCargo( parent ) )
6 {
7 return false;
8 }
9
10 return IsEmpty();
11 }
override bool IsEmpty()
Definition FireplaceBase.c:2454
Definition EntityAI.c:95

Перекрестные ссылки IsEmpty().

◆ CanReceiveAttachment()

override bool CanReceiveAttachment ( EntityAI attachment,
int slotId )
inlineprivate
14 {
15 if( !super.CanReceiveAttachment( attachment, slotId ) )
16 {
17 return false;
18 }
19
20 return !GetInventory().IsInCargo();
21 }

Объявления и описания членов класса находятся в файле: