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

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

override bool CanPutInCargo (EntityAI parent)
 
override bool CanReceiveItemIntoCargo (EntityAI item)
 
override bool CanLoadItemIntoCargo (EntityAI item)
 
- Закрытые члены унаследованные от Container_Base
override void DeferredInit ()
 
override void EEDelete (EntityAI parent)
 
override bool IsContainer ()
 
override bool IsTakeable ()
 
override bool CanSwapEntities (EntityAI otherItem, InventoryLocation otherDestination, InventoryLocation destination)
 
override bool CanPutInCargo (EntityAI parent)
 
override bool DisableVicinityIcon ()
 
override bool CanDisplayCargo ()
 
void EmtpyInventory ()
 
void FillInventory ()
 
void GiftBox_Base ()
 
override bool CanReceiveItemIntoCargo (EntityAI item)
 
override void Open ()
 
override void Close ()
 
override bool IsOpen ()
 
override void SetActions ()
 
override void OnDebugSpawn ()
 
override void EEHealthLevelChanged (int oldLevel, int newLevel, string zone)
 

Дополнительные унаследованные члены

- Закрытые данные унаследованные от Container_Base
AnniversaryBoxLight m_Light
 
vector m_HalfExtents
 
ref OpenableBehaviour m_Openable
 

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

Методы

◆ CanLoadItemIntoCargo()

override bool CanLoadItemIntoCargo ( EntityAI item)
inlineprivate
58 {
59 if (!super.CanLoadItemIntoCargo(item))
60 return false;
61
62 return !item.GetInventory().GetCargo() || (item.GetInventory().GetCargo().GetItemCount() == 0 || item.IsContainer());
63 }
Definition EntityAI.c:95

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI parent)
inlineprivate
31 {
32 if (!super.CanPutInCargo(parent))
33 return false;
34
35 if (parent && parent.IsKindOf("AmmoBox"))
36 return false;
37
38 if (parent && parent.IsKindOf("PlateCarrierPouches"))
39 return false;
40
41 return true;
42 }

◆ CanReceiveItemIntoCargo()

override bool CanReceiveItemIntoCargo ( EntityAI item)
inlineprivate
45 {
46 if (!super.CanReceiveItemIntoCargo(item))
47 return false;
48
49 if (GetInventory().IsAttachment())
50 {
51 return !GetHierarchyParent().GetInventory().IsInCargo() && (!item.GetInventory().GetCargo() || (item.GetInventory().GetCargo().GetItemCount() == 0 || item.IsContainer()));
52 }
53
54 return !item.GetInventory().GetCargo() || (item.GetInventory().GetCargo().GetItemCount() == 0 || item.IsContainer());
55 }

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