См. определение в файле ChemLight.c строка 46
47 {
48
49 array<string> config_materials = GetHiddenSelectionsMaterials();
50
51 if (config_materials.Count() == 2)
52 {
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() +
".";
60 }
61
63 RegisterNetSyncVariableInt("m_Efficiency0To10");
64 }
eBleedingSourceType GetType()
void Error(string err)
Messagebox with error message.
Перекрестные ссылки Error(), GetType(), m_DefaultMaterial, m_Efficiency0To10 и m_GlowMaterial.