gas mask base
Подробнее...
◆ AllowFoodConsumption()
17 {
18 return false;
19 }
◆ CanDetachAttachment()
◆ CanHaveExternalFilter()
bool CanHaveExternalFilter |
( |
| ) |
|
|
inlineprivate |
99 {
101 }
bool HasIntegratedFilter()
Definition MaskBase.c:93
◆ ConsumeQuantity()
104 {
107
109 {
111 }
113 {
115 }
117 {
120 return true;
121 }
122
123 return false;
124 }
override float GetQuantity()
Definition ItemBase.c:8129
override bool HasQuantity()
Definition ItemBase.c:8124
Definition InventoryItem.c:731
bool HasValidFilter()
has either external or integrated non-empty non-ruined filter ?
Definition MaskBase.c:32
void OnQuantityConsumed(notnull ItemBase filter, PlayerBase consumer_player)
Definition MaskBase.c:126
Перекрестные ссылки GetQuantity() и HasQuantity().
◆ EEItemLocationChanged()
26 {
28
29 if (
GetGame().IsDedicatedServer())
30 {
37
39 {
42 {
45 DeleteSafe();
46 }
47 }
48 }
49 }
const int ECE_PLACE_ON_SURFACE
Definition CentralEconomy.c:37
const int RF_DEFAULT
Definition CentralEconomy.c:65
InventoryLocationType
types of Inventory Location
Definition InventoryLocation.c:4
Super root of all classes in Enforce script.
Definition EnScript.c:11
Definition PlayerBaseClient.c:2
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Перекрестные ссылки Class::CastTo(), ECE_PLACE_ON_SURFACE, GetGame() и RF_DEFAULT.
◆ GetAttachmentExclusionInitSlotValue() [1/2]
set< int > GetAttachmentExclusionInitSlotValue |
( |
int | slotId | ) |
|
|
inlineprotected |
◆ GetAttachmentExclusionInitSlotValue() [2/2]
set< int > GetAttachmentExclusionInitSlotValue |
( |
int | slotId | ) |
|
|
inlineprotected |
180 {
183 {
185 }
187 }
provides access to slot configuration
Definition InventorySlots.c:6
◆ GetEffectWidgetTypes()
◆ GetExternalFilter()
27 {
28 return FindAttachmentBySlotName("GasMaskFilter");
29 }
◆ GetFilterQuantity()
float GetFilterQuantity |
( |
| ) |
|
|
inlineprivate |
56 {
59 return filter.GetQuantity();
60 else
62 }
EntityAI GetExternalFilter()
Definition MaskBase.c:26
Перекрестные ссылки GetQuantity().
◆ GetFilterQuantity01()
float GetFilterQuantity01 |
( |
| ) |
|
|
inlineprivate |
65 {
67 {
68 return 0;
69 }
70
73
75 {
78 }
79 else
80 {
83 }
84
86 }
float quantityMax
Definition CfgPlayerSpawnDataJson.c:209
override int GetQuantityMax()
Definition ItemBase.c:8081
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
Перекрестные ссылки GetQuantity(), GetQuantityMax(), Math::InverseLerp() и quantityMax.
◆ GetFilterQuantityMax()
float GetFilterQuantityMax |
( |
| ) |
|
|
inlineprivate |
◆ GetIncomingLambdaBool()
bool GetIncomingLambdaBool |
( |
| ) |
|
|
inlineprivate |
◆ GetVoiceEffect()
◆ HasIntegratedFilter()
bool HasIntegratedFilter |
( |
| ) |
|
|
inlineprivate |
◆ HasValidFilter()
has either external or integrated non-empty non-ruined filter ?
33 {
36 return true;
38 return true;
39
40 return false;
41 }
Перекрестные ссылки GetQuantity().
◆ InitGlobalExclusionValues() [1/4]
void InitGlobalExclusionValues |
( |
| ) |
|
|
inlineprotected |
4 {
5 super.InitGlobalExclusionValues();
6
10
11 AddSingleExclusionValueGlobal(
EAttExclusions.EXCLUSION_HEADGEAR_HELMET_0);
12 }
◆ InitGlobalExclusionValues() [2/4]
void InitGlobalExclusionValues |
( |
| ) |
|
|
inlineprotected |
4 {
5 super.InitGlobalExclusionValues();
6
8
9 AddSingleExclusionValueGlobal(
EAttExclusions.EXCLUSION_GLASSES_TIGHT_0);
10 AddSingleExclusionValueGlobal(
EAttExclusions.EXCLUSION_GLASSES_REGULAR_0);
11 }
◆ InitGlobalExclusionValues() [3/4]
void InitGlobalExclusionValues |
( |
| ) |
|
|
inlineprotected |
135 {
136 super.InitGlobalExclusionValues();
137
139
140 AddSingleExclusionValueGlobal(
EAttExclusions.EXCLUSION_GLASSES_TIGHT_0);
141 AddSingleExclusionValueGlobal(
EAttExclusions.EXCLUSION_HEADGEAR_HELMET_0);
142 }
◆ InitGlobalExclusionValues() [4/4]
void InitGlobalExclusionValues |
( |
| ) |
|
|
inlineprotected |
10 {
11 super.InitGlobalExclusionValues();
12
14 }
◆ IsExternalFilterAttached()
bool IsExternalFilterAttached |
( |
| ) |
|
|
inlineprivate |
89 {
90 return ItemBase.Cast(FindAttachmentBySlotName(
"GasMaskFilter")) !=
null;
91 }
◆ IsGasMask()
◆ IsObstructingVoice()
16 {
17 return true;
18 }
◆ MouthRag()
◆ OnDebugSpawn()
22 {
23 GetInventory().CreateInInventory("GasMask_Filter");
24 }
◆ OnQuantityConsumed() [1/2]
◆ OnQuantityConsumed() [2/2]
◆ OnWasAttached()
52 {
54
55 if (parent.IsPlayer())
56 {
58 }
59 }
◆ SetActions() [1/5]
4 {
7 }
void AddAction(typename actionName)
Definition AdvancedCommunication.c:220
Definition ActionWringClothes.c:13
Перекрестные ссылки AddAction().
◆ SetActions() [2/5]
◆ SetActions() [3/5]
◆ SetActions() [4/5]
◆ SetActions() [5/5]
◆ SetIncomingLambaBool()
◆ m_IncomingLambdaChange
bool m_IncomingLambdaChange |
|
private |
◆ m_LowFilterEventTime
float m_LowFilterEventTime |
|
private |
Объявления и описания членов классов находятся в файлах: