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

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

void Pot ()
 
void ~Pot ()
 
override bool IsContainer ()
 
override string GetPouringSoundset ()
 
override string GetEmptyingLoopSoundsetHard ()
 
override string GetEmptyingLoopSoundsetSoft ()
 
override string GetEmptyingLoopSoundsetWater ()
 
override string GetEmptyingEndSoundsetHard ()
 
override string GetEmptyingEndSoundsetSoft ()
 
override string GetEmptyingEndSoundsetWater ()
 
override bool CanPutInCargo (EntityAI parent)
 
override bool CanReceiveItemIntoCargo (EntityAI item)
 
override bool CanLoadItemIntoCargo (EntityAI item)
 
override bool IsOpen ()
 
override bool CanHaveWetness ()
 
override float GetQuantityNormalizedScripted ()
 
override void SetActions ()
 

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

Конструктор(ы)

◆ Pot()

void Pot ( )
private

◆ ~Pot()

void ~Pot ( )
private

Методы

◆ CanHaveWetness()

override bool CanHaveWetness ( )
inlineprivate
117 {
118 return true;
119 }

◆ CanLoadItemIntoCargo()

override bool CanLoadItemIntoCargo ( EntityAI item)
inlineprivate
89 {
90 if ( !super.CanLoadItemIntoCargo( item ) )
91 return false;
92
94 return false;
95
96 //can 'this' be attached to the item (->assumed smaller size than item)?
97 int slotId;
98 for (int i = 0; i < GetInventory().GetSlotIdCount(); i++)
99 {
100 slotId = GetInventory().GetSlotId(i);
101 if (item.GetInventory().HasAttachmentSlot(slotId))
102 {
103 //Print("CanLoadItemIntoCargo | item " + item + " matches in slot name: " + InventorySlots.GetSlotName(slotId) + " of " + this);
104 return false;
105 }
106 }
107
108 return true;
109 }
bool IsCargoException4x3(EntityAI item)
Definition ItemBase.c:9426
Definition EntityAI.c:95

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

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI parent)
inlineprivate
47 {
48 if ( !super.CanPutInCargo( parent ) )
49 return false;
50
51 if ( parent && IsCargoException4x3( parent ) )
52 return false;
53
54 //is 'parent' somewhere in cargo?
55 if (parent && !parent.GetInventory().AreChildrenAccessible())
56 return false;
57
58 return true;
59 }

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

◆ CanReceiveItemIntoCargo()

override bool CanReceiveItemIntoCargo ( EntityAI item)
inlineprivate
62 {
63 if ( !super.CanReceiveItemIntoCargo( item ) )
64 return false;
65
67 return false;
68
69 //is 'this' somewhere in cargo?
70 if (!GetInventory().AreChildrenAccessible())
71 return false;
72
73 //can 'this' be attached to the item (->assumed smaller size than item)?
74 int slotId;
75 for (int i = 0; i < GetInventory().GetSlotIdCount(); i++)
76 {
77 slotId = GetInventory().GetSlotId(i);
78 if (item.GetInventory().HasAttachmentSlot(slotId))
79 {
80 //Print("CanReceiveItemIntoCargo | item " + item + " matches in slot name: " + InventorySlots.GetSlotName(slotId) + " of " + this);
81 return false;
82 }
83 }
84
85 return true;
86 }

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

◆ GetEmptyingEndSoundsetHard()

override string GetEmptyingEndSoundsetHard ( )
inlineprivate
32 {
33 return "pour_End_HardGround_Pot_SoundSet";
34 }

◆ GetEmptyingEndSoundsetSoft()

override string GetEmptyingEndSoundsetSoft ( )
inlineprivate
37 {
38 return "pour_End_SoftGround_Pot_SoundSet";
39 }

◆ GetEmptyingEndSoundsetWater()

override string GetEmptyingEndSoundsetWater ( )
inlineprivate
42 {
43 return "pour_End_Water_Pot_SoundSet";
44 }

◆ GetEmptyingLoopSoundsetHard()

override string GetEmptyingLoopSoundsetHard ( )
inlineprivate
17 {
18 return "pour_HardGround_Pot_SoundSet";
19 }

◆ GetEmptyingLoopSoundsetSoft()

override string GetEmptyingLoopSoundsetSoft ( )
inlineprivate
22 {
23 return "pour_SoftGround_Pot_SoundSet";
24 }

◆ GetEmptyingLoopSoundsetWater()

override string GetEmptyingLoopSoundsetWater ( )
inlineprivate
27 {
28 return "pour_Water_Pot_SoundSet";
29 }

◆ GetPouringSoundset()

override string GetPouringSoundset ( )
inlineprivate
12 {
13 return "emptyVessle_Pot_SoundSet";
14 }

◆ GetQuantityNormalizedScripted()

override float GetQuantityNormalizedScripted ( )
inlineprivate
122 {
123 return 1.0;
124 }

◆ IsContainer()

override bool IsContainer ( )
inlineprivate
7 {
8 return true;
9 }

◆ IsOpen()

override bool IsOpen ( )
inlineprivate
112 {
113 return true;
114 }

◆ SetActions()

override void SetActions ( )
inlineprivate
127 {
128 super.SetActions();
129
132
135 }
void AddAction(typename actionName)
Definition AdvancedCommunication.c:220
void RemoveAction(typename actionName)
Definition AdvancedCommunication.c:252
Definition ActionDrinkCookingPot.c:2
Definition ActionDrink.c:10
Definition ActionEmptyBottleBase.c:24
Definition ActionEmptyCookingPot.c:2

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


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