Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
norsehelm.c
Go to the documentation of this file.
1 class NorseHelm extends HelmetBase
2 {
3  override array<int> GetEffectWidgetTypes()
4  {
5  return { EffectWidgetsTypes.HELMET2_OCCLUDER };
6  }
7 
8  override protected set<int> GetAttachmentExclusionInitSlotValue(int slotId)
9  {
10  set<int> ret = super.GetAttachmentExclusionInitSlotValue(slotId);
11  if (slotId == InventorySlots.HEADGEAR)
12  {
13  ret.Insert(EAttExclusions.EXCLUSION_HEADGEAR_HELMET_0);
14 
15  ret.Insert(EAttExclusions.EXCLUSION_MASK_0);
16  ret.Insert(EAttExclusions.EXCLUSION_MASK_1);
17  ret.Insert(EAttExclusions.EXCLUSION_MASK_2);
18  ret.Insert(EAttExclusions.EXCLUSION_MASK_3);
19  ret.Insert(EAttExclusions.EXCLUSION_HEADSTRAP_0);
20 
21  ret.Insert(EAttExclusions.SHAVING_HEADGEAR_ATT_0);
22  }
23  return ret;
24  }
25 };
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