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

◆ Chemlight_ColorBase()

void Chemlight_ColorBase::Chemlight_ColorBase ( )
inlineprivate

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

47 {
48 //materials
49 array<string> config_materials = GetHiddenSelectionsMaterials();
50
51 if (config_materials.Count() == 2)
52 {
53 m_DefaultMaterial = config_materials[0];
54 m_GlowMaterial = config_materials[1];
55 }
56 else
57 {
58 string error = "Error! Item " + GetType() + " must have 2 entries in config array hiddenSelectionsMaterials[]. One for the default state, the other one for the glowing state. Currently it has " + config_materials.Count() + ".";
59 Error(error);
60 }
61
63 RegisterNetSyncVariableInt("m_Efficiency0To10");
64 }
eBleedingSourceType GetType()
Определения BleedingSource.c:63
int m_Efficiency0To10
Определения ChemLight.c:8
string m_DefaultMaterial
Определения ChemLight.c:3
string m_GlowMaterial
Определения ChemLight.c:4
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

Перекрестные ссылки Error(), GetType(), m_DefaultMaterial, m_Efficiency0To10 и m_GlowMaterial.