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

◆ AddToConstructedParts()

void AddToConstructedParts ( string part_name)
protected

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

141 {
142 ConstructionPart part = GetConstructionPart(part_name);
143 if (part)
144 {
145 if (LogManager.IsBaseBuildingLogEnable()) bsbDebugPrint("[bsb] Construction " + Object.GetDebugName(m_EntityParent) + " AddToConstructedParts part=" + part.GetPartName());
146 part.SetBuiltState(true);
148 if (m_BuiltConstructionPartArray.Find(part) == -1)
149 m_BuiltConstructionPartArray.Insert(part);
150
151 #ifndef SERVER
152 if (m_EntityParent.IsInitialized())
154 #endif
155 }
156 }
ConstructionPart GetConstructionPart()
Определения ActionPartInfo.c:235
class BaseBuildingBase extends ItemBase bsbDebugPrint(string s)
Определения BaseBuildingBase.c:1291
ref array< ConstructionPart > m_BuiltConstructionPartArray
Определения ConstructionBase.c:44
EntityAI m_EntityParent
Определения ConstructionBase.c:45
void TryHandleUtilityParts(EntityAI parent)
string GetPartName()
Определения ConstructionPart.c:198
void SetBuiltState(bool is_built)
Определения ConstructionPart.c:389
void PlayConstructionEffects(EntityAI parent)
Instanced construction part data classes for dynamic data, statics now stored on EntityType level in ...
Определения ConstructionPart.c:4
static bool IsBaseBuildingLogEnable()
Определения 3_Game/DayZ/tools/Debug.c:809
Определения ObjectTyped.c:2

Перекрестные ссылки bsbDebugPrint(), GetConstructionPart(), ConstructionPart::GetPartName(), LogManager::IsBaseBuildingLogEnable(), m_BuiltConstructionPartArray, m_EntityParent, ConstructionPart::PlayConstructionEffects(), ConstructionPart::SetBuiltState() и ConstructionPart::TryHandleUtilityParts().