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

◆ Init()

void ConstructionMaterialData::Init ( string cfgPath)
inlineprotected

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

19 {
20 m_MaterialLockable = false;
21 m_MaterialSlotID = InventorySlots.INVALID;
23 m_MaterialType = "";
25
26 g_Game.ConfigGetText(cfgPath + " type", m_MaterialType);
27 g_Game.ConfigGetText(cfgPath + " slot_name", m_MaterialSlotName);
28 m_MaterialSlotID = InventorySlots.GetSlotIdFromString(m_MaterialSlotName);
29 m_MaterialQuantity = g_Game.ConfigGetFloat(cfgPath + " quantity");
30 m_MaterialLockable = g_Game.ConfigGetInt(cfgPath + " lockable");
31 m_SkipOnRepair = g_Game.ConfigGetInt(cfgPath + " skipOnRepair");
32 m_SkipOnDismantle = g_Game.ConfigGetInt(cfgPath + " skipOnDismantle");
33 }
DayZGame g_Game
Определения DayZGame.c:4074
float m_MaterialQuantity
Определения ConstructionMaterials.c:8
string m_MaterialType
Определения ConstructionMaterials.c:9
bool m_MaterialLockable
Определения ConstructionMaterials.c:4
string m_MaterialSlotName
Определения ConstructionMaterials.c:10

Перекрестные ссылки g_Game, InventorySlots::GetSlotIdFromString(), InventorySlots::INVALID, m_MaterialLockable, m_MaterialQuantity, m_MaterialSlotID, m_MaterialSlotName, m_MaterialType, m_SkipOnDismantle и m_SkipOnRepair.