Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
darkmotohelmet_colorbase.c
Go to the documentation of this file.
2 {
3  override array<int> GetEffectWidgetTypes()
4  {
5  return {EffectWidgetsTypes.MOTO_OCCLUDER/*,EffectWidgetsTypes.MOTO_BREATH*/};
6  }
7 
8  override bool IsObstructingVoice()
9  {
10  return true;
11  }
12 
13  override int GetVoiceEffect()
14  {
15  return VoiceEffectObstruction;
16  }
17 
18  override int GetGlassesEffectID()
19  {
20  return PPERequesterBank.REQ_MOTOHELMETBLACK;
21  }
22 
23  override protected set<int> GetAttachmentExclusionInitSlotValue(int slotId)
24  {
25  set<int> ret = super.GetAttachmentExclusionInitSlotValue(slotId);
26  if (slotId == InventorySlots.HEADGEAR)
27  {
28  ret.Insert(EAttExclusions.EXCLUSION_HEADGEAR_HELMET_0);
29 
30  ret.Insert(EAttExclusions.EXCLUSION_MASK_0);
31  ret.Insert(EAttExclusions.EXCLUSION_MASK_1);
32  ret.Insert(EAttExclusions.EXCLUSION_MASK_2);
33  ret.Insert(EAttExclusions.EXCLUSION_HEADSTRAP_0);
34 
35  ret.Insert(EAttExclusions.SHAVING_HEADGEAR_ATT_0);
36  }
37  return ret;
38  }
39 }
40 
41 class DarkMotoHelmet_Black extends DarkMotoHelmet_ColorBase {};
42 class DarkMotoHelmet_Grey extends DarkMotoHelmet_ColorBase {};
43 class DarkMotoHelmet_Green extends DarkMotoHelmet_ColorBase {};
44 class DarkMotoHelmet_Lime extends DarkMotoHelmet_ColorBase {};
45 class DarkMotoHelmet_Blue extends DarkMotoHelmet_ColorBase {};
46 class DarkMotoHelmet_Red extends DarkMotoHelmet_ColorBase {};
47 class DarkMotoHelmet_White extends DarkMotoHelmet_ColorBase {};
48 class DarkMotoHelmet_Yellow extends DarkMotoHelmet_ColorBase {};
49 class DarkMotoHelmet_YellowScarred extends DarkMotoHelmet_ColorBase {};
InventorySlots
provides access to slot configuration
Definition: inventoryslots.c:5
array
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
Definition: isboxcollidinggeometryproxyclasses.c:27
HelmetBase
Definition: greathelm.c:1
DarkMotoHelmet_ColorBase
Definition: darkmotohelmet_colorbase.c:42