DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetWetnessMap()

map< int, float > ActionWashHeadWettingClothesBase::GetWetnessMap ( bool fromContainer)
inlineprivate

См. определение в файле ActionWashHeadWettingClothesBase.c строка 6

7 {
8 if (fromContainer)
9 {
11 {
12 s_WetnessContainer = new map<int, float>;
13 s_WetnessContainer.Insert(InventorySlots.HEADGEAR, 0.24);
14 s_WetnessContainer.Insert(InventorySlots.MASK, 0.24);
15 s_WetnessContainer.Insert(InventorySlots.BODY, 0.12);
16 s_WetnessContainer.Insert(InventorySlots.VEST, 0.08);
17 s_WetnessContainer.Insert(InventorySlots.GLOVES, 0.04);
18 s_WetnessContainer.Insert(InventorySlots.LEGS, 0.06);
19 s_WetnessContainer.Insert(InventorySlots.FEET, 0.04);
20 s_WetnessContainer.Insert(InventorySlots.ARMBAND, 0.06);
21 s_WetnessContainer.Insert(InventorySlots.HIPS, 0.06);
22 s_WetnessContainer.Insert(InventorySlots.BACK, 0.04);
23 }
24 return s_WetnessContainer;
25 }
26 else
27 {
29 {
30 s_WetnessSurface = new map<int, float>;
31 s_WetnessSurface.Insert(InventorySlots.HEADGEAR, 0.12);
32 s_WetnessSurface.Insert(InventorySlots.MASK, 0.24);
33 s_WetnessSurface.Insert(InventorySlots.BODY, 0.12);
34 s_WetnessSurface.Insert(InventorySlots.VEST, 0.08);
35 s_WetnessSurface.Insert(InventorySlots.GLOVES, 0.24);
36 s_WetnessSurface.Insert(InventorySlots.LEGS, 0.06);
37 s_WetnessSurface.Insert(InventorySlots.FEET, 0.04);
38 s_WetnessSurface.Insert(InventorySlots.ARMBAND, 0.06);
39 s_WetnessSurface.Insert(InventorySlots.HIPS, 0.06);
40 s_WetnessSurface.Insert(InventorySlots.BACK, 0.04);
41 }
42 return s_WetnessSurface;
43 }
44 }
static ref map< int, float > s_WetnessSurface
static ref map< int, float > s_WetnessContainer

Перекрестные ссылки s_WetnessContainer и s_WetnessSurface.

Используется в ApplyWetnessToClothes().