DayZ
1.24
Loading...
Searching...
No Matches
WeldingMask.c
Go to the documentation of this file.
1
class
WeldingMask
extends
HelmetBase
2
{
3
override
array<int>
GetEffectWidgetTypes
()
4
{
5
return
{
EffectWidgetsTypes
.HELMET_OCCLUDER
/*,EffectWidgetsTypes.HELMET_BREATH*/
};
6
}
7
8
override
int
GetGlassesEffectID
()
9
{
10
return
PPERequesterBank
.REQ_GLASSESWELDING;
11
}
12
13
override
protected
set<int>
GetAttachmentExclusionInitSlotValue
(
int
slotId
)
14
{
15
set<int>
ret
=
super
.GetAttachmentExclusionInitSlotValue(
slotId
);
16
if
(
slotId
==
InventorySlots
.HEADGEAR)
17
{
18
ret
.Insert(
EAttExclusions
.EXCLUSION_HEADGEAR_HELMET_0);
19
20
ret
.Insert(
EAttExclusions
.EXCLUSION_MASK_0);
21
ret
.Insert(
EAttExclusions
.EXCLUSION_MASK_1);
22
ret
.Insert(
EAttExclusions
.EXCLUSION_MASK_2);
23
ret
.Insert(
EAttExclusions
.EXCLUSION_HEADSTRAP_0);
24
25
ret
.Insert(
EAttExclusions
.SHAVING_HEADGEAR_ATT_0);
26
}
27
return
ret
;
28
}
29
}
HelmetBase
Definition
GreatHelm.c:2
HelmetBase::GetGlassesEffectID
override int GetGlassesEffectID()
Definition
WeldingMask.c:8
HelmetBase::GetAttachmentExclusionInitSlotValue
set< int > GetAttachmentExclusionInitSlotValue(int slotId)
Definition
WeldingMask.c:13
HelmetBase::GetEffectWidgetTypes
override array< int > GetEffectWidgetTypes()
Definition
WeldingMask.c:3
InventorySlots
provides access to slot configuration
Definition
InventorySlots.c:6
Param3
Definition
EntityAI.c:95
scripts
4_World
Entities
ItemBase
Clothing
WeldingMask.c
Generated by
1.10.0